Class NodeCopyRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.NodeCopyRequest
Request to copy a node
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Number of copiesboolean
isFiles()
True to copy filesboolean
isPages()
True to copy pagesboolean
True to copy templatesboolean
True to copy workflowssetCopies
(int copies) Set number of copiessetFiles
(boolean files) Set files flagsetPages
(boolean pages) Set pages flagsetTemplates
(boolean templates) Set templates flagsetWorkflows
(boolean workflows) Set workflows flag
-
Constructor Details
-
NodeCopyRequest
public NodeCopyRequest()
-
-
Method Details
-
isPages
public boolean isPages()True to copy pages- Returns:
- pages flag
-
setPages
Set pages flag- Parameters:
pages
- flag- Returns:
- fluent API
-
isTemplates
public boolean isTemplates()True to copy templates- Returns:
- templates flag
-
setTemplates
Set templates flag- Parameters:
templates
- flag- Returns:
- fluent API
-
isFiles
public boolean isFiles()True to copy files- Returns:
- files flag
-
setFiles
Set files flag- Parameters:
files
- flag- Returns:
- fluent API
-
isWorkflows
public boolean isWorkflows()True to copy workflows- Returns:
- workflows flag
-
setWorkflows
Set workflows flag- Parameters:
workflows
- flag- Returns:
- fluent API
-
getCopies
public int getCopies()Number of copies- Returns:
- number
-
setCopies
Set number of copies- Parameters:
copies
- number- Returns:
- fluent API
-