public abstract class AbstractDocumentBackedFileSystemItem extends AbstractFileSystemItem
DocumentModel backed implementation of a FileSystemItem.DocumentBackedFileItem, 
DocumentBackedFolderItem, 
Serialized Form| 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, 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, toStringprotected 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 FileSystemItemdelete in class AbstractFileSystemItempublic boolean canMove(FolderItem dest)
canMove in interface FileSystemItemcanMove in class AbstractFileSystemItempublic FileSystemItem move(FolderItem dest)
move in interface FileSystemItemmove 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 © 2017 Nuxeo. All rights reserved.