Class FileCopyRequest

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

public class FileCopyRequest extends Object
Request to copy a file
Author:
johannes2
  • Constructor Details

    • FileCopyRequest

      public FileCopyRequest()
      Constructor used by JAXB
  • Method Details

    • getNewFilename

      public String getNewFilename()
      Get the new filename for the copied file being created.
      Returns:
    • setNewFilename

      public void setNewFilename(String newFilename)
      Set the new filename for the copied file being created.
      Parameters:
      newFilename -
    • getFile

      public File getFile()
    • setFile

      public void setFile(File file)
    • getNodeId

      public Integer getNodeId()
      Get the node ID the file should be copied to.
      Returns:
      node ID
    • setNodeId

      public void setNodeId(Integer nodeId)
    • getTargetFolder

      public TargetFolder getTargetFolder()
      Get the target folder the file should be copied to.
      Returns:
      target folder
    • setTargetFolder

      public void setTargetFolder(TargetFolder targetFolder)