Class 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
    • 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 class XBEDefaultManager<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 interface org.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 interface org.exbin.xbup.core.catalog.base.manager.XBCNodeManager
      • getSubNodesCount

        public long getSubNodesCount​(org.exbin.xbup.core.catalog.base.XBCNode node)
        Specified by:
        getSubNodesCount in interface org.exbin.xbup.core.catalog.base.manager.XBCNodeManager
      • getMainRootNode

        public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCNode> getMainRootNode()
        Specified by:
        getMainRootNode in interface org.exbin.xbup.core.catalog.base.manager.XBCNodeManager
      • findNodeByXBPath

        public XBENode findNodeByXBPath​(java.lang.Long[] catalogPath)
        Specified by:
        findNodeByXBPath in interface org.exbin.xbup.core.catalog.base.manager.XBCNodeManager
      • findParentByXBPath

        public XBENode findParentByXBPath​(java.lang.Long[] catalogPath)
        Specified by:
        findParentByXBPath in interface org.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 interface org.exbin.xbup.core.catalog.base.manager.XBCNodeManager
      • findOwnerByXBPath

        public XBENode findOwnerByXBPath​(java.lang.Long[] catalogPath)
        Specified by:
        findOwnerByXBPath in interface org.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 interface org.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 interface org.exbin.xbup.core.catalog.base.manager.XBCNodeManager
      • getSubNodesSeq

        public long getSubNodesSeq​(org.exbin.xbup.core.catalog.base.XBCNode node)
        Specified by:
        getSubNodesSeq in interface org.exbin.xbup.core.catalog.base.manager.XBCNodeManager