Class XBERevService
- 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.XBCRev>
-
- org.exbin.xbup.catalog.entity.service.XBERevService
-
- All Implemented Interfaces:
java.io.Serializable
,org.exbin.xbup.core.catalog.base.service.XBCRevService
,org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCRev>
@ParametersAreNonnullByDefault @Service public class XBERevService extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCRev> implements org.exbin.xbup.core.catalog.base.service.XBCRevService, java.io.Serializable
Interface for XBERev 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 XBERevService()
XBERevService(XBECatalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exbin.xbup.core.catalog.base.XBCRev
createRev(org.exbin.xbup.core.catalog.base.XBCSpec spec)
long
findMaxRevXB(org.exbin.xbup.core.catalog.base.XBCSpec spec)
XBERev
findRevByXB(org.exbin.xbup.core.catalog.base.XBCSpec spec, long xbIndex)
XBERev
getRev(org.exbin.xbup.core.catalog.base.XBCSpec spec, long index)
java.util.List<org.exbin.xbup.core.catalog.base.XBCRev>
getRevs(org.exbin.xbup.core.catalog.base.XBCSpec spec)
long
getRevsCount(org.exbin.xbup.core.catalog.base.XBCSpec spec)
long
getRevsLimitSum(org.exbin.xbup.core.catalog.base.XBCSpec spec, long revision)
void
init()
void
removeItemDepth(org.exbin.xbup.core.catalog.base.XBCRev rev)
-
Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
-
-
-
-
Constructor Detail
-
XBERevService
public XBERevService()
-
XBERevService
public XBERevService(XBECatalog catalog)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
findRevByXB
public XBERev findRevByXB(org.exbin.xbup.core.catalog.base.XBCSpec spec, long xbIndex)
- Specified by:
findRevByXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
getRev
public XBERev getRev(org.exbin.xbup.core.catalog.base.XBCSpec spec, long index)
- Specified by:
getRev
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
getRevs
public java.util.List<org.exbin.xbup.core.catalog.base.XBCRev> getRevs(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
getRevs
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
getRevsCount
public long getRevsCount(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
getRevsCount
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
findMaxRevXB
public long findMaxRevXB(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
findMaxRevXB
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
removeItemDepth
public void removeItemDepth(org.exbin.xbup.core.catalog.base.XBCRev rev)
- Specified by:
removeItemDepth
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
createRev
public org.exbin.xbup.core.catalog.base.XBCRev createRev(org.exbin.xbup.core.catalog.base.XBCSpec spec)
- Specified by:
createRev
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
getRevsLimitSum
public long getRevsLimitSum(org.exbin.xbup.core.catalog.base.XBCSpec spec, long revision)
- Specified by:
getRevsLimitSum
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRevService
-
-