Class PermissionTopLevelFolderItem
java.lang.Object
org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
org.nuxeo.drive.adapter.impl.AbstractVirtualFolderItem
org.nuxeo.drive.hierarchy.permission.adapter.PermissionTopLevelFolderItem
- All Implemented Interfaces:
Comparable<FileSystemItem>,FileSystemItem,FolderItem
User workspace and permission based implementation of the top level
FolderItem.
Implements the following tree:
Nuxeo Drive |-- My Docs (= user workspace if synchronized else user synchronization roots) | |-- Folder 1 | |-- Folder 2 | |-- ... |-- Other Docs (= user's shared synchronized roots with ReadWrite permission) | |-- Other folder 1 | |-- Other folder 2 | |-- ...
- Author:
- Antoine Taillefer
-
Field Summary
FieldsFields inherited from class org.nuxeo.drive.adapter.impl.AbstractVirtualFolderItem
canCreateChild, canScrollDescendantsFields inherited from class org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
canDelete, canRename, creationDate, creator, factoryName, FILE_SYSTEM_ITEM_ID_SEPARATOR, FILE_SYSTEM_ITEM_PATH_SEPARATOR, folder, id, lastContributor, lastModificationDate, lockInfo, name, parentId, path, principal, userName -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPermissionTopLevelFolderItem(String factoryName, NuxeoPrincipal principal, String folderName, List<String> childrenFactoryNames) -
Method Summary
Methods inherited from class org.nuxeo.drive.adapter.impl.AbstractVirtualFolderItem
canMove, createFile, createFolder, delete, getCanCreateChild, getCanScrollDescendants, move, rename, scrollDescendants, setCanCreateChild, setCanScrollDescendantsMethods inherited from class org.nuxeo.drive.adapter.impl.AbstractFileSystemItem
compareTo, getCanDelete, getCanRename, getCreationDate, getCreator, getFileSystemItemAdapterService, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, getUserName, isFolder, setCanDelete, setCanRename, setCreationDate, setCreator, setFolder, setId, setLastContributor, setLastModificationDate, setLockInfo, setName, setParentId, setPath, setUserName, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.nuxeo.drive.adapter.FileSystemItem
getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, isFolder
-
Field Details
-
childrenFactoryNames
-
-
Constructor Details
-
PermissionTopLevelFolderItem
public PermissionTopLevelFolderItem(String factoryName, NuxeoPrincipal principal, String folderName, List<String> childrenFactoryNames) -
PermissionTopLevelFolderItem
protected PermissionTopLevelFolderItem()
-
-
Method Details
-
getChildren
-
equals
- Overrides:
equalsin classAbstractVirtualFolderItem
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractVirtualFolderItem
-