Class XBESpecService
- 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.XBCSpec>
-
- org.exbin.xbup.catalog.entity.service.XBESpecService
-
- All Implemented Interfaces:
java.io.Serializable
,org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCSpec>
,org.exbin.xbup.core.catalog.base.service.XBCSpecService
@ParametersAreNonnullByDefault @Service public class XBESpecService extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCSpec> implements org.exbin.xbup.core.catalog.base.service.XBCSpecService, java.io.Serializable
Entity class for XBESpec 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 XBESpecService()
XBESpecService(XBECatalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XBEBlockSpec
createBlockSpec()
org.exbin.xbup.core.catalog.base.XBCFormatSpec
createFormatSpec()
org.exbin.xbup.core.catalog.base.XBCGroupSpec
createGroupSpec()
org.exbin.xbup.core.catalog.base.XBCSpecDef
createSpecDef(org.exbin.xbup.core.catalog.base.XBCSpec spec, org.exbin.xbup.core.block.definition.XBParamType type)
XBEBlockSpec
findBlockSpecByXB(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
XBEFormatSpec
findFormatSpecByXB(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
XBEGroupSpec
findGroupSpecByXB(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
java.lang.Long
findMaxBlockSpecXB(org.exbin.xbup.core.catalog.base.XBCNode node)
java.lang.Long
findMaxFormatSpecXB(org.exbin.xbup.core.catalog.base.XBCNode node)
java.lang.Long
findMaxGroupSpecXB(org.exbin.xbup.core.catalog.base.XBCNode node)
java.lang.Long
findMaxSpecDefXB(org.exbin.xbup.core.catalog.base.XBCSpec spec)
XBESpecDef
findSpecDefByXB(org.exbin.xbup.core.catalog.base.XBCSpec spec, long xbIndex)
java.lang.Long
getAllBlockSpecsCount()
java.lang.Long
getAllFormatSpecsCount()
java.lang.Long
getAllGroupSpecsCount()
java.lang.Long
getAllSpecsCount()
org.exbin.xbup.core.block.declaration.local.XBLBlockDecl
getBlockDeclAsLocal(org.exbin.xbup.core.block.declaration.catalog.XBCBlockDecl blockDecl)
XBEBlockSpec
getBlockSpec(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
java.util.List<org.exbin.xbup.core.catalog.base.XBCBlockSpec>
getBlockSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
long
getBlockSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
long
getDefsCount()
org.exbin.xbup.core.block.declaration.local.XBLFormatDecl
getFormatDeclAsLocal(org.exbin.xbup.core.block.declaration.catalog.XBCFormatDecl formatDecl)
XBEFormatSpec
getFormatSpec(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
java.util.List<org.exbin.xbup.core.catalog.base.XBCFormatSpec>
getFormatSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
long
getFormatSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
org.exbin.xbup.core.block.declaration.local.XBLGroupDecl
getGroupDeclAsLocal(org.exbin.xbup.core.block.declaration.catalog.XBCGroupDecl groupDecl)
XBEGroupSpec
getGroupSpec(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
java.util.List<org.exbin.xbup.core.catalog.base.XBCGroupSpec>
getGroupSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
long
getGroupSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
XBESpec
getSpecByOrder(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
XBESpecDef
getSpecDef(long itemId)
XBESpecDef
getSpecDefByOrder(org.exbin.xbup.core.catalog.base.XBCSpec spec, long index)
java.util.List<org.exbin.xbup.core.catalog.base.XBCSpecDef>
getSpecDefs(org.exbin.xbup.core.catalog.base.XBCSpec spec)
long
getSpecDefsCount(org.exbin.xbup.core.catalog.base.XBCSpec spec)
java.util.List<org.exbin.xbup.core.catalog.base.XBCSpec>
getSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
long
getSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
java.lang.Long[]
getSpecXBPath(org.exbin.xbup.core.catalog.base.XBCSpec spec)
void
init()
void
persistSpecDef(org.exbin.xbup.core.catalog.base.XBCSpecDef specDef)
void
removeItemDepth(org.exbin.xbup.core.catalog.base.XBCSpecDef specDef)
void
removeSpecDef(org.exbin.xbup.core.catalog.base.XBCSpecDef specDef)
-
Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
-
-
-
-
Constructor Detail
-
XBESpecService
public XBESpecService()
-
XBESpecService
public XBESpecService(XBECatalog catalog)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
findBlockSpecByXB
public XBEBlockSpec findBlockSpecByXB(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
- Specified by:
findBlockSpecByXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
findFormatSpecByXB
public XBEFormatSpec findFormatSpecByXB(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
- Specified by:
findFormatSpecByXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
findGroupSpecByXB
public XBEGroupSpec findGroupSpecByXB(org.exbin.xbup.core.catalog.base.XBCNode node, long xbIndex)
- Specified by:
findGroupSpecByXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
findMaxBlockSpecXB
public java.lang.Long findMaxBlockSpecXB(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
findMaxBlockSpecXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
findMaxFormatSpecXB
public java.lang.Long findMaxFormatSpecXB(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
findMaxFormatSpecXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
findMaxGroupSpecXB
public java.lang.Long findMaxGroupSpecXB(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
findMaxGroupSpecXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getAllBlockSpecsCount
public java.lang.Long getAllBlockSpecsCount()
- Specified by:
getAllBlockSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getAllFormatSpecsCount
public java.lang.Long getAllFormatSpecsCount()
- Specified by:
getAllFormatSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getAllGroupSpecsCount
public java.lang.Long getAllGroupSpecsCount()
- Specified by:
getAllGroupSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getAllSpecsCount
public java.lang.Long getAllSpecsCount()
- Specified by:
getAllSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getBlockSpec
public XBEBlockSpec getBlockSpec(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
- Specified by:
getBlockSpec
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getBlockSpecs
public java.util.List<org.exbin.xbup.core.catalog.base.XBCBlockSpec> getBlockSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getBlockSpecs
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getBlockSpecsCount
public long getBlockSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getBlockSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getFormatSpec
public XBEFormatSpec getFormatSpec(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
- Specified by:
getFormatSpec
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getFormatSpecs
public java.util.List<org.exbin.xbup.core.catalog.base.XBCFormatSpec> getFormatSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getFormatSpecs
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getFormatSpecsCount
public long getFormatSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getFormatSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getGroupSpec
public XBEGroupSpec getGroupSpec(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
- Specified by:
getGroupSpec
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getGroupSpecs
public java.util.List<org.exbin.xbup.core.catalog.base.XBCGroupSpec> getGroupSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getGroupSpecs
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getGroupSpecsCount
public long getGroupSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getGroupSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecByOrder
public XBESpec getSpecByOrder(org.exbin.xbup.core.catalog.base.XBCNode node, long index)
- Specified by:
getSpecByOrder
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecXBPath
public java.lang.Long[] getSpecXBPath(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
getSpecXBPath
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecs
public java.util.List<org.exbin.xbup.core.catalog.base.XBCSpec> getSpecs(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getSpecs
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecsCount
public long getSpecsCount(org.exbin.xbup.core.catalog.base.XBCNode node)
- Specified by:
getSpecsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
findSpecDefByXB
public XBESpecDef findSpecDefByXB(org.exbin.xbup.core.catalog.base.XBCSpec spec, long xbIndex)
- Specified by:
findSpecDefByXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
findMaxSpecDefXB
public java.lang.Long findMaxSpecDefXB(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
findMaxSpecDefXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecDefByOrder
public XBESpecDef getSpecDefByOrder(org.exbin.xbup.core.catalog.base.XBCSpec spec, long index)
- Specified by:
getSpecDefByOrder
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecDefs
public java.util.List<org.exbin.xbup.core.catalog.base.XBCSpecDef> getSpecDefs(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
getSpecDefs
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecDefsCount
public long getSpecDefsCount(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
getSpecDefsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getDefsCount
public long getDefsCount()
- Specified by:
getDefsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getSpecDef
public XBESpecDef getSpecDef(long itemId)
- Specified by:
getSpecDef
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
createSpecDef
public org.exbin.xbup.core.catalog.base.XBCSpecDef createSpecDef(org.exbin.xbup.core.catalog.base.XBCSpec spec, org.exbin.xbup.core.block.definition.XBParamType type)
- Specified by:
createSpecDef
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
createBlockSpec
public XBEBlockSpec createBlockSpec()
- Specified by:
createBlockSpec
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
createGroupSpec
public org.exbin.xbup.core.catalog.base.XBCGroupSpec createGroupSpec()
- Specified by:
createGroupSpec
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
createFormatSpec
public org.exbin.xbup.core.catalog.base.XBCFormatSpec createFormatSpec()
- Specified by:
createFormatSpec
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
persistSpecDef
public void persistSpecDef(org.exbin.xbup.core.catalog.base.XBCSpecDef specDef)
- Specified by:
persistSpecDef
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
removeSpecDef
public void removeSpecDef(org.exbin.xbup.core.catalog.base.XBCSpecDef specDef)
- Specified by:
removeSpecDef
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
removeItemDepth
public void removeItemDepth(org.exbin.xbup.core.catalog.base.XBCSpecDef specDef)
- Specified by:
removeItemDepth
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getFormatDeclAsLocal
public org.exbin.xbup.core.block.declaration.local.XBLFormatDecl getFormatDeclAsLocal(org.exbin.xbup.core.block.declaration.catalog.XBCFormatDecl formatDecl)
- Specified by:
getFormatDeclAsLocal
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getGroupDeclAsLocal
public org.exbin.xbup.core.block.declaration.local.XBLGroupDecl getGroupDeclAsLocal(org.exbin.xbup.core.block.declaration.catalog.XBCGroupDecl groupDecl)
- Specified by:
getGroupDeclAsLocal
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
getBlockDeclAsLocal
public org.exbin.xbup.core.block.declaration.local.XBLBlockDecl getBlockDeclAsLocal(org.exbin.xbup.core.block.declaration.catalog.XBCBlockDecl blockDecl)
- Specified by:
getBlockDeclAsLocal
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCSpecService
-
-