public class DocumentBackedFileItem extends AbstractDocumentBackedFileSystemItem implements FileItem
DocumentModel backed implementation of a FileItem.FILE_SYSTEM_ITEM_ID_SEPARATOR| Constructor and Description |
|---|
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
DocumentModel doc) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob() |
boolean |
getCanUpdate() |
String |
getDigest() |
String |
getDigestAlgorithm() |
String |
getDownloadURL() |
void |
rename(String name) |
void |
setBlob(Blob blob) |
canMove, delete, movecompareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastModificationDate, getName, getParentId, getPath, getUserName, hashCode, isFolder, toStringcanMove, delete, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastModificationDate, getName, getParentId, getPath, isFolder, movecompareTopublic DocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc) throws ClientException
ClientExceptionpublic DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc) throws ClientException
ClientExceptionpublic void rename(String name) throws ClientException
rename in interface FileSystemItemrename in class AbstractFileSystemItemClientExceptionpublic Blob getBlob() throws ClientException
getBlob in interface FileItemClientExceptionpublic String getDownloadURL() throws ClientException
getDownloadURL in interface FileItemClientExceptionpublic String getDigestAlgorithm()
getDigestAlgorithm in interface FileItempublic boolean getCanUpdate()
getCanUpdate in interface FileItempublic void setBlob(Blob blob) throws ClientException
setBlob in interface FileItemClientExceptionCopyright © 2014 Nuxeo SA. All Rights Reserved.