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

java.lang.Objectcom.hack23.cia.model.common.impl.BaseEntity
com.hack23.cia.model.application.impl.common.Agency
@Entity public class Agency
The Class Agency.
| Nested Class Summary | |
|---|---|
static class |
Agency.LanguageContentKey
The Enum LanguageContentKey. |
| Constructor Summary | |
|---|---|
Agency()
|
|
| Method Summary | |
|---|---|
Language |
findLanguage(Long languageId)
Find language. |
LanguageContent |
findLanguageContent(Long languageContentId)
Find language content. |
Language |
findMatchingLanguage(String acceptLanguagesCsv)
Find matching language. |
Portal |
findMatchingPortal(String headerHost)
Find matching portal. |
Role[] |
getActorRoles()
Gets the actor roles. |
Long |
getId()
Gets the id. |
Set<LanguageContent> |
getLanguageContent()
Gets the language content. |
LanguageContent |
getLanguageContentByKey(Agency.LanguageContentKey key,
Language language)
Gets the language content by key. |
LanguageContent |
getLanguageContentByKey(String key,
Language language)
Gets the language content by key. |
Set<LanguageContent> |
getLanguageContentByLanguage(Language language)
Gets the language content by language. |
Set<Language> |
getLanguages()
Gets the languages. |
String |
getName()
Gets the name. |
Portal |
getPortalById(Long portalId)
Gets the portal by id. |
Set<Portal> |
getPortals()
Gets the portals. |
Long |
getVersion()
Gets the version. |
void |
setActorRoles(Role[] roles)
Sets the actor roles. |
void |
setId(Long id)
Sets the id. |
void |
setLanguageContent(Set<LanguageContent> languageContent)
Sets the language content. |
void |
setLanguages(Set<Language> languages)
Sets the languages. |
void |
setName(String name)
Sets the name. |
void |
setPortals(Set<Portal> portals)
Sets the portals. |
void |
setVersion(Long version)
Sets the version. |
| Methods inherited from class com.hack23.cia.model.common.impl.BaseEntity |
|---|
equals, hashCode, isNew |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.hack23.cia.model.common.api.PersistedModelObject |
|---|
isNew |
| Constructor Detail |
|---|
public Agency()
| Method Detail |
|---|
public Language findLanguage(Long languageId)
languageId - the language id
public LanguageContent findLanguageContent(Long languageContentId)
languageContentId - the language content id
public Language findMatchingLanguage(String acceptLanguagesCsv)
acceptLanguagesCsv - the accept languages csv
public Portal findMatchingPortal(String headerHost)
headerHost - the header host
public Role[] getActorRoles()
Actor
getActorRoles in interface Actorpublic Long getId()
BaseEntity
getId in interface PersistedModelObjectgetId in class BaseEntitypublic Set<LanguageContent> getLanguageContent()
public LanguageContent getLanguageContentByKey(Agency.LanguageContentKey key,
Language language)
key - the keylanguage - the language
public LanguageContent getLanguageContentByKey(String key,
Language language)
key - the keylanguage - the language
public Set<LanguageContent> getLanguageContentByLanguage(Language language)
language - the language
public Set<Language> getLanguages()
public String getName()
Actor
getName in interface Actorpublic Portal getPortalById(Long portalId)
portalId - the portal id
public Set<Portal> getPortals()
public Long getVersion()
BaseEntity
getVersion in interface PersistedModelObjectgetVersion in class BaseEntitypublic void setActorRoles(Role[] roles)
Actor
setActorRoles in interface Actorroles - the new actor rolespublic void setId(Long id)
PersistedModelObject
setId in interface PersistedModelObjectid - the new idpublic void setLanguageContent(Set<LanguageContent> languageContent)
languageContent - the new language contentpublic void setLanguages(Set<Language> languages)
languages - the new languagespublic void setName(String name)
Actor
setName in interface Actorname - the new namepublic void setPortals(Set<Portal> portals)
portals - the new portalspublic void setVersion(Long version)
PersistedModelObject
setVersion in interface PersistedModelObjectversion - the new version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||