Class FileCopyRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.FileCopyRequest
Request to copy a file
- Author:
- johannes2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()
Get the new filename for the copied file being created.Get the node ID the file should be copied to.Get the target folder the file should be copied to.void
void
setNewFilename
(String newFilename) Set the new filename for the copied file being created.void
void
setTargetFolder
(TargetFolder targetFolder)
-
Constructor Details
-
FileCopyRequest
public FileCopyRequest()Constructor used by JAXB
-
-
Method Details
-
getNewFilename
Get the new filename for the copied file being created.- Returns:
-
setNewFilename
Set the new filename for the copied file being created.- Parameters:
newFilename
-
-
getFile
-
setFile
-
getNodeId
Get the node ID the file should be copied to.- Returns:
- node ID
-
setNodeId
-
getTargetFolder
Get the target folder the file should be copied to.- Returns:
- target folder
-
setTargetFolder
-