com.hack23.cia.model.api.dto.application
Interface ApplicationModelFactory

Package class diagram package ApplicationModelFactory
All Superinterfaces:
ModelFactory
All Known Implementing Classes:
ApplicationModelFactoryImpl

public interface ApplicationModelFactory
extends ModelFactory

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

createAgencyActionEvent

ActionEvent createAgencyActionEvent(Date date,
                                    ConfigurationOperationType operation,
                                    Long agencyId)
Creates a new ApplicationModel object.

Parameters:
date - the date
operation - the operation
agencyId - the agency id
Returns:
the action event

createAgencyData

AgencyData createAgencyData()
Creates a new ApplicationModel object.

Returns:
the agency data

createAgencyDto

AgencyDto createAgencyDto(AgencyData agencyData)
Creates a new ApplicationModel object.

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

createAgentDeploymentActionEvent

ActionEvent createAgentDeploymentActionEvent(Date date)
Creates a new ApplicationModel object.

Parameters:
date - the date
Returns:
the action event

createAgentOperation

AgentOperation createAgentOperation()
Creates a new ApplicationModel object.

Returns:
the agent operation

createApplicationActionEvent

ActionEvent createApplicationActionEvent(Date date)
Creates a new ApplicationModel object.

Parameters:
date - the date
Returns:
the action event

createApplicationErrorActionEvent

ActionEvent createApplicationErrorActionEvent(Date date,
                                              String string,
                                              String errorMessage)
Creates a new ApplicationModel object.

Parameters:
date - the date
string - the string
errorMessage - the error message
Returns:
the action event

createBallotActionEvent

ActionEvent createBallotActionEvent(Date date,
                                    Long ballotId)
Creates a new SwedenModel object.

Parameters:
date - the date
ballotId - the ballot id
Returns:
the action event

createCommitteeReportActionEvent

ActionEvent createCommitteeReportActionEvent(Date date,
                                             Long committeeReportId)
Creates a new SwedenModel object.

Parameters:
date - the date
committeeReportId - the committee report id
Returns:
the action event

createCommitteeReportsActionEvent

ActionEvent createCommitteeReportsActionEvent(Date date)
Creates a new SwedenModel object.

Parameters:
date - the date
Returns:
the action event

createExternalUrlActionEvent

ActionEvent createExternalUrlActionEvent(Date date,
                                         ExternalUrlOperationType operation)
Creates a new ApplicationModel object.

Parameters:
date - the date
operation - the operation
Returns:
the action event

createImageContent

BinaryContent createImageContent()
Creates a new ApplicationModel object.

Returns:
the binary content

createLanguageAgencyActionEvent

ActionEvent createLanguageAgencyActionEvent(Date date,
                                            Long id,
                                            Long id2,
                                            LanguageOperationType operation)
Creates a new ApplicationModel object.

Parameters:
date - the date
id - the id
id2 - the id2
operation - the operation
Returns:
the action event

createLanguageContent

LanguageContentData createLanguageContent()
Creates a new ApplicationModel object.

Returns:
the language content data

createLanguageContent

LanguageContentData createLanguageContent(LanguageData language)
Creates a new ApplicationModel object.

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

createLanguageContentActionEvent

ActionEvent createLanguageContentActionEvent(Date date,
                                             Long id,
                                             Long id2,
                                             LanguageContentOperationType operation)
Creates a new ApplicationModel object.

Parameters:
date - the date
id - the id
id2 - the id2
operation - the operation
Returns:
the action event

createLanguageContentDto

LanguageContentDto createLanguageContentDto(LanguageContentData updatedLanguageContent)
Creates a new ApplicationModel object.

Parameters:
updatedLanguageContent - the updated language content
Returns:
the language content dto

createLanguageData

LanguageData createLanguageData()
Creates a new ApplicationModel object.

Returns:
the language data

createLanguageDto

LanguageDto createLanguageDto(LanguageData language)
Creates a new ApplicationModel object.

Parameters:
language - the language
Returns:
the language dto

createMonitorActionEvent

ActionEvent createMonitorActionEvent(Date date,
                                     MonitorOperationType operation)
Creates a new ApplicationModel object.

Parameters:
date - the date
operation - the operation
Returns:
the action event

createParliamentMemberActionEvent

ActionEvent createParliamentMemberActionEvent(Date date,
                                              Long parliamentMemberId)
Creates a new SwedenModel object.

