public class FileCreateRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected int |
folderId |
protected String |
name |
protected int |
nodeId |
protected boolean |
overwriteExisting |
protected String |
sourceURL |
Constructor and Description |
---|
FileCreateRequest()
Create empty instance
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Description of the file
|
int |
getFolderId()
Target folder ID
|
String |
getName()
Name of the file
|
int |
getNodeId()
Target node ID for uploading files in channels
|
String |
getSourceURL()
Source URL of the file
|
boolean |
isOverwriteExisting()
True to overwrite existing files with the same name in the folder
|
void |
setDescription(String description)
Set the file description
|
void |
setFolderId(int folderId)
Set the target folder ID
|
void |
setName(String name)
Set the filename
|
void |
setNodeId(int nodeId)
Set the node ID
|
void |
setOverwriteExisting(boolean overwriteExisting)
Get flag for overwriting existing files
|
void |
setSourceURL(String sourceURL)
Set the source URL
|
protected boolean overwriteExisting
protected int folderId
protected int nodeId
protected String name
protected String description
protected String sourceURL
public boolean isOverwriteExisting()
public void setOverwriteExisting(boolean overwriteExisting)
overwriteExisting
- true to overwritepublic int getFolderId()
public void setFolderId(int folderId)
folderId
- folder IDpublic int getNodeId()
public void setNodeId(int nodeId)
nodeId
- node IDpublic String getName()
public void setName(String name)
name
- filenamepublic String getDescription()
public void setDescription(String description)
description
- file descriptionpublic String getSourceURL()
public void setSourceURL(String sourceURL)
sourceURL
- source URLCopyright © 2019 Gentics Software. All rights reserved.