Class ObjectMoveRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.ObjectMoveRequest
Direct Known Subclasses:
MultiObjectMoveRequest

public class ObjectMoveRequest extends Object
Request object for moving a single object
  • Constructor Details

    • ObjectMoveRequest

      public ObjectMoveRequest()
      Create empty instance
  • Method Details

    • getFolderId

      public int getFolderId()
      Target folder ID
      Returns:
      target folder ID
    • setFolderId

      public void setFolderId(int folderId)
      Set the target folder ID
      Parameters:
      folderId - target folder ID
    • getNodeId

      public Integer getNodeId()
      Target node ID for moving into a channel (may be null)
      Returns:
      target node ID
    • setNodeId

      public void setNodeId(Integer nodeId)
      Set the target node ID
      Parameters:
      nodeId - target node ID
    • isAllLanguages

      public Boolean isAllLanguages()
      True if all languages shall be moved (for pages), false if only the given pages. Default is true
      Returns:
      true for all languages
    • setAllLanguages

      public void setAllLanguages(Boolean allLanguages)
      Set whether all languages of pages shall be moved
      Parameters:
      allLanguages - true for all languages