Class UserWorkspaceSyncRootFactory
java.lang.Object
org.nuxeo.drive.service.impl.AbstractFileSystemItemFactory
org.nuxeo.drive.service.impl.AbstractSyncRootFolderItemFactory
org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootFactory
- All Implemented Interfaces:
FileSystemItemFactory
User workspace based implementation of
FileSystemItemFactory for a synchronization root FolderItem.- Author:
- Antoine Taillefer
-
Field Summary
FieldsFields inherited from class org.nuxeo.drive.service.impl.AbstractFileSystemItemFactory
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileSystemItemadaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo) Adapts the givenDocumentModelto aFileSystemItem.protected FileSystemItemAdapterServiceprotected FolderItemReturns the parentFileSystemItem.voidhandleParameters(Map<String, String> parameters) No parameters by default.Methods inherited from class org.nuxeo.drive.service.impl.AbstractSyncRootFolderItemFactory
getFileSystemItem, getFileSystemItem, getFileSystemItem, isFileSystemItemMethods inherited from class org.nuxeo.drive.service.impl.AbstractFileSystemItemFactory
adaptDocument, canHandleFileSystemItemId, exists, getDocumentById, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, isFileSystemItem, isFileSystemItem, parseFileSystemId, setName
-
Field Details
-
SYNC_ROOT_PARENT_FACTORY_PARAM
- See Also:
-
syncRootParentFactoryName
-
-
Constructor Details
-
UserWorkspaceSyncRootFactory
public UserWorkspaceSyncRootFactory()
-
-
Method Details
-
handleParameters
Description copied from class:AbstractSyncRootFolderItemFactoryNo parameters by default.- Specified by:
handleParametersin interfaceFileSystemItemFactory- Overrides:
handleParametersin classAbstractSyncRootFolderItemFactory
-
adaptDocument
protected FileSystemItem adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo) Description copied from class:AbstractFileSystemItemFactoryAdapts the givenDocumentModelto aFileSystemItem.- Specified by:
adaptDocumentin classAbstractFileSystemItemFactory- See Also:
-
getParentItem
Description copied from class:AbstractSyncRootFolderItemFactoryReturns the parentFileSystemItem.- Specified by:
getParentItemin classAbstractSyncRootFolderItemFactory
-
getFileSystemAdapterService
-