Class FolderSaveRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.FolderSaveRequest
Request object for a request to save a folder
- Author:
- norbert
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTrue if saving the folder with a duplicate name will fail.Number of seconds, the job may run in the foregroundNode ID, when setting the publish directory recursively.True to set the publish directory recursively, false (default) to only change this given folderList of object tags, that shall be passed on to subfolders.void
setFailOnDuplicate
(Boolean failOnDuplicate) Set whether saving shall fail on duplicate namesvoid
void
setForegroundTime
(Integer foregroundTime) Set the foreground timevoid
Set the node IDvoid
setRecursive
(Boolean recursive) Set true to change the publish directory recursivelyvoid
setTagsToSubfolders
(List<String> tagsToSubfolders) Set list of object tags to pass on to subfolders
-
Constructor Details
-
FolderSaveRequest
public FolderSaveRequest()Constructor used by JAXB
-
-
Method Details
-
getFolder
- Returns:
- the folder
-
setFolder
- Parameters:
folder
- the folder to set
-
getNodeId
Node ID, when setting the publish directory recursively.- Returns:
- node ID
-
getTagsToSubfolders
List of object tags, that shall be passed on to subfolders. May contain names (with or without the prefix 'object.') or IDs- Returns:
- list of object tags
-
setNodeId
Set the node ID- Parameters:
nodeId
- node ID
-
getRecursive
True to set the publish directory recursively, false (default) to only change this given folder- Returns:
- true for setting recursively
-
setRecursive
Set true to change the publish directory recursively- Parameters:
recursive
- true to for setting recursively
-
getFailOnDuplicate
True if saving the folder with a duplicate name will fail. If false (default) the name will be made unique before saving- Returns:
- true or false
-
setFailOnDuplicate
Set whether saving shall fail on duplicate names- Parameters:
failOnDuplicate
- true to fail on duplicate names
-
setTagsToSubfolders
Set list of object tags to pass on to subfolders- Parameters:
tagsToSubfolders
- list of object tags
-
getForegroundTime
Number of seconds, the job may run in the foreground- Returns:
- foreground time in seconds
-
setForegroundTime
Set the foreground time- Parameters:
foregroundTime
- foreground time
-