Class XBERootService
- 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.XBCRoot>
-
- org.exbin.xbup.catalog.entity.service.XBERootService
-
- All Implemented Interfaces:
java.io.Serializable
,org.exbin.xbup.core.catalog.base.service.XBCRootService
,org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCRoot>
@ParametersAreNonnullByDefault @Service public class XBERootService extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCRoot> implements org.exbin.xbup.core.catalog.base.service.XBCRootService, java.io.Serializable
Interface for XBERoot 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 XBERootService()
XBERootService(XBECatalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.util.Date>
getMainLastUpdate()
XBERoot
getMainRoot()
void
init()
boolean
isMainPresent()
void
setMainLastUpdate(java.util.Date updateDate)
void
setMainLastUpdateToNow()
-
Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
-
-
-
-
Constructor Detail
-
XBERootService
public XBERootService()
-
XBERootService
public XBERootService(XBECatalog catalog)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getMainRoot
@Nonnull public XBERoot getMainRoot()
- Specified by:
getMainRoot
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRootService
-
getMainLastUpdate
@Nonnull public java.util.Optional<java.util.Date> getMainLastUpdate()
- Specified by:
getMainLastUpdate
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRootService
-
isMainPresent
public boolean isMainPresent()
- Specified by:
isMainPresent
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRootService
-
setMainLastUpdate
public void setMainLastUpdate(java.util.Date updateDate)
- Specified by:
setMainLastUpdate
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRootService
-
setMainLastUpdateToNow
public void setMainLastUpdateToNow()
- Specified by:
setMainLastUpdateToNow
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCRootService
-
-