public class PermissionSyncRootFactory extends AbstractSyncRootFolderItemFactory
FileSystemItemFactory for a
synchronization root FolderItem.| Constructor and Description |
|---|
PermissionSyncRootFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleParameters(Map<String,String> parameters)
No parameters by default.
|
boolean |
isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
Checks if the given
DocumentModel is adaptable as a
FileSystemItem. |
getFileSystemItem, getFileSystemItemcanHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getName, isFileSystemItem, isFileSystemItem, setNamepublic void handleParameters(Map<String,String> parameters) throws ClientException
AbstractSyncRootFolderItemFactoryhandleParameters in interface FileSystemItemFactoryhandleParameters in class AbstractSyncRootFolderItemFactoryClientExceptionpublic boolean isFileSystemItem(DocumentModel doc, boolean includeDeleted, boolean relaxSyncRootConstraint) throws ClientException
DocumentModel is adaptable as a
FileSystemItem.
The permission synchronization root factory considers that a
DocumentModel is adaptable as a FileSystemItem if:
includeDeleted is truerelaxSyncRootConstraint is true#getRequiredPermission()
permission on the documentisFileSystemItem in interface FileSystemItemFactoryisFileSystemItem in class AbstractSyncRootFolderItemFactoryClientExceptionCopyright © 2014 Nuxeo SA. All rights reserved.