Class NodeCopyRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.NodeCopyRequest

public class NodeCopyRequest extends Object
Request to copy a node
  • Constructor Details

    • NodeCopyRequest

      public NodeCopyRequest()
  • Method Details

    • isPages

      public boolean isPages()
      True to copy pages
      Returns:
      pages flag
    • setPages

      public NodeCopyRequest setPages(boolean pages)
      Set pages flag
      Parameters:
      pages - flag
      Returns:
      fluent API
    • isTemplates

      public boolean isTemplates()
      True to copy templates
      Returns:
      templates flag
    • setTemplates

      public NodeCopyRequest setTemplates(boolean templates)
      Set templates flag
      Parameters:
      templates - flag
      Returns:
      fluent API
    • isFiles

      public boolean isFiles()
      True to copy files
      Returns:
      files flag
    • setFiles

      public NodeCopyRequest setFiles(boolean files)
      Set files flag
      Parameters:
      files - flag
      Returns:
      fluent API
    • isWorkflows

      public boolean isWorkflows()
      True to copy workflows
      Returns:
      workflows flag
    • setWorkflows

      public NodeCopyRequest setWorkflows(boolean workflows)
      Set workflows flag
      Parameters:
      workflows - flag
      Returns:
      fluent API
    • getCopies

      public int getCopies()
      Number of copies
      Returns:
      number
    • setCopies

      public NodeCopyRequest setCopies(int copies)
      Set number of copies
      Parameters:
      copies - number
      Returns:
      fluent API