public abstract class AbstractDocumentBackedFileSystemItem extends AbstractFileSystemItem
DocumentModel
backed implementation of a FileSystemItem
.DocumentBackedFileItem
,
DocumentBackedFolderItem
,
Serialized FormModifier 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, 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() |
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) |
FileSystemItem |
move(FolderItem dest) |
protected String[] |
parseFileSystemId(String id) |
protected void |
setId(String id) |
protected void |
updateLastModificationDate(DocumentModel doc) |
compareTo, equals, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, getUserName, hashCode, isFolder, rename, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setLastContributor, setLastModificationDate, setLockInfo, setName, setParentId, setPath, setUserName, toString
protected 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()
delete
in interface FileSystemItem
delete
in class AbstractFileSystemItem
public boolean canMove(FolderItem dest)
canMove
in interface FileSystemItem
canMove
in class AbstractFileSystemItem
public FileSystemItem move(FolderItem dest)
move
in interface FileSystemItem
move
in class AbstractFileSystemItem
protected 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 AbstractFileSystemItem
Copyright © 2018 Nuxeo. All rights reserved.