Class 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.core.catalog.base.service.XBCDefaultItemService

        itemManager
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.service.XBCService

        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 interface org.exbin.xbup.core.catalog.base.service.XBCRootService
      • getMainLastUpdate

        @Nonnull
        public java.util.Optional<java.util.Date> getMainLastUpdate()
        Specified by:
        getMainLastUpdate in interface org.exbin.xbup.core.catalog.base.service.XBCRootService
      • isMainPresent

        public boolean isMainPresent()
        Specified by:
        isMainPresent in interface org.exbin.xbup.core.catalog.base.service.XBCRootService
      • setMainLastUpdate

        public void setMainLastUpdate​(java.util.Date updateDate)
        Specified by:
        setMainLastUpdate in interface org.exbin.xbup.core.catalog.base.service.XBCRootService
      • setMainLastUpdateToNow

        public void setMainLastUpdateToNow()
        Specified by:
        setMainLastUpdateToNow in interface org.exbin.xbup.core.catalog.base.service.XBCRootService