Package ch.tocco.nice2.dms.impl.tree.ui
Class EntityDocTreeViewProvider
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.EntityDocTreeViewProvider
- All Implemented Interfaces:
EntityTreeViewProvider
Does everything DmsTreeViewProvider does and adds an additional node for the current Entity-Document-Folder
if the treeContext is a EntityTreeViewContext that has as well a "parentEntityModel" as a "parentEntityKey".
-
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
ConstructorDescriptionEntityDocTreeViewProvider
(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, CommandExecutor commandExecutor, EntityDocumentsService entityDocumentsService, ContentTreeNodePermissionEvaluatorService permissionEvaluatorService) -
Method Summary
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, getRootChildrenQuery, getSearchResult, getTreeNode, moveAbove, moveBelow, moveInto
-
Constructor Details
-
EntityDocTreeViewProvider
public EntityDocTreeViewProvider(ContentTreeService contentTreeService, Context context, EntityTreeNodeFactory entityTreeNodeFactory, QueryBuilderFactory queryBuilderFactory, CommandExecutor commandExecutor, EntityDocumentsService entityDocumentsService, 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
-