Class XBENodeService
- java.lang.Object
-
- org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService<T>
-
- org.exbin.xbup.catalog.entity.service.XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCNode>
-
- org.exbin.xbup.catalog.entity.service.XBENodeService
-
- All Implemented Interfaces:
java.io.Serializable
,org.exbin.xbup.core.catalog.base.service.XBCNodeService
,org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCNode>
@ParametersAreNonnullByDefault @Service public class XBENodeService extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCNode> implements org.exbin.xbup.core.catalog.base.service.XBCNodeService, java.io.Serializable
Interface for XBENode items service.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.exbin.xbup.catalog.entity.service.XBEDefaultService
catalog
-
-
Constructor Summary
Constructors Constructor Description XBENodeService()
XBENodeService(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.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)
void
init()
-
Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
-
-
-
-
Constructor Detail
-
XBENodeService
public XBENodeService()
-
XBENodeService
public XBENodeService(XBECatalog catalog)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getMainRootNode
@Nonnull public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCNode> getMainRootNode()
- Specified by:
getMainRootNode
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
findMaxSubNodeXB
public java.lang.Long findMaxSubNodeXB(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
findMaxSubNodeXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
findNodeByXBPath
public XBENode findNodeByXBPath(java.lang.Long[] catalogPath)
- Specified by:
findNodeByXBPath
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
findOwnerByXBPath
public XBENode findOwnerByXBPath(java.lang.Long[] catalogPath)
- Specified by:
findOwnerByXBPath
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
findParentByXBPath
public XBENode findParentByXBPath(java.lang.Long[] catalogPath)
- Specified by:
findParentByXBPath
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
getNodeXBPath
public java.lang.Long[] getNodeXBPath(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getNodeXBPath
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
getSubNode
public XBENode getSubNode(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
- Specified by:
getSubNode
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
getSubNodeSeq
public XBENode getSubNodeSeq(org.exbin.xbup.core.catalog.base.XBCNode node, long seq)
- Specified by:
getSubNodeSeq
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
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.service.XBCNodeService
-
getSubNodesCount
public long getSubNodesCount(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getSubNodesCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
getSubNodesSeq
public long getSubNodesSeq(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getSubNodesSeq
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCNodeService
-
-