Parameters:
date - the date
parliamentMemberId - the parliament member id
Returns:
the action event

createPartyActionEvent

ActionEvent createPartyActionEvent(Date date,
                                   String party,
                                   TopListOperationType operation)
Creates a new SwedenModel object.

Parameters:
date - the date
party - the party
operation - the operation
Returns:
the action event

createPortalActionEvent

ActionEvent createPortalActionEvent(Date date,
                                    PortalOperationType operation,
                                    Long id)
Creates a new ApplicationModel object.

Parameters:
date - the date
operation - the operation
id - the id
Returns:
the action event

createPortalData

PortalData createPortalData(AgencyData loadAgency)
Creates a new ApplicationModel object.

Parameters:
loadAgency - the load agency
Returns:
the portal data

createPortalDto

PortalDto createPortalDto(PortalData portal)
Creates a new ApplicationModel object.

Parameters:
portal - the portal
Returns:
the portal dto

createSearchActionEvent

ActionEvent createSearchActionEvent(Date date,
                                    String searchArgument)
Creates a new SwedenModel object.

Parameters:
date - the date
searchArgument - the search argument
Returns:
the action event

createTopListActionEvent

ActionEvent createTopListActionEvent(Date date,
                                     TopListOperationType operation)
Creates a new ApplicationModel object.

Parameters:
date - the date
operation - the operation
Returns:
the action event

createUserAccountActionEvent

ActionEvent createUserAccountActionEvent(Date date,
                                         UserAccountOperationType operation)
Creates a new ApplicationModel object.

Parameters:
date - the date
operation - the operation
Returns:
the action event

createUserActionEvent

ActionEvent createUserActionEvent(Date date,
                                  UserOperationType operation)
Creates a new ApplicationModel object.

Parameters:
date - the date
operation - the operation
Returns:
the action event

createUserData

UserData createUserData()
Creates a new ApplicationModel object.

Returns:
the user data

createUserSessionData

UserSessionData createUserSessionData(UserData user,
                                      LanguageData language,
                                      PortalData portal,
                                      String sessionId,
                                      String clientHost,
                                      String serverHost,
                                      Date date,
                                      String userAgent)
Creates a new ApplicationModel object.

Parameters:
user - the user
language - the language
portal - the portal
sessionId - the session id
clientHost - the client host
serverHost - the server host
date - the date
userAgent - the user agent
Returns:
the user session data

createUserSessionDto

UserSessionDto createUserSessionDto(UserSessionData userSession)
Creates a new ApplicationModel object.

Parameters:
userSession - the user session
Returns:
the user session dto

getActionEventSpec

Class<? extends ActionEvent> getActionEventSpec()
Gets the action event spec.

Returns:
the action event spec

getAgencyDataSpec

Class<? extends AgencyData> getAgencyDataSpec()
Gets the agency data spec.

Returns:
the agency data spec

getAgentOperationSpec

Class<? extends AgentOperation> getAgentOperationSpec()
Gets the agent operation spec.

Returns:
the agent operation spec

getApplicationErrorEventDataSpec

Class<? extends ApplicationErrorEventData> getApplicationErrorEventDataSpec()
Gets the application error event data spec.

Returns:
the application error event data spec

getImageContentSpec

Class<? extends BinaryContent> getImageContentSpec()
Gets the image content spec.

Returns:
the image content spec

getLanguageContentDataSpec

Class<? extends LanguageContentData> getLanguageContentDataSpec()
Gets the language content data spec.

Returns:
the language content data spec

getLanguageDataSpec

Class<? extends LanguageData> getLanguageDataSpec()
Gets the language data spec.

Returns:
the language data spec

getPortalDataSpec

Class<? extends PortalData> getPortalDataSpec()
Gets the portal data spec.

Returns:
the portal data spec

getRegisteredUserDataSpec

Class<UserData> getRegisteredUserDataSpec()
Gets the registered user data spec.

Returns:
the registered user data spec

getResourceSpec

Class<? extends Resource> getResourceSpec()
Gets the resource spec.

Returns:
the resource spec

getUserDataSpec

Class<? extends UserData> getUserDataSpec()
Gets the user data spec.

Returns:
the user data spec

getUserSessionDataSpec

Class<? extends UserSessionData> getUserSessionDataSpec()
Gets the user session data spec.

Returns:
the user session data spec

getVoteDataSpec

Class<? extends VoteData> getVoteDataSpec()
Gets the vote data spec.

Returns:
the vote data spec


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