Class EntityTreeViewModelImpl
java.lang.Object
ch.tocco.nice2.netui.impl.tree.entity.EntityTreeViewModelImpl
- All Implemented Interfaces:
EntityTreeViewModel
,TreeModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChildren
(String key, @Nullable TreeContext context) getCreateRelationMap
(@Nullable TreeContext context) getIconMap
(@Nullable TreeContext context) getPath
(String key, @Nullable TreeContext context) @Nullable TreeNode
getRoot
(@Nullable TreeContext context) getSearchResult
(String key, @Nullable TreeContext context) getTreeConfig
(@Nullable TreeContext context) getTreeNode
(String key, @Nullable TreeContext context) getType()
move
(String movedNodeKey, String targetNodeKey, String point, @Nullable TreeContext context) void
setEntityTreeViewProviders
(List<EntityTreeViewProvider> entityTreeViewProviders)
-
Constructor Details
-
EntityTreeViewModelImpl
-
-
Method Details
-
getType
-
getChildren
public List<TreeNode> getChildren(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getChildren
in interfaceTreeModel
- Throws:
TreeModelException
-
getRoot
@Nullable public @Nullable TreeNode getRoot(@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getRoot
in interfaceEntityTreeViewModel
- Throws:
TreeModelException
-
getTreeConfig
public Map<String,Object> getTreeConfig(@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getTreeConfig
in interfaceEntityTreeViewModel
- Throws:
TreeModelException
-
getIconMap
public Map<String,EntityTreeViewProvider.Icon> getIconMap(@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getIconMap
in interfaceEntityTreeViewModel
- Throws:
TreeModelException
-
getCreateRelationMap
public Map<String,Map<String, getCreateRelationMapString>> (@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getCreateRelationMap
in interfaceEntityTreeViewModel
- Throws:
TreeModelException
-
getSearchResult
public List<String> getSearchResult(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getSearchResult
in interfaceEntityTreeViewModel
- Throws:
TreeModelException
-
getTreeNode
public TreeNode getTreeNode(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getTreeNode
in interfaceEntityTreeViewModel
- Throws:
TreeModelException
-
getPath
public List<String> getPath(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getPath
in interfaceTreeModel
- Throws:
TreeModelException
-
move
public MoveResult move(String movedNodeKey, String targetNodeKey, String point, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
move
in interfaceTreeModel
- Throws:
TreeModelException
-
setEntityTreeViewProviders
@Autowired public void setEntityTreeViewProviders(List<EntityTreeViewProvider> entityTreeViewProviders)
-