Package ch.tocco.nice2.dms.impl.tree.ui
Class PersonalFolderTreeViewProvider
java.lang.Object
ch.tocco.nice2.dms.spi.tree.ui.AbstractContentTreeViewProvider
ch.tocco.nice2.dms.impl.tree.ui.AbstractDmsTreeViewProvider
ch.tocco.nice2.dms.impl.tree.ui.FolderTreeViewProvider
ch.tocco.nice2.dms.impl.tree.ui.PersonalFolderTreeViewProvider
- All Implemented Interfaces:
EntityTreeViewProvider
Sets the folder of current user as root folder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.netui.api.tree.entity.EntityTreeViewProvider
EntityTreeViewProvider.EntityTreeViewProviderDescriptor, EntityTreeViewProvider.Icon, EntityTreeViewProvider.NotInTreeException
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EntityDocumentsService
protected final PrincipalService
protected final TextResources
Fields inherited from class ch.tocco.nice2.dms.spi.tree.ui.AbstractContentTreeViewProvider
contentTreeContext, contentTreeService, context, entityTreeNodeFactory, permissionEvaluatorService, queryBuilderFactory
-
Constructor Summary
ConstructorDescriptionPersonalFolderTreeViewProvider
(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, PrincipalService principalService, EntityDocumentsService entityDocumentsService, TextResources textResources, org.slf4j.Logger log, ContentTreeNodePermissionEvaluatorService permissionEvaluatorService) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<PrimaryKey> getFolderPrimaryKeys
(TreeContext treeContext) getRootChildren
(TreeContext treeContext) Methods inherited from class ch.tocco.nice2.dms.impl.tree.ui.FolderTreeViewProvider
getRootChildrenQuery
Methods inherited from class ch.tocco.nice2.dms.impl.tree.ui.AbstractDmsTreeViewProvider
getCreateRelationMap, getIconMap, getTreeConfig, setDocumentMimeTypes, setNodeIcons
Methods inherited from class ch.tocco.nice2.dms.spi.tree.ui.AbstractContentTreeViewProvider
getChildren, getPath, getRoot, getSearchResult, getTreeNode, moveAbove, moveBelow, moveInto
-
Field Details
-
principalService
-
entityDocumentsService
-
textResources
-
-
Constructor Details
-
PersonalFolderTreeViewProvider
public PersonalFolderTreeViewProvider(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, PrincipalService principalService, EntityDocumentsService entityDocumentsService, TextResources textResources, org.slf4j.Logger log, ContentTreeNodePermissionEvaluatorService permissionEvaluatorService)
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptor
in interfaceEntityTreeViewProvider
- Overrides:
getDescriptor
in classFolderTreeViewProvider
-
getRootChildren
- Specified by:
getRootChildren
in interfaceEntityTreeViewProvider
- Overrides:
getRootChildren
in classFolderTreeViewProvider
- Returns:
- a list of
EntityTreeNode
representing the children for the root tree node - Throws:
TreeModelException
-
getFolderPrimaryKeys
- Overrides:
getFolderPrimaryKeys
in classFolderTreeViewProvider
-