Class XBEXLangManager
- java.lang.Object
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultManager<T>
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>
-
- org.exbin.xbup.catalog.entity.manager.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
-
-
Field Summary
-
Fields inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultCatalogManager
catalog
-
Fields inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultManager
em
-
-
Constructor Summary
Constructors Constructor Description XBEXLangManager()
XBEXLangManager(XBECatalog catalog)
-
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.Class
getEntityClass()
Returns entity class.java.lang.String
getExtensionName()
boolean
initCatalog()
void
initializeExtension()
-
Methods inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultManager
createItem, getAllItems, getItem, getItemsCount, getTableName, persistItem, removeItem, setItemId
-
-
-
-
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 classXBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>
- Returns:
- entity class
-
getDefaultLang
public XBEXLanguage getDefaultLang()
- Specified by:
getDefaultLang
in interfaceorg.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 interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXLangManager
-
initializeExtension
public void initializeExtension()
- Specified by:
initializeExtension
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
getExtensionName
@Nonnull public java.lang.String getExtensionName()
- Specified by:
getExtensionName
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
initCatalog
public boolean initCatalog()
- Specified by:
initCatalog
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>
- Overrides:
initCatalog
in classXBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXLanguage>
-
-