Class FolderMoveRequest
- java.lang.Object
-
- com.gentics.contentnode.rest.model.request.FolderMoveRequest
-
- Direct Known Subclasses:
MultiFolderMoveRequest
public class FolderMoveRequest extends Object
Request object for a request to move a folder
-
-
Constructor Summary
Constructors Constructor Description FolderMoveRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFolderId()
ID of the target folder (where to move the folder)Integer
getForegroundTime()
Number of seconds, this job may stay in foreground.int
getNodeId()
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
-
-
-
Method Detail
-
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
public Integer 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
public void setForegroundTime(Integer foregroundTime)
Set the foreground time- Parameters:
foregroundTime
- foreground time in seconds
-
-