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 Summary
Constructors Constructor Description FileCopyRequest()
Constructor used by JAXB
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getFile()
String
getNewFilename()
Get the new filename for the copied file being created.Integer
getNodeId()
Get the node ID the file should be copied to.TargetFolder
getTargetFolder()
Get the target folder the file should be copied to.void
setFile(File file)
void
setNewFilename(String newFilename)
Set the new filename for the copied file being created.void
setNodeId(Integer nodeId)
void
setTargetFolder(TargetFolder targetFolder)
-
-
-
Method Detail
-
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)
-
-