public interface ExternalFile extends FolderItem, File
| Modifier and Type | Method and Description |
|---|---|
InputStream |
downloadVersion(String version)
Get a previous version
|
String |
getVersion()
Get Current version
|
List<String> |
getVersionHistory()
Get a list of versions
|
void |
removeVersion(String version)
Remove a version
|
void |
restoreVersion(String version)
Restore a version
|
void |
setData(InputStream data)
Set Data
|
getFolderItemType, getLength, getMimeTypecloneItem, deleteACL, getAccounting, getACLOwner, getACLUser, getCapabilities, getChildren, getCreationTime, getDescription, getId, getIdSharedFolder, getLastAction, getLastModificationTime, getLastUpdatedBy, getName, getOwner, getParent, getPath, getProperties, getPublicLink, getReaders, getRemotePath, getStorageID, getType, hasAccessRight, isFolder, isHidden, isMarkedAsRead, isRoot, isShared, isTrashed, markAsRead, move, remove, removeChild, rename, setDescription, setHidden, updateItemgetData, getHardLink, getLength, getMimeType, getName, getPublicLink, getStorageIdvoid setData(InputStream data) throws InternalErrorException
data - an inputstreamInternalErrorExceptionList<String> getVersionHistory() throws InternalErrorException
InternalErrorExceptionvoid restoreVersion(String version) throws InternalErrorException
version - a previous versionInternalErrorExceptionvoid removeVersion(String version) throws InternalErrorException
version - a previous versionInternalErrorExceptionString getVersion() throws InternalErrorException
InternalErrorExceptionInputStream downloadVersion(String version) throws InternalErrorException
InternalErrorExceptionCopyright © 2017. All Rights Reserved.