Package org.nuxeo.drive.service.impl
Class DefaultSyncRootFolderItemFactory
- java.lang.Object
-
- org.nuxeo.drive.service.impl.AbstractFileSystemItemFactory
-
- org.nuxeo.drive.service.impl.AbstractSyncRootFolderItemFactory
-
- org.nuxeo.drive.service.impl.DefaultSyncRootFolderItemFactory
-
- All Implemented Interfaces:
FileSystemItemFactory
- Direct Known Subclasses:
CollectionSyncRootFolderItemFactory
,ESSyncRootFolderItemFactory
public class DefaultSyncRootFolderItemFactory extends AbstractSyncRootFolderItemFactory
DefaultFileSystemItemFactory
for a synchronization rootFolderItem
.- Author:
- Antoine Taillefer
-
-
Field Summary
-
Fields inherited from class org.nuxeo.drive.service.impl.AbstractFileSystemItemFactory
name
-
-
Constructor Summary
Constructors Constructor Description DefaultSyncRootFolderItemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FileSystemItem
adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
Adapts the givenDocumentModel
to aFileSystemItem
.protected FolderItem
getParentItem(DocumentModel doc)
Returns the parentFileSystemItem
.-
Methods inherited from class org.nuxeo.drive.service.impl.AbstractSyncRootFolderItemFactory
getFileSystemItem, getFileSystemItem, getFileSystemItem, handleParameters, isFileSystemItem
-
Methods 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
-
-
-
-
Method Detail
-
adaptDocument
protected FileSystemItem adaptDocument(DocumentModel doc, boolean forceParentItem, FolderItem parentItem, boolean relaxSyncRootConstraint, boolean getLockInfo)
Description copied from class:AbstractFileSystemItemFactory
Adapts the givenDocumentModel
to aFileSystemItem
.
-
getParentItem
protected FolderItem getParentItem(DocumentModel doc)
Description copied from class:AbstractSyncRootFolderItemFactory
Returns the parentFileSystemItem
.- Specified by:
getParentItem
in classAbstractSyncRootFolderItemFactory
-
-