Class XBEXLangService

  • All Implemented Interfaces:
    java.io.Serializable, org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCXLanguage>, org.exbin.xbup.core.catalog.base.service.XBCXLangService, org.exbin.xbup.core.catalog.base.XBCExtension

    @ParametersAreNonnullByDefault
    @Service
    public class XBEXLangService
    extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCXLanguage>
    implements org.exbin.xbup.core.catalog.base.service.XBCXLangService, java.io.Serializable
    Interface for XBEXLanguage 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<org.exbin.xbup.core.catalog.base.XBCXLanguage> findByCode​(java.lang.String langCode)  
      XBEXLanguage getDefaultLang()  
      java.lang.String getExtensionName()  
      void init()  
      void initializeExtension()  
      • 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

      • XBEXLangService

        public XBEXLangService()
      • XBEXLangService

        public XBEXLangService​(XBECatalog catalog)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getDefaultLang

        public XBEXLanguage getDefaultLang()
        Specified by:
        getDefaultLang in interface org.exbin.xbup.core.catalog.base.service.XBCXLangService
      • findByCode

        @Nonnull
        public java.util.Optional<org.exbin.xbup.core.catalog.base.XBCXLanguage> findByCode​(java.lang.String langCode)
        Specified by:
        findByCode in interface org.exbin.xbup.core.catalog.base.service.XBCXLangService
      • getExtensionName

        public java.lang.String getExtensionName()
        Specified by:
        getExtensionName in interface org.exbin.xbup.core.catalog.base.XBCExtension
      • initializeExtension

        public void initializeExtension()
        Specified by:
        initializeExtension in interface org.exbin.xbup.core.catalog.base.XBCExtension