@Transactional(propagation=REQUIRED) public abstract class MasterDataManagementBase extends Object implements MasterDataManagement
Spring Service base class for MasterDataManagement , provides access to all services
and entities referenced by this service.
MasterDataManagementMASTERDATA_LANGUAGE_PREFIX| Constructor and Description |
|---|
MasterDataManagementBase() |
| Modifier and Type | Method and Description |
|---|---|
Country |
findCountryByCode(String countryCode)
Finds a country by the country code.
|
Language |
findLanguageByCode(String languageCode)
Finds a language by the language code.
|
List<Country> |
getCountries(Locale locale)
Returns a list of all countries in the database.
|
List<Language> |
getLanguages() |
protected Principal |
getPrincipal()
Gets the current
principal if one has been set, otherwise returns
null. |
List<SimplifiedTimeZone> |
getTimeZones() |
protected abstract Country |
handleFindCountryByCode(String countryCode)
Performs the core logic for
findCountryByCode(String) |
protected abstract Language |
handleFindLanguageByCode(String languageCode)
Performs the core logic for
findLanguageByCode(String) |
protected abstract List<Country> |
handleGetCountries(Locale locale)
Performs the core logic for
getCountries(Locale) |
protected abstract List<Language> |
handleGetLanguages()
Performs the core logic for
getLanguages() |
protected abstract List<SimplifiedTimeZone> |
handleGetTimeZones()
Performs the core logic for
getTimeZones() |
protected abstract void |
handlePostInitialization()
Performs the core logic for
postInitialization() |
void |
postInitialization() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLanguage, getAllLanguages, getAvailableLanguages, getUsedLanguages, isAvailableLanguage, removeLanguage@Transactional(readOnly=true) public Country findCountryByCode(String countryCode)
MasterDataManagementFinds a country by the country code.
findCountryByCode in interface MasterDataManagementMasterDataManagement.findCountryByCode(String)@Transactional(readOnly=true) public Language findLanguageByCode(String languageCode)
MasterDataManagementFinds a language by the language code.
findLanguageByCode in interface MasterDataManagementMasterDataManagement.findLanguageByCode(String)@Transactional(readOnly=true) public List<Country> getCountries(Locale locale)
MasterDataManagementReturns a list of all countries in the database.
getCountries in interface MasterDataManagementMasterDataManagement.getCountries(Locale)@Transactional(readOnly=true) public List<Language> getLanguages()
getLanguages in interface MasterDataManagementMasterDataManagement.getLanguages()protected Principal getPrincipal()
principal if one has been set, otherwise returns
null.@Transactional(readOnly=true) public List<SimplifiedTimeZone> getTimeZones()
MasterDataManagementgetTimeZones in interface MasterDataManagementMasterDataManagement.getTimeZones()protected abstract Country handleFindCountryByCode(String countryCode)
findCountryByCode(String)protected abstract Language handleFindLanguageByCode(String languageCode)
findLanguageByCode(String)protected abstract List<Country> handleGetCountries(Locale locale)
getCountries(Locale)protected abstract List<Language> handleGetLanguages()
getLanguages()protected abstract List<SimplifiedTimeZone> handleGetTimeZones()
getTimeZones()protected abstract void handlePostInitialization()
postInitialization()public void postInitialization()
postInitialization in interface MasterDataManagementMasterDataManagement.postInitialization()Copyright © 2019 Communote team. All rights reserved.