Class FolderMoveRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.FolderMoveRequest
- Direct Known Subclasses:
MultiFolderMoveRequest
Request object for a request to move a folder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
ID of the target folder (where to move the folder)Number of seconds, this job may stay in foreground.int
ID of the target channel, when moving the folder into a channel.void
setFolderId
(int folderId) Set the ID of the target foldervoid
setForegroundTime
(Integer foregroundTime) Set the foreground timevoid
setNodeId
(int nodeId) Set the target channel ID
-
Constructor Details
-
FolderMoveRequest
public FolderMoveRequest()
-
-
Method Details
-
getFolderId
public int getFolderId()ID of the target folder (where to move the folder)- Returns:
- ID of the target folder
-
setFolderId
public void setFolderId(int folderId) Set the ID of the target folder- Parameters:
folderId
- target folder ID
-
getNodeId
public int getNodeId()ID of the target channel, when moving the folder into a channel. When left empty, the folder is moved into the master node.- Returns:
- target channel ID
-
setNodeId
public void setNodeId(int nodeId) Set the target channel ID- Parameters:
nodeId
- target channel ID
-
getForegroundTime
Number of seconds, this job may stay in foreground. If moving takes longer, the request will return with a response, and moving the folder will be continued in background- Returns:
- foreground time in seconds
-
setForegroundTime
Set the foreground time- Parameters:
foregroundTime
- foreground time in seconds
-