com.hack23.cia.model.api.application.configuration
Interface AgencyData

Package class diagram package AgencyData
All Superinterfaces:
ApplicationEnvironment, Environment, ModelObject, PersistedModelObject, Serializable
All Known Implementing Classes:
Agency

public interface AgencyData
extends ApplicationEnvironment

The Interface AgencyData.


Method Summary
Modifier and Type Method and Description
 void addLanguageContentData(LanguageContentData languageContent)
          Adds the language content data.
 void addLanguageData(LanguageData language)
          Adds the language data.
 void addPortalData(PortalData portal)
          Adds the portal data.
 LanguageData findLanguage(Long id)
          Find language.
 LanguageContentData findLanguageContent(Long id)
          Find language content.
 LanguageData findMatchingLanguage(String acceptLanguageKeys)
          Find matching language.
 PortalData findMatchingPortal(String serverHost)
          Find matching portal.
 LanguageContentData getLanguageContentByKey(LanguageContentKey winningPercentageByParty, LanguageData language)
          Gets the language content by key.
 LanguageContentData getLanguageContentByKey(String key, LanguageData language)
          Gets the language content by key.
 Set<LanguageContentData> getLanguageContentByLanguage(LanguageData languageData)
          Gets the language content by language.
 List<LanguageData> getLanguagesData()
          Gets the languages data.
 PortalData getPortalById(Long id)
          Gets the portal by id.
 List<PortalData> getPortalsData()
          Gets the portals data.
 void removeLanguageContent(LanguageContentData languageContent)
          Removes the language content.
 void removeLanguageData(LanguageData language)
          Removes the language data.
 void removePortalData(PortalData portal)
          Removes the portal data.
 
Methods inherited from interface com.hack23.cia.model.api.common.Environment
getName, setName
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getId, getTypeContext, getVersion, isNew, setId, setVersion
 

Method Detail

addLanguageContentData

void addLanguageContentData(LanguageContentData languageContent)
Adds the language content data.

Parameters:
languageContent - the language content

addLanguageData

void addLanguageData(LanguageData language)
Adds the language data.

Parameters:
language - the language

addPortalData

void addPortalData(PortalData portal)
Adds the portal data.

Parameters:
portal - the portal

findLanguage

LanguageData findLanguage(Long id)
Find language.

Parameters:
id - the id
Returns:
the language data

findLanguageContent

LanguageContentData findLanguageContent(Long id)
Find language content.

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

findMatchingLanguage

LanguageData findMatchingLanguage(String acceptLanguageKeys)
Find matching language.

Parameters:
acceptLanguageKeys - the accept language keys
Returns:
the language data

findMatchingPortal

PortalData findMatchingPortal(String serverHost)
Find matching portal.

Parameters:
serverHost - the server host
Returns:
the portal data

getLanguageContentByKey

LanguageContentData getLanguageContentByKey(String key,
                                            LanguageData language)
Gets the language content by key.

Parameters:
key - the key
language - the language
Returns:
the language content by key

getLanguageContentByLanguage

Set<LanguageContentData> getLanguageContentByLanguage(LanguageData languageData)
Gets the language content by language.

Parameters:
languageData - the language data
Returns:
the language content by language

getLanguagesData

List<LanguageData> getLanguagesData()
Gets the languages data.

Returns:
the languages data

getPortalById

PortalData getPortalById(Long id)
Gets the portal by id.

Parameters:
id - the id
Returns:
the portal by id

getPortalsData

List<PortalData> getPortalsData()
Gets the portals data.

Returns:
the portals data

removeLanguageContent

void removeLanguageContent(LanguageContentData languageContent)
Removes the language content.

Parameters:
languageContent - the language content

removeLanguageData

void removeLanguageData(LanguageData language)
Removes the language data.

Parameters:
language - the language

removePortalData

void removePortalData(PortalData portal)
Removes the portal data.

Parameters:
portal - the portal

getLanguageContentByKey

LanguageContentData getLanguageContentByKey(LanguageContentKey winningPercentageByParty,
                                            LanguageData language)
Gets the language content by key.

Parameters:
winningPercentageByParty - the winning percentage by party
language - the language
Returns:
the language content by key


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