Class XBENodeManager
- java.lang.Object
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultManager<T>
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCNode>
-
- org.exbin.xbup.catalog.entity.manager.XBENodeManager
-
- All Implemented Interfaces:
java.io.Serializable
,org.exbin.xbup.core.catalog.base.manager.XBCCatalogManager<org.exbin.xbup.core.catalog.base.XBCNode>
,org.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCNode>
,org.exbin.xbup.core.catalog.base.manager.XBCNodeManager
@ParametersAreNonnullByDefault @Repository public class XBENodeManager extends XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCNode> implements org.exbin.xbup.core.catalog.base.manager.XBCNodeManager, java.io.Serializable
XBUP catalog node manager.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultCatalogManager
catalog
-
Fields inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultManager
em
-
-
Constructor Summary
Constructors Constructor Description XBENodeManager()
XBENodeManager(XBECatalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
findMaxSubNodeXB(org.exbin.xbup.core.catalog.base.XBCNode node)
XBENode
findNodeByXBPath(java.lang.Long[] catalogPath)
XBENode
findOwnerByXBPath(java.lang.Long[] catalogPath)
XBENode
findParentByXBPath(java.lang.Long[] catalogPath)
java.lang.Class
getEntityClass()
Returns entity class.java.util.Optional<org.exbin.xbup.core.catalog.base.XBCNode>
getMainRootNode()
java.lang.Long[]
getNodeXBPath(org.exbin.xbup.core.catalog.base.XBCNode node)
XBENode
getSubNode(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
java.util.List<org.exbin.xbup.core.catalog.base.XBCNode>
getSubNodes(org.exbin.xbup.core.catalog.base.XBCNode node)
long
getSubNodesCount(org.exbin.xbup.core.catalog.base.XBCNode node)
XBENode
getSubNodeSeq(org.exbin.xbup.core.catalog.base.XBCNode node, long seq)
long
getSubNodesSeq(org.exbin.xbup.core.catalog.base.XBCNode node)
-
Methods inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultManager
createItem, getAllItems, getItem, getItemsCount, getTableName, initCatalog, persistItem, removeItem, setItemId
-
-
-
-
Constructor Detail
-
XBENodeManager
public XBENodeManager()
-
XBENodeManager
public XBENodeManager(XBECatalog catalog)
-
-
Method Detail
-
getEntityClass
@Nonnull public java.lang.Class getEntityClass()
Description copied from class:XBEDefaultManager
Returns entity class.- Specified by:
getEntityClass
in classXBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCNode>
- Returns:
- entity class
-
getSubNodes
public java.util.List<org.exbin.xbup.core.catalog.base.XBCNode> getSubNodes(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getSubNodes
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
getSubNode
public XBENode getSubNode(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
- Specified by:
getSubNode
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
getSubNodesCount
public long getSubNodesCount(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getSubNodesCount
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
getMainRootNode
public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCNode> getMainRootNode()
- Specified by:
getMainRootNode
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
findNodeByXBPath
public XBENode findNodeByXBPath(java.lang.Long[] catalogPath)
- Specified by:
findNodeByXBPath
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
findParentByXBPath
public XBENode findParentByXBPath(java.lang.Long[] catalogPath)
- Specified by:
findParentByXBPath
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
getNodeXBPath
public java.lang.Long[] getNodeXBPath(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getNodeXBPath
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
findOwnerByXBPath
public XBENode findOwnerByXBPath(java.lang.Long[] catalogPath)
- Specified by:
findOwnerByXBPath
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
findMaxSubNodeXB
public java.lang.Long findMaxSubNodeXB(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
findMaxSubNodeXB
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
getSubNodeSeq
public XBENode getSubNodeSeq(org.exbin.xbup.core.catalog.base.XBCNode node, long seq)
- Specified by:
getSubNodeSeq
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
getSubNodesSeq
public long getSubNodesSeq(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getSubNodesSeq
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCNodeManager
-
-