Class FileSaveRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.FileSaveRequest
Request to save a file
- Author:
- norbert
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTrue if saving the file with a duplicate filename will fail.getFile()
void
setFailOnDuplicate
(Boolean failOnDuplicate) Set whether saving shall fail on duplicate filenamesvoid
-
Constructor Details
-
FileSaveRequest
public FileSaveRequest()Constructor used by JAXB
-
-
Method Details
-
getFile
-
setFile
-
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
Set whether saving shall fail on duplicate filenames- Parameters:
failOnDuplicate
- true to fail on duplicate filenames
-