@Service public class XBERevService extends XBEDefaultService<XBERev> implements org.xbup.lib.xb.catalog.base.service.XBCRevService<XBERev>, java.io.Serializable
catalog
Constructor and Description |
---|
XBERevService() |
XBERevService(XBECatalog catalog) |
Modifier and Type | Method and Description |
---|---|
XBERev |
findRevById(long id) |
XBERev |
findRevByXB(org.xbup.lib.xb.catalog.base.XBCSpec spec,
long xbIndex) |
java.lang.Long |
getAllRevisionsCount() |
XBERev |
getRev(org.xbup.lib.xb.catalog.base.XBCSpec spec,
long index) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCRev> |
getRevs(org.xbup.lib.xb.catalog.base.XBCSpec spec) |
long |
getRevsCount(org.xbup.lib.xb.catalog.base.XBCSpec spec) |
void |
init() |
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
public XBERevService()
public XBERevService(XBECatalog catalog)
@PostConstruct public void init()
public XBERev findRevById(long id)
findRevById
in interface org.xbup.lib.xb.catalog.base.service.XBCRevService<XBERev>
public XBERev findRevByXB(org.xbup.lib.xb.catalog.base.XBCSpec spec, long xbIndex)
findRevByXB
in interface org.xbup.lib.xb.catalog.base.service.XBCRevService<XBERev>
public XBERev getRev(org.xbup.lib.xb.catalog.base.XBCSpec spec, long index)
getRev
in interface org.xbup.lib.xb.catalog.base.service.XBCRevService<XBERev>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCRev> getRevs(org.xbup.lib.xb.catalog.base.XBCSpec spec)
getRevs
in interface org.xbup.lib.xb.catalog.base.service.XBCRevService<XBERev>
public java.lang.Long getAllRevisionsCount()
getAllRevisionsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCRevService<XBERev>
public long getRevsCount(org.xbup.lib.xb.catalog.base.XBCSpec spec)
getRevsCount
in interface org.xbup.lib.xb.catalog.base.service.XBCRevService<XBERev>