public class DocumentBackedFileItem extends AbstractDocumentBackedFileSystemItem implements FileItem
DocumentModel backed implementation of a FileItem.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canUpdate |
protected String |
digest |
protected String |
digestAlgorithm |
protected String |
downloadURL |
protected FileSystemItemFactory |
factory |
docId, docPath, docTitle, PERMISSION_CHECK_OPTIMIZED_PROPERTY, repositoryNamecanDelete, canRename, creationDate, creator, factoryName, FILE_SYSTEM_ITEM_ID_SEPARATOR, FILE_SYSTEM_ITEM_PATH_SEPARATOR, folder, id, lastContributor, lastModificationDate, lockInfo, name, parentId, path, principal, userName| Modifier | Constructor and Description |
|---|---|
protected |
DocumentBackedFileItem() |
|
DocumentBackedFileItem(FileSystemItemFactory factory,
DocumentModel doc) |
|
DocumentBackedFileItem(FileSystemItemFactory factory,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
|
DocumentBackedFileItem(FileSystemItemFactory factory,
DocumentModel doc,
boolean relaxSyncRootConstraint,
boolean getLockInfo) |
|
DocumentBackedFileItem(FileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc) |
|
DocumentBackedFileItem(FileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
|
DocumentBackedFileItem(FileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint,
boolean getLockInfo) |
|
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
DocumentModel doc)
Deprecated.
since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at
drive level, the
VersioningFileSystemItemFactory is not used anymore |
|
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
DocumentModel doc,
boolean relaxSyncRootConstraint)
Deprecated.
since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at
drive level, the
VersioningFileSystemItemFactory is not used anymore |
|
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
DocumentModel doc,
boolean relaxSyncRootConstraint,
boolean getLockInfo)
Deprecated.
since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at
drive level, the
VersioningFileSystemItemFactory is not used anymore |
|
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc)
Deprecated.
since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at
drive level, the
VersioningFileSystemItemFactory is not used anymore |
|
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint)
Deprecated.
since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at
drive level, the
VersioningFileSystemItemFactory is not used anymore |
|
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint,
boolean getLockInfo)
Deprecated.
since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at
drive level, the
VersioningFileSystemItemFactory is not used anymore |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Blob |
getBlob() |
protected Blob |
getBlob(BlobHolder blobHolder) |
protected Blob |
getBlob(DocumentModel doc) |
protected BlobHolder |
getBlobHolder(DocumentModel doc) |
boolean |
getCanUpdate() |
String |
getDigest() |
String |
getDigestAlgorithm() |
String |
getDownloadURL() |
protected String |
getFileName(Blob blob,
String docTitle) |
protected NuxeoDriveManager |
getNuxeoDriveManager() |
int |
hashCode() |
protected void |
initialize(FileSystemItemFactory factory,
DocumentModel doc) |
protected void |
initialize(VersioningFileSystemItemFactory factory,
DocumentModel doc)
Deprecated.
since 9.1 versioning policy is now handled at versioning service level, as versioning is removed at
drive level, the
VersioningFileSystemItemFactory is not used anymore |
void |
rename(String name) |
void |
setBlob(Blob blob) |
protected void |
setCanUpdate(boolean canUpdate) |
protected void |
setDigest(String digest) |
protected void |
setDigestAlgorithm(String digestAlgorithm) |
protected void |
setDownloadURL(String downloadURL) |
protected void |
updateDigest(Blob blob) |
protected void |
updateDocTitleIfNeeded(DocumentModel doc,
String name) |
protected void |
updateDownloadURL() |
canMove, computeId, delete, getDocId, getDocPath, getDocument, getDocumentById, getRepositoryName, getTrashService, handleCollectionMember, move, parseFileSystemId, setId, updateLastModificationDatecompareTo, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, getUserName, isFolder, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setLastContributor, setLastModificationDate, setLockInfo, setName, setParentId, setPath, setUserName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanMove, delete, getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, isFolder, movecompareToprotected String downloadURL
protected String digestAlgorithm
protected boolean canUpdate
protected FileSystemItemFactory factory
public DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc)
public DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint)
public DocumentBackedFileItem(FileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
public DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc)
public DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
public DocumentBackedFileItem(FileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
@Deprecated public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc)
VersioningFileSystemItemFactory is not used anymore@Deprecated public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint)
VersioningFileSystemItemFactory is not used anymore@Deprecated public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
VersioningFileSystemItemFactory is not used anymore@Deprecated public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc)
VersioningFileSystemItemFactory is not used anymore@Deprecated public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
VersioningFileSystemItemFactory is not used anymore@Deprecated public DocumentBackedFileItem(VersioningFileSystemItemFactory factory, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
VersioningFileSystemItemFactory is not used anymoreprotected DocumentBackedFileItem()
public void rename(String name)
rename in interface FileSystemItempublic String getDownloadURL()
getDownloadURL in interface FileItempublic String getDigestAlgorithm()
getDigestAlgorithm in interface FileItempublic boolean getCanUpdate()
getCanUpdate in interface FileItempublic boolean equals(Object obj)
equals in class AbstractDocumentBackedFileSystemItempublic int hashCode()
hashCode in class AbstractDocumentBackedFileSystemItem@Deprecated protected final void initialize(VersioningFileSystemItemFactory factory, DocumentModel doc)
VersioningFileSystemItemFactory is not used anymoreprotected final void initialize(FileSystemItemFactory factory, DocumentModel doc)
protected BlobHolder getBlobHolder(DocumentModel doc)
protected Blob getBlob(BlobHolder blobHolder)
protected Blob getBlob(DocumentModel doc)
protected String getFileName(Blob blob, String docTitle)
protected void updateDocTitleIfNeeded(DocumentModel doc, String name)
protected void updateDownloadURL()
protected void updateDigest(Blob blob)
protected NuxeoDriveManager getNuxeoDriveManager()
protected void setDownloadURL(String downloadURL)
protected void setDigestAlgorithm(String digestAlgorithm)
protected void setCanUpdate(boolean canUpdate)
Copyright © 2019 Nuxeo. All rights reserved.