Class FileSaveRequest

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

public class FileSaveRequest extends Object
Request to save a file
Author:
norbert
  • Constructor Details

    • FileSaveRequest

      public FileSaveRequest()
      Constructor used by JAXB
  • Method Details

    • getFile

      public File getFile()
    • setFile

      public void setFile(File file)
    • getFailOnDuplicate

      public Boolean getFailOnDuplicate()
      True if saving the file with a duplicate filename will fail. If false (default) the filename will be made unique before saving
      Returns:
      true or false
    • setFailOnDuplicate

      public void setFailOnDuplicate(Boolean failOnDuplicate)
      Set whether saving shall fail on duplicate filenames
      Parameters:
      failOnDuplicate - true to fail on duplicate filenames