Package ch.tocco.nice2.dms.impl.tree.ui
Class FolderTreeViewProvider
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
- All Implemented Interfaces:
EntityTreeViewProvider
- Direct Known Subclasses:
PersonalFolderTreeViewProvider
Returns all Folders with key in treeContext.getTreeStartNode() (comma separated list).
-
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
Fields inherited from class ch.tocco.nice2.dms.spi.tree.ui.AbstractContentTreeViewProvider
contentTreeContext, contentTreeService, context, entityTreeNodeFactory, permissionEvaluatorService, queryBuilderFactory
-
Constructor Summary
ConstructorDescriptionFolderTreeViewProvider
(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, org.slf4j.Logger log, ContentTreeNodePermissionEvaluatorService permissionEvaluatorService) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<PrimaryKey> getFolderPrimaryKeys
(TreeContext treeContext) getRootChildren
(TreeContext treeContext) protected QueryBuilder
getRootChildrenQuery
(TreeContext treeContext) 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
-
Constructor Details
-
FolderTreeViewProvider
public FolderTreeViewProvider(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, org.slf4j.Logger log, ContentTreeNodePermissionEvaluatorService permissionEvaluatorService)
-
-
Method Details
-
getDescriptor
-
getRootChildren
- Specified by:
getRootChildren
in interfaceEntityTreeViewProvider
- Overrides:
getRootChildren
in classAbstractContentTreeViewProvider
- Returns:
- a list of
EntityTreeNode
representing the children for the root tree node - Throws:
TreeModelException
-
getFolderPrimaryKeys
-
getRootChildrenQuery
- Overrides:
getRootChildrenQuery
in classAbstractContentTreeViewProvider
- Throws:
PersistException
-