Class XBEXLangService
- 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.XBCXLanguage>
-
- org.exbin.xbup.catalog.entity.service.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.catalog.entity.service.XBEDefaultService
catalog
-
-
Constructor Summary
Constructors Constructor Description XBEXLangService()
XBEXLangService(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.String
getExtensionName()
void
init()
void
initializeExtension()
-
Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService
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 interfaceorg.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 interfaceorg.exbin.xbup.core.catalog.base.service.XBCXLangService
-
getExtensionName
public java.lang.String getExtensionName()
- Specified by:
getExtensionName
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
initializeExtension
public void initializeExtension()
- Specified by:
initializeExtension
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
-