Package ch.tocco.nice2.dms.impl.tree
Class ContentTreeModelImpl
java.lang.Object
ch.tocco.nice2.dms.impl.tree.ContentTreeModelImpl
- All Implemented Interfaces:
ContentTreeModel
,TreeModel
-
Constructor Summary
ConstructorDescriptionContentTreeModelImpl
(ContentTreeService contentTreeService, Context context) -
Method Summary
Modifier and TypeMethodDescriptiongetChildren
(String key, @Nullable TreeContext context) getPath
(String key, @Nullable TreeContext context) getType()
move
(String movedNodeKey, String targetNodeKey, String point, @Nullable TreeContext context)
-
Constructor Details
-
ContentTreeModelImpl
-
-
Method Details
-
getType
-
getChildren
public List<TreeNode> getChildren(String key, @Nullable @Nullable TreeContext context) throws TreeModelException - Specified by:
getChildren
in interfaceTreeModel
- 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
-
getNode
- Specified by:
getNode
in interfaceContentTreeModel
- Throws:
TreeModelException
-