Class XBEXLangManager

  • All Implemented Interfaces:
    java.io.Serializable, org.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>, org.exbin.xbup.core.catalog.base.manager.XBCXLangManager, org.exbin.xbup.core.catalog.base.XBCExtension

    @ParametersAreNonnullByDefault
    @Repository
    public class XBEXLangManager
    extends XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>
    implements org.exbin.xbup.core.catalog.base.manager.XBCXLangManager, java.io.Serializable
    XBUP catalog language manager.
    See Also:
    Serialized Form
    • Constructor Detail

      • XBEXLangManager

        public XBEXLangManager()
      • XBEXLangManager

        public XBEXLangManager​(XBECatalog catalog)
    • Method Detail

      • getEntityClass

        @Nonnull
        public java.lang.Class getEntityClass()
        Description copied from class: XBEDefaultManager
        Returns entity class.
        Specified by:
        getEntityClass in class XBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>
        Returns:
        entity class
      • getDefaultLang

        public XBEXLanguage getDefaultLang()
        Specified by:
        getDefaultLang in interface org.exbin.xbup.core.catalog.base.manager.XBCXLangManager
      • 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.manager.XBCXLangManager
      • initializeExtension

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

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

        public boolean initCatalog()
        Specified by:
        initCatalog in interface org.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>
        Overrides:
        initCatalog in class XBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>