com.knots.kcl.business
Class InstantaneousCodedTreeContent
java.lang.Object com.knots.kcl.business.Business com.knots.kcl.business.TreeContent com.knots.kcl.business.InstantaneousTreeContent com.knots.kcl.business.InstantaneousCodedTreeContent
- All Implemented Interfaces:
- ICodedTreeContent
public class InstantaneousCodedTreeContent
- extends InstantaneousTreeContent
- implements ICodedTreeContent
Method Summary |
void | addNode(int parentId, java.lang.String category, java.lang.String name, java.lang.String code) |
Entity[] | getChildrenNodesByCode(java.lang.String fields, java.lang.String category, java.lang.String code) |
Entity | getNodeByCode(java.lang.String fields, java.lang.String category, java.lang.String code) |
java.lang.String | getNodeHiberarchyNameByCode(java.lang.String category, java.lang.String code, boolean containsRoot) |
Entity[] | getNodesByCode(java.lang.String fields, java.lang.String category, java.lang.String code) |
Entity[] | getNodesByCodePerfix(java.lang.String fields, java.lang.String category, java.lang.String code) |
void | setNodeCode(int id, java.lang.String code) |
void | setNodeNameAndCode(int id, java.lang.String name, java.lang.String code) |
Methods inherited from class com.knots.kcl.business.InstantaneousTreeContent |
addNode, getNodeByHiberarchy, getNodeById, getNodeHiberarchyNameByHiberarchy, getNodesByCategory, getNodesByHiberarchyPerfix, getNodesByParentId, removeNodeById, removeNodeByParentId, setNodeName, setNodeParent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstantaneousCodedTreeContent
public InstantaneousCodedTreeContent()
addNode
public void addNode(int parentId, java.lang.String category, java.lang.String name, java.lang.String code) throws java.lang.Exception
- Specified by:
addNode
in interface ICodedTreeContent
- Throws:
java.lang.Exception
setNodeCode
public void setNodeCode(int id, java.lang.String code) throws java.lang.Exception
- Specified by:
setNodeCode
in interface ICodedTreeContent
- Throws:
java.lang.Exception
setNodeNameAndCode
public void setNodeNameAndCode(int id, java.lang.String name, java.lang.String code) throws java.lang.Exception
- Specified by:
setNodeNameAndCode
in interface ICodedTreeContent
- Throws:
java.lang.Exception
getNodeByCode
public Entity getNodeByCode(java.lang.String fields, java.lang.String category, java.lang.String code) throws java.lang.Exception
- Specified by:
getNodeByCode
in interface ICodedTreeContent
- Throws:
java.lang.Exception
getNodesByCode
public Entity[] getNodesByCode(java.lang.String fields, java.lang.String category, java.lang.String code) throws java.lang.Exception
- Specified by:
getNodesByCode
in interface ICodedTreeContent
- Throws:
java.lang.Exception
getNodesByCodePerfix
public Entity[] getNodesByCodePerfix(java.lang.String fields, java.lang.String category, java.lang.String code) throws java.lang.Exception
- Specified by:
getNodesByCodePerfix
in interface ICodedTreeContent
- Throws:
java.lang.Exception
getChildrenNodesByCode
public Entity[] getChildrenNodesByCode(java.lang.String fields, java.lang.String category, java.lang.String code) throws java.lang.Exception
- Specified by:
getChildrenNodesByCode
in interface ICodedTreeContent
- Throws:
java.lang.Exception
getNodeHiberarchyNameByCode
public java.lang.String getNodeHiberarchyNameByCode(java.lang.String category, java.lang.String code, boolean containsRoot) throws java.lang.Exception
- Specified by:
getNodeHiberarchyNameByCode
in interface ICodedTreeContent
- Throws:
java.lang.Exception