Class ObjectMoveRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.ObjectMoveRequest
- Direct Known Subclasses:
MultiObjectMoveRequest
Request object for moving a single object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Target folder IDTarget node ID for moving into a channel (may be null)True if all languages shall be moved (for pages), false if only the given pages.void
setAllLanguages
(Boolean allLanguages) Set whether all languages of pages shall be movedvoid
setFolderId
(int folderId) Set the target folder IDvoid
Set the target node ID
-
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
Target node ID for moving into a channel (may be null)- Returns:
- target node ID
-
setNodeId
Set the target node ID- Parameters:
nodeId
- target node ID
-
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
Set whether all languages of pages shall be moved- Parameters:
allLanguages
- true for all languages
-