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, setName
public void handleParameters(Map<String,String> parameters) throws ClientException
handleParameters
in interface FileSystemItemFactory
handleParameters
in class AbstractFileSystemItemFactory
ClientException
public boolean isFileSystemItem(DocumentModel doc, boolean includeDeleted) throws ClientException
DocumentModel
is adaptable as a
FileSystemItem
if:
includeDeleted
is trueisFileSystemItem
in interface FileSystemItemFactory
isFileSystemItem
in class AbstractFileSystemItemFactory
ClientException
public FileSystemItem getFileSystemItem(DocumentModel doc, boolean includeDeleted) throws ClientException
#getParentId(String)
.getFileSystemItem
in interface FileSystemItemFactory
getFileSystemItem
in class AbstractFileSystemItemFactory
FileSystemItem
or null if the DocumentModel
is not adaptable as a FileSystemItem
ClientException
#isFileSystemItem(DocumentModel, boolean))
Copyright © 2013 Nuxeo SA. All Rights Reserved.