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)
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, isFileSystemItem
adaptDocument, canHandleFileSystemItemId, exists, getDocumentByFileSystemId, getDocumentById, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, isFileSystemItem, isFileSystemItem, parseFileSystemId, setName
protected static final String SYNC_ROOT_PARENT_FACTORY_PARAM
protected String syncRootParentFactoryName
public UserWorkspaceSyncRootFactory()
public void handleParameters(Map<String,String> parameters)
AbstractSyncRootFolderItemFactory
handleParameters
in interface FileSystemItemFactory
handleParameters
in class AbstractSyncRootFolderItemFactory
protected FileSystemItem adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint)
AbstractFileSystemItemFactory
DocumentModel
to a FileSystemItem
.adaptDocument
in class AbstractFileSystemItemFactory
#getFileSystemItem(DocumentModel, boolean, String, boolean)
protected FolderItem getParentItem(DocumentModel doc)
AbstractSyncRootFolderItemFactory
FileSystemItem
.getParentItem
in class AbstractSyncRootFolderItemFactory
protected FileSystemItemAdapterService getFileSystemAdapterService()
Copyright © 2015 Nuxeo SA. All rights reserved.