|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationModelFactory
A factory for creating ApplicationModel objects.
Method Summary | |
---|---|
ActionEvent |
createAgencyActionEvent(Date date,
ConfigurationOperationType operation,
Long agencyId)
Creates a new ApplicationModel object. |
AgencyData |
createAgencyData()
Creates a new ApplicationModel object. |
AgencyDto |
createAgencyDto(AgencyData agencyData)
Creates a new ApplicationModel object. |
ActionEvent |
createAgentDeploymentActionEvent(Date date)
Creates a new ApplicationModel object. |
AgentOperation |
createAgentOperation()
Creates a new ApplicationModel object. |
ActionEvent |
createApplicationActionEvent(Date date)
Creates a new ApplicationModel object. |
ActionEvent |
createApplicationErrorActionEvent(Date date,
String string,
String errorMessage)
Creates a new ApplicationModel object. |
ActionEvent |
createBallotActionEvent(Date date,
Long ballotId)
Creates a new SwedenModel object. |
ActionEvent |
createCommitteeReportActionEvent(Date date,
Long committeeReportId)
Creates a new SwedenModel object. |
ActionEvent |
createCommitteeReportsActionEvent(Date date)
Creates a new SwedenModel object. |
ActionEvent |
createExternalUrlActionEvent(Date date,
ExternalUrlOperationType operation)
Creates a new ApplicationModel object. |
BinaryContent |
createImageContent()
Creates a new ApplicationModel object. |
ActionEvent |
createLanguageAgencyActionEvent(Date date,
Long id,
Long id2,
LanguageOperationType operation)
Creates a new ApplicationModel object. |
LanguageContentData |
createLanguageContent()
Creates a new ApplicationModel object. |
LanguageContentData |
createLanguageContent(LanguageData language)
Creates a new ApplicationModel object. |
ActionEvent |
createLanguageContentActionEvent(Date date,
Long id,
Long id2,
LanguageContentOperationType operation)
Creates a new ApplicationModel object. |
LanguageContentDto |
createLanguageContentDto(LanguageContentData updatedLanguageContent)
Creates a new ApplicationModel object. |
LanguageData |
createLanguageData()
Creates a new ApplicationModel object. |
LanguageDto |
createLanguageDto(LanguageData language)
Creates a new ApplicationModel object. |
ActionEvent |
createMonitorActionEvent(Date date,
MonitorOperationType operation)
Creates a new ApplicationModel object. |
ActionEvent |
createParliamentMemberActionEvent(Date date,
Long parliamentMemberId)
Creates a new SwedenModel object. |
ActionEvent |
createPartyActionEvent(Date date,
String party,
TopListOperationType operation)
Creates a new SwedenModel object. |
ActionEvent |
createPortalActionEvent(Date date,
PortalOperationType operation,
Long id)
Creates a new ApplicationModel object. |
PortalData |
createPortalData(AgencyData loadAgency)
Creates a new ApplicationModel object. |
PortalDto |
createPortalDto(PortalData portal)
Creates a new ApplicationModel object. |
ActionEvent |
createSearchActionEvent(Date date,
String searchArgument)
Creates a new SwedenModel object. |
ActionEvent |
createTopListActionEvent(Date date,
TopListOperationType operation)
Creates a new ApplicationModel object. |
ActionEvent |
createUserAccountActionEvent(Date date,
UserAccountOperationType operation)
Creates a new ApplicationModel object. |
ActionEvent |
createUserActionEvent(Date date,
UserOperationType operation)
Creates a new ApplicationModel object. |
UserData |
createUserData()
Creates a new ApplicationModel object. |
UserSessionData |
createUserSessionData(UserData user,
LanguageData language,
PortalData portal,
String sessionId,
String clientHost,
String serverHost,
Date date,
String userAgent)
Creates a new ApplicationModel object. |
UserSessionDto |
createUserSessionDto(UserSessionData userSession)
Creates a new ApplicationModel object. |
Class<? extends ActionEvent> |
getActionEventSpec()
Gets the action event spec. |
Class<? extends AgencyData> |
getAgencyDataSpec()
Gets the agency data spec. |
Class<? extends AgentOperation> |
getAgentOperationSpec()
Gets the agent operation spec. |
Class<? extends ApplicationErrorEventData> |
getApplicationErrorEventDataSpec()
Gets the application error event data spec. |
Class<? extends BinaryContent> |
getImageContentSpec()
Gets the image content spec. |
Class<? extends LanguageContentData> |
getLanguageContentDataSpec()
Gets the language content data spec. |
Class<? extends LanguageData> |
getLanguageDataSpec()
Gets the language data spec. |
Class<? extends PortalData> |
getPortalDataSpec()
Gets the portal data spec. |
Class<UserData> |
getRegisteredUserDataSpec()
Gets the registered user data spec. |
Class<? extends Resource> |
getResourceSpec()
Gets the resource spec. |
Class<? extends UserData> |
getUserDataSpec()
Gets the user data spec. |
Class<? extends UserSessionData> |
getUserSessionDataSpec()
Gets the user session data spec. |
Class<? extends VoteData> |
getVoteDataSpec()
Gets the vote data spec. |
Method Detail |
---|
ActionEvent createAgencyActionEvent(Date date, ConfigurationOperationType operation, Long agencyId)
date
- the dateoperation
- the operationagencyId
- the agency id
AgencyData createAgencyData()
AgencyDto createAgencyDto(AgencyData agencyData)
agencyData
- the agency data
ActionEvent createAgentDeploymentActionEvent(Date date)
date
- the date
AgentOperation createAgentOperation()
ActionEvent createApplicationActionEvent(Date date)
date
- the date
ActionEvent createApplicationErrorActionEvent(Date date, String string, String errorMessage)
date
- the datestring
- the stringerrorMessage
- the error message
ActionEvent createBallotActionEvent(Date date, Long ballotId)
date
- the dateballotId
- the ballot id
ActionEvent createCommitteeReportActionEvent(Date date, Long committeeReportId)
date
- the datecommitteeReportId
- the committee report id
ActionEvent createCommitteeReportsActionEvent(Date date)
date
- the date
ActionEvent createExternalUrlActionEvent(Date date, ExternalUrlOperationType operation)
date
- the dateoperation
- the operation
BinaryContent createImageContent()
ActionEvent createLanguageAgencyActionEvent(Date date, Long id, Long id2, LanguageOperationType operation)
date
- the dateid
- the idid2
- the id2operation
- the operation
LanguageContentData createLanguageContent()
LanguageContentData createLanguageContent(LanguageData language)
language
- the language
ActionEvent createLanguageContentActionEvent(Date date, Long id, Long id2, LanguageContentOperationType operation)
date
- the dateid
- the idid2
- the id2operation
- the operation
LanguageContentDto createLanguageContentDto(LanguageContentData updatedLanguageContent)
updatedLanguageContent
- the updated language content
LanguageData createLanguageData()
LanguageDto createLanguageDto(LanguageData language)
language
- the language
ActionEvent createMonitorActionEvent(Date date, MonitorOperationType operation)
date
- the dateoperation
- the operation
ActionEvent createParliamentMemberActionEvent(Date date, Long parliamentMemberId)
date
- the dateparliamentMemberId
- the parliament member id
ActionEvent createPartyActionEvent(Date date, String party, TopListOperationType operation)
date
- the dateparty
- the partyoperation
- the operation
ActionEvent createPortalActionEvent(Date date, PortalOperationType operation, Long id)
date
- the dateoperation
- the operationid
- the id
PortalData createPortalData(AgencyData loadAgency)
loadAgency
- the load agency
PortalDto createPortalDto(PortalData portal)
portal
- the portal
ActionEvent createSearchActionEvent(Date date, String searchArgument)
date
- the datesearchArgument
- the search argument
ActionEvent createTopListActionEvent(Date date, TopListOperationType operation)
date
- the dateoperation
- the operation
ActionEvent createUserAccountActionEvent(Date date, UserAccountOperationType operation)
date
- the dateoperation
- the operation
ActionEvent createUserActionEvent(Date date, UserOperationType operation)
date
- the dateoperation
- the operation
UserData createUserData()
UserSessionData createUserSessionData(UserData user, LanguageData language, PortalData portal, String sessionId, String clientHost, String serverHost, Date date, String userAgent)
user
- the userlanguage
- the languageportal
- the portalsessionId
- the session idclientHost
- the client hostserverHost
- the server hostdate
- the dateuserAgent
- the user agent
UserSessionDto createUserSessionDto(UserSessionData userSession)
userSession
- the user session
Class<? extends ActionEvent> getActionEventSpec()
Class<? extends AgencyData> getAgencyDataSpec()
Class<? extends AgentOperation> getAgentOperationSpec()
Class<? extends ApplicationErrorEventData> getApplicationErrorEventDataSpec()
Class<? extends BinaryContent> getImageContentSpec()
Class<? extends LanguageContentData> getLanguageContentDataSpec()
Class<? extends LanguageData> getLanguageDataSpec()
Class<? extends PortalData> getPortalDataSpec()
Class<UserData> getRegisteredUserDataSpec()
Class<? extends Resource> getResourceSpec()
Class<? extends UserData> getUserDataSpec()
Class<? extends UserSessionData> getUserSessionDataSpec()
Class<? extends VoteData> getVoteDataSpec()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |