@Service public class XBESpecService extends XBEDefaultService<XBESpec> implements org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>, java.io.Serializable
catalog
Constructor and Description |
---|
XBESpecService() |
XBESpecService(XBECatalog catalog) |
Modifier and Type | Method and Description |
---|---|
XBEBlockSpec |
createBlockSpec() |
org.xbup.lib.xb.catalog.base.XBCFormatSpec |
createFormatSpec() |
org.xbup.lib.xb.catalog.base.XBCGroupSpec |
createGroupSpec() |
org.xbup.lib.xb.catalog.base.XBCSpecDef |
createSpecDef(org.xbup.lib.xb.catalog.base.XBCSpec spec,
org.xbup.lib.xb.catalog.base.XBCSpecDefType type) |
XBEBlockSpec |
findBlockSpecByXB(org.xbup.lib.xb.catalog.base.XBCNode node,
long xbIndex) |
XBEFormatSpec |
findFormatSpecByXB(org.xbup.lib.xb.catalog.base.XBCNode node,
long xbIndex) |
XBEGroupSpec |
findGroupSpecByXB(org.xbup.lib.xb.catalog.base.XBCNode node,
long xbIndex) |
java.lang.Long |
findMaxBlockSpecXB(org.xbup.lib.xb.catalog.base.XBCNode node) |
java.lang.Long |
findMaxFormatSpecXB(org.xbup.lib.xb.catalog.base.XBCNode node) |
java.lang.Long |
findMaxGroupSpecXB(org.xbup.lib.xb.catalog.base.XBCNode node) |
java.lang.Long |
findMaxSpecDefXB(org.xbup.lib.xb.catalog.base.XBCSpec spec) |
XBESpecDef |
findSpecDefByXB(org.xbup.lib.xb.catalog.base.XBCSpec spec,
long xbIndex) |
java.lang.Long |
getAllBlockSpecsCount() |
java.lang.Long |
getAllFormatSpecsCount() |
java.lang.Long |
getAllGroupSpecsCount() |
java.lang.Long |
getAllSpecsCount() |
XBEBlockSpec |
getBlockSpec(org.xbup.lib.xb.catalog.base.XBCNode node,
long index) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCBlockSpec> |
getBlockSpecs(org.xbup.lib.xb.catalog.base.XBCNode node) |
long |
getBlockSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node) |
long |
getDefsCount() |
XBEFormatSpec |
getFormatSpec(org.xbup.lib.xb.catalog.base.XBCNode node,
long index) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCFormatSpec> |
getFormatSpecs(org.xbup.lib.xb.catalog.base.XBCNode node) |
long |
getFormatSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node) |
XBEGroupSpec |
getGroupSpec(org.xbup.lib.xb.catalog.base.XBCNode node,
long index) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCGroupSpec> |
getGroupSpecs(org.xbup.lib.xb.catalog.base.XBCNode node) |
long |
getGroupSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node) |
XBESpec |
getSpecByOrder(org.xbup.lib.xb.catalog.base.XBCNode node,
long index) |
XBESpecDef |
getSpecDef(long itemId) |
XBESpecDef |
getSpecDefByOrder(org.xbup.lib.xb.catalog.base.XBCSpec spec,
long index) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCSpecDef> |
getSpecDefs(org.xbup.lib.xb.catalog.base.XBCSpec spec) |
long |
getSpecDefsCount(org.xbup.lib.xb.catalog.base.XBCSpec spec) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCSpec> |
getSpecs(org.xbup.lib.xb.catalog.base.XBCNode node) |
long |
getSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node) |
java.lang.Long[] |
getSpecXBPath(org.xbup.lib.xb.catalog.base.XBCSpec node) |
void |
init() |
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
public XBESpecService()
public XBESpecService(XBECatalog catalog)
@PostConstruct public void init()
public XBEBlockSpec findBlockSpecByXB(org.xbup.lib.xb.catalog.base.XBCNode node, long xbIndex)
findBlockSpecByXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBEFormatSpec findFormatSpecByXB(org.xbup.lib.xb.catalog.base.XBCNode node, long xbIndex)
findFormatSpecByXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBEGroupSpec findGroupSpecByXB(org.xbup.lib.xb.catalog.base.XBCNode node, long xbIndex)
findGroupSpecByXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long findMaxBlockSpecXB(org.xbup.lib.xb.catalog.base.XBCNode node)
findMaxBlockSpecXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long findMaxFormatSpecXB(org.xbup.lib.xb.catalog.base.XBCNode node)
findMaxFormatSpecXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long findMaxGroupSpecXB(org.xbup.lib.xb.catalog.base.XBCNode node)
findMaxGroupSpecXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long getAllBlockSpecsCount()
getAllBlockSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long getAllFormatSpecsCount()
getAllFormatSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long getAllGroupSpecsCount()
getAllGroupSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long getAllSpecsCount()
getAllSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBEBlockSpec getBlockSpec(org.xbup.lib.xb.catalog.base.XBCNode node, long index)
getBlockSpec
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCBlockSpec> getBlockSpecs(org.xbup.lib.xb.catalog.base.XBCNode node)
getBlockSpecs
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public long getBlockSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node)
getBlockSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBEFormatSpec getFormatSpec(org.xbup.lib.xb.catalog.base.XBCNode node, long index)
getFormatSpec
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCFormatSpec> getFormatSpecs(org.xbup.lib.xb.catalog.base.XBCNode node)
getFormatSpecs
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public long getFormatSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node)
getFormatSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBEGroupSpec getGroupSpec(org.xbup.lib.xb.catalog.base.XBCNode node, long index)
getGroupSpec
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCGroupSpec> getGroupSpecs(org.xbup.lib.xb.catalog.base.XBCNode node)
getGroupSpecs
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public long getGroupSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node)
getGroupSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBESpec getSpecByOrder(org.xbup.lib.xb.catalog.base.XBCNode node, long index)
getSpecByOrder
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long[] getSpecXBPath(org.xbup.lib.xb.catalog.base.XBCSpec node)
getSpecXBPath
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCSpec> getSpecs(org.xbup.lib.xb.catalog.base.XBCNode node)
getSpecs
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public long getSpecsCount(org.xbup.lib.xb.catalog.base.XBCNode node)
getSpecsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBESpecDef findSpecDefByXB(org.xbup.lib.xb.catalog.base.XBCSpec spec, long xbIndex)
findSpecDefByXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.lang.Long findMaxSpecDefXB(org.xbup.lib.xb.catalog.base.XBCSpec spec)
findMaxSpecDefXB
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBESpecDef getSpecDefByOrder(org.xbup.lib.xb.catalog.base.XBCSpec spec, long index)
getSpecDefByOrder
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCSpecDef> getSpecDefs(org.xbup.lib.xb.catalog.base.XBCSpec spec)
getSpecDefs
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public long getSpecDefsCount(org.xbup.lib.xb.catalog.base.XBCSpec spec)
getSpecDefsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public long getDefsCount()
getDefsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBESpecDef getSpecDef(long itemId)
getSpecDef
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public org.xbup.lib.xb.catalog.base.XBCSpecDef createSpecDef(org.xbup.lib.xb.catalog.base.XBCSpec spec, org.xbup.lib.xb.catalog.base.XBCSpecDefType type)
createSpecDef
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public XBEBlockSpec createBlockSpec()
createBlockSpec
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public org.xbup.lib.xb.catalog.base.XBCGroupSpec createGroupSpec()
createGroupSpec
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>
public org.xbup.lib.xb.catalog.base.XBCFormatSpec createFormatSpec()
createFormatSpec
in interface org.xbup.lib.xb.catalog.base.service.XBCSpecService<XBESpec>