|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 factoryMethod Detail |
---|
public final AgencyData addAgencyLanguageContent(AgencyData agency, LanguageData language, String key, String content)
ConfigurationService
addAgencyLanguageContent
in interface ConfigurationService
agency
- the agencylanguage
- the languagekey
- the keycontent
- the contentpublic final AgencyData addLanguage(AgencyData agency)
ConfigurationService
addLanguage
in interface ConfigurationService
agency
- the agencypublic final LanguageContentData addLanguageContent(AgencyData agency, LanguageData language)
ConfigurationService
addLanguageContent
in interface ConfigurationService
agency
- the agencylanguage
- the languagepublic final AgencyData addPortal(AgencyData agency)
ConfigurationService
addPortal
in interface ConfigurationService
agency
- the agencypublic final AgencyData deleteLanguage(AgencyDto agency, LanguageDto language)
ConfigurationService
deleteLanguage
in interface ConfigurationService
agency
- the agency dtolanguage
- the language dtopublic final AgencyData deleteLanguageContent(AgencyDto agency, LanguageContentDto languageContent)
ConfigurationService
deleteLanguageContent
in interface ConfigurationService
agency
- the agency dtolanguageContent
- the language content dtopublic final AgencyData deletePortal(PortalDto portal)
ConfigurationService
deletePortal
in interface ConfigurationService
portal
- the portal dto@Cacheable(cacheName="agencyServiceCache") public final AgencyData loadAgency()
ConfigurationService
loadAgency
in interface ConfigurationService
public final AgencyData loadAgency(Long agencyId)
ConfigurationService
loadAgency
in interface ConfigurationService
agencyId
- the agency idpublic final AgencyData updateAgency(AgencyDto agency)
ConfigurationService
updateAgency
in interface ConfigurationService
agency
- the agency dtopublic final AgencyData updateLanguage(AgencyDto agency, LanguageDto language)
ConfigurationService
updateLanguage
in interface ConfigurationService
agency
- the agency dtolanguage
- the language dtopublic final AgencyData updateLanguageContent(AgencyDto agency, LanguageContentDto languageContent)
ConfigurationService
updateLanguageContent
in interface ConfigurationService
agency
- the agency dtolanguageContent
- the language content dtopublic final PortalData updatePortal(PortalDto portal)
ConfigurationService
updatePortal
in interface ConfigurationService
portal
- the portal dto
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |