|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.service.impl.configuration.ConfigurationServiceImpl
public class ConfigurationServiceImpl extends Object implements ConfigurationService
The Class ConfigurationServiceImpl.
| Constructor and Description |
|---|
ConfigurationServiceImpl(AgencyDAO agencyDAO,
ResourceDAO resourceDAO,
ApplicationModelFactoryFactory applicationModelFactoryFactory)
Instantiates a new configuration service impl. |
| Modifier and Type | Method and Description |
|---|---|
AgencyData |
addAgencyLanguageContent(AgencyData agency,
LanguageData language,
String key,
String content)
Adds the agency language content. |
AgencyData |
addLanguage(AgencyData agency)
Adds the language. |
LanguageContentData |
addLanguageContent(AgencyData agency,
LanguageData language)
Adds the language content. |
AgencyData |
addPortal(AgencyData agency)
Adds the portal. |
AgencyData |
deleteLanguage(AgencyDto agency,
LanguageDto language)
Delete language. |
AgencyData |
deleteLanguageContent(AgencyDto agency,
LanguageContentDto languageContent)
Delete language content. |
AgencyData |
deletePortal(PortalDto portal)
Delete portal. |
AgencyData |
loadAgency()
Load agency. |
AgencyData |
loadAgency(Long agencyId)
Load agency. |
AgencyData |
updateAgency(AgencyDto agency)
Update agency. |
AgencyData |
updateLanguage(AgencyDto agency,
LanguageDto language)
Update language. |
AgencyData |
updateLanguageContent(AgencyDto agency,
LanguageContentDto languageContent)
Update language content. |
PortalData |
updatePortal(PortalDto portal)
Update portal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationServiceImpl(AgencyDAO agencyDAO,
ResourceDAO resourceDAO,
ApplicationModelFactoryFactory applicationModelFactoryFactory)
agencyDAO - the agency daoresourceDAO - the resource daoapplicationModelFactoryFactory - the application model factory factory| Method Detail |
|---|
public final AgencyData addAgencyLanguageContent(AgencyData agency,
LanguageData language,
String key,
String content)
ConfigurationService
addAgencyLanguageContent in interface ConfigurationServiceagency - the agencylanguage - the languagekey - the keycontent - the contentpublic final AgencyData addLanguage(AgencyData agency)
ConfigurationService
addLanguage in interface ConfigurationServiceagency - the agency
public final LanguageContentData addLanguageContent(AgencyData agency,
LanguageData language)
ConfigurationService
addLanguageContent in interface ConfigurationServiceagency - the agencylanguage - the languagepublic final AgencyData addPortal(AgencyData agency)
ConfigurationService
addPortal in interface ConfigurationServiceagency - the agency
public final AgencyData deleteLanguage(AgencyDto agency,
LanguageDto language)
ConfigurationService
deleteLanguage in interface ConfigurationServiceagency - the agency dtolanguage - the language dto
public final AgencyData deleteLanguageContent(AgencyDto agency,
LanguageContentDto languageContent)
ConfigurationService
deleteLanguageContent in interface ConfigurationServiceagency - the agency dtolanguageContent - the language content dtopublic final AgencyData deletePortal(PortalDto portal)
ConfigurationService
deletePortal in interface ConfigurationServiceportal - the portal dto@Cacheable(cacheName="agencyServiceCache") public final AgencyData loadAgency()
ConfigurationService
loadAgency in interface ConfigurationServicepublic final AgencyData loadAgency(Long agencyId)
ConfigurationService
loadAgency in interface ConfigurationServiceagencyId - the agency idpublic final AgencyData updateAgency(AgencyDto agency)
ConfigurationService
updateAgency in interface ConfigurationServiceagency - the agency dto
public final AgencyData updateLanguage(AgencyDto agency,
LanguageDto language)
ConfigurationService
updateLanguage in interface ConfigurationServiceagency - the agency dtolanguage - the language dto
public final AgencyData updateLanguageContent(AgencyDto agency,
LanguageContentDto languageContent)
ConfigurationService
updateLanguageContent in interface ConfigurationServiceagency - the agency dtolanguageContent - the language content dtopublic final PortalData updatePortal(PortalDto portal)
ConfigurationService
updatePortal in interface ConfigurationServiceportal - the portal dto
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||