Class PermissionTopLevelFactory
java.lang.Object
org.nuxeo.drive.service.impl.AbstractVirtualFolderItemFactory
org.nuxeo.drive.hierarchy.permission.factory.PermissionTopLevelFactory
- All Implemented Interfaces:
FileSystemItemFactory,TopLevelFolderItemFactory,VirtualFolderItemFactory
public class PermissionTopLevelFactory
extends AbstractVirtualFolderItemFactory
implements TopLevelFolderItemFactory
User workspace and permission based implementation of the
TopLevelFolderItemFactory.- Author:
- Antoine Taillefer
-
Field Summary
FieldsFields inherited from class org.nuxeo.drive.service.impl.AbstractVirtualFolderItemFactory
DEFAULT_FOLDER_NAME, FOLDER_NAME_PARAM, folderName, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTopLevelFolderItem(NuxeoPrincipal principal) getVirtualFolderItem(NuxeoPrincipal principal) Returns the (unique) virtualFolderItem.voidhandleParameters(Map<String, String> parameters) Handles the factory parameters contributed through thefileSystemItemFactorycontribution.Methods inherited from class org.nuxeo.drive.service.impl.AbstractVirtualFolderItemFactory
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getFolderName, getName, isFileSystemItem, isFileSystemItem, isFileSystemItem, setFolderName, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.drive.service.FileSystemItemFactory
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, isFileSystemItem, isFileSystemItem, isFileSystemItem, setNameMethods inherited from interface org.nuxeo.drive.service.VirtualFolderItemFactory
getFolderName, setFolderName
-
Field Details
-
CHILDREN_FACTORIES_PARAM
- See Also:
-
childrenFactoryNames
-
-
Constructor Details
-
PermissionTopLevelFactory
public PermissionTopLevelFactory()
-
-
Method Details
-
handleParameters
Description copied from interface:FileSystemItemFactoryHandles the factory parameters contributed through thefileSystemItemFactorycontribution.- Specified by:
handleParametersin interfaceFileSystemItemFactory- Overrides:
handleParametersin classAbstractVirtualFolderItemFactory
-
getVirtualFolderItem
Description copied from interface:VirtualFolderItemFactoryReturns the (unique) virtualFolderItem.- Specified by:
getVirtualFolderItemin interfaceVirtualFolderItemFactory
-
getTopLevelFolderItem
- Specified by:
getTopLevelFolderItemin interfaceTopLevelFolderItemFactory
-