public class UserWorkspaceSyncRootFactory extends AbstractSyncRootFolderItemFactory
FileSystemItemFactory for a synchronization root FolderItem.| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
SYNC_ROOT_PARENT_FACTORY_PARAM  | 
protected String | 
syncRootParentFactoryName  | 
name| Constructor and Description | 
|---|
UserWorkspaceSyncRootFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected FileSystemItem | 
adaptDocument(DocumentModel doc,
             boolean forceParentItem,
             FolderItem parentItem,
             boolean relaxSyncRootConstraint,
             boolean getLockInfo)
Adapts the given  
DocumentModel to a FileSystemItem. | 
protected FileSystemItemAdapterService | 
getFileSystemAdapterService()  | 
protected FolderItem | 
getParentItem(DocumentModel doc)
Returns the parent  
FileSystemItem. | 
void | 
handleParameters(Map<String,String> parameters)
No parameters by default. 
 | 
getFileSystemItem, getFileSystemItem, getFileSystemItem, isFileSystemItemadaptDocument, canHandleFileSystemItemId, exists, getDocumentById, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, isFileSystemItem, isFileSystemItem, parseFileSystemId, setNameprotected static final String SYNC_ROOT_PARENT_FACTORY_PARAM
protected String syncRootParentFactoryName
public UserWorkspaceSyncRootFactory()
public void handleParameters(Map<String,String> parameters)
AbstractSyncRootFolderItemFactoryhandleParameters in interface FileSystemItemFactoryhandleParameters in class AbstractSyncRootFolderItemFactoryprotected FileSystemItem adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
AbstractFileSystemItemFactoryDocumentModel to a FileSystemItem.protected FolderItem getParentItem(DocumentModel doc)
AbstractSyncRootFolderItemFactoryFileSystemItem.getParentItem in class AbstractSyncRootFolderItemFactoryprotected FileSystemItemAdapterService getFileSystemAdapterService()
Copyright © 2019 Nuxeo. All rights reserved.