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 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

      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