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
public class PermissionTopLevelFolderItem extends AbstractVirtualFolderItem
User workspace and permission based implementation of the top levelFolderItem.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
Fields Modifier and Type Field Description protected List<String>childrenFactoryNames- 
Fields inherited from class org.nuxeo.drive.adapter.impl.AbstractVirtualFolderItem
canCreateChild, canScrollDescendants 
- 
Fields 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
Constructors Modifier Constructor Description protectedPermissionTopLevelFolderItem()PermissionTopLevelFolderItem(String factoryName, NuxeoPrincipal principal, String folderName, List<String> childrenFactoryNames) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<FileSystemItem>getChildren()inthashCode()- 
Methods inherited from class org.nuxeo.drive.adapter.impl.AbstractVirtualFolderItem
canMove, createFile, createFolder, delete, getCanCreateChild, getCanScrollDescendants, move, rename, scrollDescendants, setCanCreateChild, setCanScrollDescendants 
- 
Methods 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, toString 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface java.lang.Comparable
compareTo 
- 
Methods inherited from interface org.nuxeo.drive.adapter.FileSystemItem
getCanDelete, getCanRename, getCreationDate, getCreator, getId, getLastContributor, getLastModificationDate, getLockInfo, getName, getParentId, getPath, isFolder 
- 
Methods inherited from interface org.nuxeo.drive.adapter.FolderItem
createFile, createFolder 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
PermissionTopLevelFolderItem
public PermissionTopLevelFolderItem(String factoryName, NuxeoPrincipal principal, String folderName, List<String> childrenFactoryNames)
 
- 
PermissionTopLevelFolderItem
protected PermissionTopLevelFolderItem()
 
 - 
 
- 
Method Detail
- 
getChildren
public List<FileSystemItem> getChildren()
 
- 
equals
public boolean equals(Object obj)
- Overrides:
 equalsin classAbstractVirtualFolderItem
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classAbstractVirtualFolderItem
 
 - 
 
 -