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)
Checks if the given
DocumentModel is adaptable as a
FileSystemItem . |
getFileSystemItem
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getName, isFileSystemItem, setName
public void handleParameters(Map<String,String> parameters) throws ClientException
AbstractSyncRootFolderItemFactory
handleParameters
in interface FileSystemItemFactory
handleParameters
in class AbstractSyncRootFolderItemFactory
ClientException
public boolean isFileSystemItem(DocumentModel doc, boolean includeDeleted) 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 true#getRequiredPermission()
permission on the documentisFileSystemItem
in interface FileSystemItemFactory
isFileSystemItem
in class AbstractSyncRootFolderItemFactory
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.