public class CollectionSyncRootFolderItemFactory extends DefaultSyncRootFolderItemFactory
FileSystemItemFactory
for a collection synchronization root FolderItem
.Modifier and Type | Field and Description |
---|---|
static String |
FACTORY_NAME |
Constructor and Description |
---|
CollectionSyncRootFolderItemFactory() |
Modifier and Type | Method and Description |
---|---|
boolean |
isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
The factory considers that a
DocumentModel is adaptable as a FileSystemItem if:
It is a Collection
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, unless relaxSyncRootConstraint is
true
|
getFileSystemItem, getFileSystemItem, handleParameters
canHandleFileSystemItemId, exists, getDocumentByFileSystemId, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, isFileSystemItem, isFileSystemItem, setName
public static final String FACTORY_NAME
public boolean isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) throws ClientException
DocumentModel
is adaptable as a FileSystemItem
if:
includeDeleted
is truerelaxSyncRootConstraint
is
trueisFileSystemItem
in interface FileSystemItemFactory
isFileSystemItem
in class AbstractSyncRootFolderItemFactory
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.