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, getFileSystemItem
canHandleFileSystemItemId, exists, getDocumentByFileSystemId, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, isFileSystemItem, 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, 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 FileSystemItemFactory
isFileSystemItem
in class AbstractSyncRootFolderItemFactory
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.