public abstract class AbstractSyncRootFolderItemFactory extends AbstractFileSystemItemFactory
FileSystemItemFactory for a synchronization root
FolderItem.| Constructor and Description |
|---|
AbstractSyncRootFolderItemFactory() |
| Modifier and Type | Method and Description |
|---|---|
FileSystemItem |
getFileSystemItem(DocumentModel doc,
boolean includeDeleted)
Force parent id using
#getParentId(String). |
void |
handleParameters(Map<String,String> parameters)
No parameters by default.
|
boolean |
isFileSystemItem(DocumentModel doc,
boolean includeDeleted)
The factory considers that a
DocumentModel is adaptable as a
FileSystemItem if:
It is Folderish
AND it is not a version nor a proxy
AND it is not HiddenInNavigation
AND it is not in the "deleted" life cycle state, unless
includeDeleted is true
AND it is a synchronization root registered for the current user
|
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getName, isFileSystemItem, setNamepublic void handleParameters(Map<String,String> parameters) throws ClientException
handleParameters in interface FileSystemItemFactoryhandleParameters in class AbstractFileSystemItemFactoryClientExceptionpublic boolean isFileSystemItem(DocumentModel doc, boolean includeDeleted) throws ClientException
DocumentModel is adaptable as a
FileSystemItem if:
includeDeleted is trueisFileSystemItem in interface FileSystemItemFactoryisFileSystemItem in class AbstractFileSystemItemFactoryClientExceptionpublic FileSystemItem getFileSystemItem(DocumentModel doc, boolean includeDeleted) throws ClientException
#getParentId(String).getFileSystemItem in interface FileSystemItemFactorygetFileSystemItem in class AbstractFileSystemItemFactoryFileSystemItem or null if the DocumentModel
is not adaptable as a FileSystemItemClientException#isFileSystemItem(DocumentModel, boolean))Copyright © 2014 Nuxeo SA. All Rights Reserved.