@Service public class XBERevService extends XBEDefaultService<XBERev> implements org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>, java.io.Serializable
catalog| Constructor and Description |
|---|
XBERevService() |
XBERevService(XBECatalog catalog) |
| Modifier and Type | Method and Description |
|---|---|
org.xbup.lib.core.catalog.base.XBCRev |
createRev(org.xbup.lib.core.catalog.base.XBCSpec spec) |
long |
findMaxRevXB(org.xbup.lib.core.catalog.base.XBCSpec spec) |
XBERev |
findRevByXB(org.xbup.lib.core.catalog.base.XBCSpec spec,
long xbIndex) |
XBERev |
getRev(org.xbup.lib.core.catalog.base.XBCSpec spec,
long index) |
java.util.List<org.xbup.lib.core.catalog.base.XBCRev> |
getRevs(org.xbup.lib.core.catalog.base.XBCSpec spec) |
long |
getRevsCount(org.xbup.lib.core.catalog.base.XBCSpec spec) |
long |
getRevsLimitSum(org.xbup.lib.core.catalog.base.XBCSpec spec,
long revision) |
void |
init() |
void |
removeItemDepth(org.xbup.lib.core.catalog.base.XBCRev rev) |
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItempublic XBERevService()
public XBERevService(XBECatalog catalog)
@PostConstruct public void init()
public XBERev findRevByXB(org.xbup.lib.core.catalog.base.XBCSpec spec, long xbIndex)
findRevByXB in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>public XBERev getRev(org.xbup.lib.core.catalog.base.XBCSpec spec, long index)
getRev in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>public java.util.List<org.xbup.lib.core.catalog.base.XBCRev> getRevs(org.xbup.lib.core.catalog.base.XBCSpec spec)
getRevs in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>public long getRevsCount(org.xbup.lib.core.catalog.base.XBCSpec spec)
getRevsCount in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>public long findMaxRevXB(org.xbup.lib.core.catalog.base.XBCSpec spec)
findMaxRevXB in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>public void removeItemDepth(org.xbup.lib.core.catalog.base.XBCRev rev)
removeItemDepth in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>public org.xbup.lib.core.catalog.base.XBCRev createRev(org.xbup.lib.core.catalog.base.XBCSpec spec)
createRev in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>public long getRevsLimitSum(org.xbup.lib.core.catalog.base.XBCSpec spec,
long revision)
getRevsLimitSum in interface org.xbup.lib.core.catalog.base.service.XBCRevService<XBERev>