Package org.nuxeo.drive.service.impl
Class DefaultTopLevelFolderItemFactory
- java.lang.Object
-
- org.nuxeo.drive.service.impl.AbstractVirtualFolderItemFactory
-
- org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory
-
- All Implemented Interfaces:
FileSystemItemFactory
,TopLevelFolderItemFactory
,VirtualFolderItemFactory
public class DefaultTopLevelFolderItemFactory extends AbstractVirtualFolderItemFactory implements TopLevelFolderItemFactory
Default implementation of aTopLevelFolderItemFactory
.- 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
Constructors Constructor Description DefaultTopLevelFolderItemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FolderItem
getTopLevelFolderItem(NuxeoPrincipal principal)
FolderItem
getVirtualFolderItem(NuxeoPrincipal principal)
Returns the (unique) virtualFolderItem
.-
Methods inherited from class org.nuxeo.drive.service.impl.AbstractVirtualFolderItemFactory
canHandleFileSystemItemId, exists, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItem, getFileSystemItemById, getFileSystemItemById, getFolderName, getName, handleParameters, 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, handleParameters, isFileSystemItem, isFileSystemItem, isFileSystemItem, setName
-
Methods inherited from interface org.nuxeo.drive.service.VirtualFolderItemFactory
getFolderName, setFolderName
-
-
-
-
Method Detail
-
getVirtualFolderItem
public FolderItem getVirtualFolderItem(NuxeoPrincipal principal)
Description copied from interface:VirtualFolderItemFactory
Returns the (unique) virtualFolderItem
.- Specified by:
getVirtualFolderItem
in interfaceVirtualFolderItemFactory
-
getTopLevelFolderItem
public FolderItem getTopLevelFolderItem(NuxeoPrincipal principal)
- Specified by:
getTopLevelFolderItem
in interfaceTopLevelFolderItemFactory
-
-