com.hack23.cia.service.impl.admin
Interface AdminService

Package class diagram package AdminService
All Known Implementing Classes:
AdminServiceImpl

public interface AdminService

The Interface AdminService.


Method Summary
 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.
 BinaryContent createResponseTimeGraph()
          Creates the response time graph.
 AgencyData deleteLanguage(AgencyDto agencyDto, LanguageDto languageDto)
          Delete language.
 AgencyData deleteLanguageContent(AgencyDto agencyDto, LanguageContentDto languageContentDto)
          Delete language content.
 AgencyData deletePortal(PortalDto portalDto)
          Delete portal.
 BinaryContent getRecentActionsGraph()
          Gets the recent actions graph.
 AgencyData loadAgency()
          Load agency.
 AgencyData loadAgency(Long agencyId)
          Load agency.
 AgencyData updateAgency(AgencyDto agencyDto)
          Update agency.
 AgencyData updateLanguage(AgencyDto agencyDto, LanguageDto languageDto)
          Update language.
 AgencyData updateLanguageContent(AgencyDto agencyDto, LanguageContentDto languageContentDto)
          Update language content.
 PortalData updatePortal(PortalDto portalDto)
          Update portal.
 

Method Detail

addAgencyLanguageContent

AgencyData addAgencyLanguageContent(AgencyData agency,
                                    LanguageData language,
                                    String key,
                                    String content)
Adds the agency language content.

Parameters:
agency - the agency
language - the language
key - the key
content - the content
Returns:
the agency data

addLanguage

AgencyData addLanguage(AgencyData agency)
Adds the language.

Parameters:
agency - the agency
Returns:
the agency data

addLanguageContent

LanguageContentData addLanguageContent(AgencyData agency,
                                       LanguageData language)
Adds the language content.

Parameters:
agency - the agency
language - the language
Returns:
the language content data

addPortal

AgencyData addPortal(AgencyData agency)
Adds the portal.

Parameters:
agency - the agency
Returns:
the agency data

createResponseTimeGraph

BinaryContent createResponseTimeGraph()
Creates the response time graph.

Returns:
the binary content

deleteLanguage

AgencyData deleteLanguage(AgencyDto agencyDto,
                          LanguageDto languageDto)
Delete language.

Parameters:
agencyDto - the agency dto
languageDto - the language dto
Returns:
the agency data

deleteLanguageContent

AgencyData deleteLanguageContent(AgencyDto agencyDto,
                                 LanguageContentDto languageContentDto)
Delete language content.

Parameters:
agencyDto - the agency dto
languageContentDto - the language content dto
Returns:
the agency data

deletePortal

AgencyData deletePortal(PortalDto portalDto)
Delete portal.

Parameters:
portalDto - the portal dto
Returns:
the agency data

getRecentActionsGraph

BinaryContent getRecentActionsGraph()
Gets the recent actions graph.

Returns:
the recent actions graph

loadAgency

AgencyData loadAgency()
Load agency.

Returns:
the agency data

loadAgency

AgencyData loadAgency(Long agencyId)
Load agency.

Parameters:
agencyId - the agency id
Returns:
the agency data

updateAgency

AgencyData updateAgency(AgencyDto agencyDto)
Update agency.

Parameters:
agencyDto - the agency dto
Returns:
the agency data

updateLanguage

AgencyData updateLanguage(AgencyDto agencyDto,
                          LanguageDto languageDto)
Update language.

Parameters:
agencyDto - the agency dto
languageDto - the language dto
Returns:
the agency data

updateLanguageContent

AgencyData updateLanguageContent(AgencyDto agencyDto,
                                 LanguageContentDto languageContentDto)
Update language content.

Parameters:
agencyDto - the agency dto
languageContentDto - the language content dto
Returns:
the agency data

updatePortal

PortalData updatePortal(PortalDto portalDto)
Update portal.

Parameters:
portalDto - the portal dto
Returns:
the portal data


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.