Class EntityTreeViewModelImpl
java.lang.Object
ch.tocco.nice2.netui.impl.tree.entity.EntityTreeViewModelImpl
- All Implemented Interfaces:
EntityTreeViewModel,TreeModel
-
Constructor Summary
Constructors -
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 TreeNodegetRoot(@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) voidsetEntityTreeViewProviders(List<EntityTreeViewProvider> entityTreeViewProviders)
-
Constructor Details
-
EntityTreeViewModelImpl
-
-
Method Details
-
getType
-
getChildren
public List<TreeNode> getChildren(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getChildrenin interfaceTreeModel- Throws:
TreeModelException
-
getRoot
@Nullable public @Nullable TreeNode getRoot(@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getRootin interfaceEntityTreeViewModel- Throws:
TreeModelException
-
getTreeConfig
public Map<String,Object> getTreeConfig(@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getTreeConfigin interfaceEntityTreeViewModel- Throws:
TreeModelException
-
getIconMap
public Map<String,EntityTreeViewProvider.Icon> getIconMap(@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getIconMapin interfaceEntityTreeViewModel- Throws:
TreeModelException
-
getCreateRelationMap
public Map<String,Map<String, getCreateRelationMapString>> (@Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getCreateRelationMapin interfaceEntityTreeViewModel- Throws:
TreeModelException
-
getSearchResult
public List<String> getSearchResult(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getSearchResultin interfaceEntityTreeViewModel- Throws:
TreeModelException
-
getTreeNode
public TreeNode getTreeNode(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getTreeNodein interfaceEntityTreeViewModel- Throws:
TreeModelException
-
getPath
public List<String> getPath(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getPathin interfaceTreeModel- Throws:
TreeModelException
-
move
public MoveResult move(String movedNodeKey, String targetNodeKey, String point, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
movein interfaceTreeModel- Throws:
TreeModelException
-
setEntityTreeViewProviders
@Autowired public void setEntityTreeViewProviders(List<EntityTreeViewProvider> entityTreeViewProviders)
-