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,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
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, move
compareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, getUserName, hashCode, isFolder, toString
canMove, delete, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getName, getParentId, getPath, isFolder, move
compareTo
public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc) throws ClientException
ClientException
public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint) throws ClientException
ClientException
public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc) throws ClientException
ClientException
public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint) throws ClientException
ClientException
public void rename(String name) throws ClientException
rename
in interface FileSystemItem
rename
in class AbstractFileSystemItem
ClientException
public Blob getBlob() throws ClientException
getBlob
in interface FileItem
ClientException
public String getDownloadURL() throws ClientException
getDownloadURL
in interface FileItem
ClientException
public String getDigestAlgorithm()
getDigestAlgorithm
in interface FileItem
public boolean getCanUpdate()
getCanUpdate
in interface FileItem
public void setBlob(Blob blob) throws ClientException
setBlob
in interface FileItem
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.