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
Fields inherited from class org.nuxeo.drive.service.impl.AbstractVirtualFolderItemFactory
DEFAULT_FOLDER_NAME, FOLDER_NAME_PARAM, folderName, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTopLevelFolderItem
(NuxeoPrincipal principal) getVirtualFolderItem
(NuxeoPrincipal principal) Returns the (unique) virtualFolderItem
.void
handleParameters
(Map<String, String> parameters) Handles the factory parameters contributed through thefileSystemItemFactory
contribution.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, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.drive.service.FileSystemItemFactory
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getName, isFileSystemItem, isFileSystemItem, isFileSystemItem, setName
Methods 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:FileSystemItemFactory
Handles the factory parameters contributed through thefileSystemItemFactory
contribution.- Specified by:
handleParameters
in interfaceFileSystemItemFactory
- Overrides:
handleParameters
in classAbstractVirtualFolderItemFactory
-
getVirtualFolderItem
Description copied from interface:VirtualFolderItemFactory
Returns the (unique) virtualFolderItem
.- Specified by:
getVirtualFolderItem
in interfaceVirtualFolderItemFactory
-
getTopLevelFolderItem
- Specified by:
getTopLevelFolderItem
in interfaceTopLevelFolderItemFactory
-