public abstract class AbstractDocumentBackedFileSystemItem extends AbstractFileSystemItem
DocumentModel backed implementation of a FileSystemItem.DocumentBackedFileItem,
DocumentBackedFolderItem| Modifier and Type | Field and Description |
|---|---|
protected String |
docId |
protected String |
docPath |
protected String |
docTitle |
protected static String |
PERMISSION_CHECK_OPTIMIZED_PROPERTY |
protected String |
repositoryName
Backing
DocumentModel attributes |
canDelete, 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 |
AbstractDocumentBackedFileSystemItem() |
protected |
AbstractDocumentBackedFileSystemItem(String factoryName,
DocumentModel doc) |
protected |
AbstractDocumentBackedFileSystemItem(String factoryName,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
protected |
AbstractDocumentBackedFileSystemItem(String factoryName,
DocumentModel doc,
boolean relaxSyncRootConstraint,
boolean getLockInfo) |
protected |
AbstractDocumentBackedFileSystemItem(String factoryName,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
protected |
AbstractDocumentBackedFileSystemItem(String factoryName,
FolderItem parentItem,
DocumentModel doc,
boolean relaxSyncRootConstraint,
boolean getLockInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMove(FolderItem dest) |
protected String |
computeId(String docId) |
void |
delete() |
boolean |
equals(Object obj) |
protected String |
getDocId() |
protected String |
getDocPath() |
protected DocumentModel |
getDocument(CoreSession session) |
protected DocumentModel |
getDocumentById(String docId,
CoreSession session) |
protected String |
getRepositoryName() |
protected TrashService |
getTrashService() |
protected boolean |
handleCollectionMember(DocumentModel doc,
CoreSession session,
boolean relaxSyncRootConstraint,
boolean getLockInfo) |
int |
hashCode() |
FileSystemItem |
move(FolderItem dest) |
protected String[] |
parseFileSystemId(String id) |
protected void |
setId(String id) |
protected void |
updateLastModificationDate(DocumentModel doc) |
compareTo, 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, waitrenameprotected static final String PERMISSION_CHECK_OPTIMIZED_PROPERTY
protected String repositoryName
DocumentModel attributesprotected AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc)
protected AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint)
protected AbstractDocumentBackedFileSystemItem(String factoryName, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected AbstractDocumentBackedFileSystemItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint)
protected AbstractDocumentBackedFileSystemItem(String factoryName, FolderItem parentItem, DocumentModel doc, boolean relaxSyncRootConstraint, boolean getLockInfo)
protected AbstractDocumentBackedFileSystemItem()
protected boolean handleCollectionMember(DocumentModel doc, CoreSession session, boolean relaxSyncRootConstraint, boolean getLockInfo)
public void delete()
public boolean canMove(FolderItem dest)
public FileSystemItem move(FolderItem dest)
public boolean equals(Object obj)
equals in class AbstractFileSystemItempublic int hashCode()
hashCode in class AbstractFileSystemItemprotected String getRepositoryName()
protected String getDocPath()
protected DocumentModel getDocument(CoreSession session)
protected DocumentModel getDocumentById(String docId, CoreSession session)
protected void updateLastModificationDate(DocumentModel doc)
protected TrashService getTrashService()
protected String[] parseFileSystemId(String id)
protected void setId(String id)
setId in class AbstractFileSystemItemCopyright © 2019 Nuxeo. All rights reserved.