public class FileCreateRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
alternateURLs |
protected String |
description |
protected int |
folderId |
protected String |
name |
protected String |
niceURL |
protected int |
nodeId |
protected boolean |
overwriteExisting |
protected Map<String,String> |
properties |
protected String |
sourceURL |
Constructor and Description |
---|
FileCreateRequest()
Create empty instance
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAlternateURLs()
Alternate URLs of the file
|
String |
getDescription()
Description of the file
|
int |
getFolderId()
Target folder ID
|
String |
getName()
Name of the file
|
String |
getNiceURL()
Nice URL of the file
|
int |
getNodeId()
Target node ID for uploading files in channels
|
Map<String,String> |
getProperties()
The additional properties of the file
|
String |
getSourceURL()
Source URL of the file
|
boolean |
isOverwriteExisting()
True to overwrite existing files with the same name in the folder
|
void |
setAlternateURLs(Set<String> alternateURLs)
Set the alternate URLs.
|
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 |
setNiceURL(String niceURL)
Set the nice URL
|
void |
setNodeId(int nodeId)
Set the node ID
|
void |
setOverwriteExisting(boolean overwriteExisting)
Get flag for overwriting existing files
|
void |
setProperties(Map<String,String> properties)
Set the additional properties
|
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
protected String niceURL
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 URLpublic String getNiceURL()
public void setNiceURL(String niceURL)
niceURL
- nice URLpublic Set<String> getAlternateURLs()
public void setAlternateURLs(Set<String> alternateURLs)
alternateURLs
- alternate URLspublic Map<String,String> getProperties()
Copyright © 2024 Gentics Software. All rights reserved.