|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.model.impl.dto.common.AbstractModelFactoryImpl com.hack23.cia.model.impl.dto.application.ApplicationModelFactoryImpl
public class ApplicationModelFactoryImpl
The Class ApplicationModelFactoryImpl.
Constructor Summary | |
---|---|
ApplicationModelFactoryImpl()
|
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 stackTrace,
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 agencyId,
Long languageId,
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 createdDate,
Long agencyId,
Long languageContentId,
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 createdDate,
PortalOperationType operation,
Long portalId)
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationModelFactoryImpl()
Method Detail |
---|
public final ActionEvent createAgencyActionEvent(Date date, ConfigurationOperationType operation, Long agencyId)
ApplicationModelFactory
createAgencyActionEvent
in interface ApplicationModelFactory
date
- the dateoperation
- the operationagencyId
- the agency id
public final AgencyData createAgencyData()
ApplicationModelFactory
createAgencyData
in interface ApplicationModelFactory
public final AgencyDto createAgencyDto(AgencyData agencyData)
ApplicationModelFactory
createAgencyDto
in interface ApplicationModelFactory
agencyData
- the agency data
public final ActionEvent createAgentDeploymentActionEvent(Date date)
ApplicationModelFactory
createAgentDeploymentActionEvent
in interface ApplicationModelFactory
date
- the date
public final AgentOperation createAgentOperation()
ApplicationModelFactory
createAgentOperation
in interface ApplicationModelFactory
public final ActionEvent createApplicationActionEvent(Date date)
ApplicationModelFactory
createApplicationActionEvent
in interface ApplicationModelFactory
date
- the date
public final ActionEvent createApplicationErrorActionEvent(Date date, String stackTrace, String errorMessage)
ApplicationModelFactory
createApplicationErrorActionEvent
in interface ApplicationModelFactory
date
- the datestackTrace
- the stringerrorMessage
- the error message
public final ActionEvent createBallotActionEvent(Date date, Long ballotId)
ApplicationModelFactory
createBallotActionEvent
in interface ApplicationModelFactory
date
- the dateballotId
- the ballot id
public final ActionEvent createCommitteeReportActionEvent(Date date, Long committeeReportId)
ApplicationModelFactory
createCommitteeReportActionEvent
in interface ApplicationModelFactory
date
- the datecommitteeReportId
- the committee report id
public final ActionEvent createCommitteeReportsActionEvent(Date date)
ApplicationModelFactory
createCommitteeReportsActionEvent
in interface ApplicationModelFactory
date
- the date
public final ActionEvent createExternalUrlActionEvent(Date date, ExternalUrlOperationType operation)
ApplicationModelFactory
createExternalUrlActionEvent
in interface ApplicationModelFactory
date
- the dateoperation
- the operation
public final BinaryContent createImageContent()
ApplicationModelFactory
createImageContent
in interface ApplicationModelFactory
public final ActionEvent createLanguageAgencyActionEvent(Date date, Long agencyId, Long languageId, LanguageOperationType operation)
ApplicationModelFactory
createLanguageAgencyActionEvent
in interface ApplicationModelFactory
date
- the dateagencyId
- the idlanguageId
- the id2operation
- the operation
public final LanguageContentData createLanguageContent()
ApplicationModelFactory
createLanguageContent
in interface ApplicationModelFactory
public final LanguageContentData createLanguageContent(LanguageData language)
ApplicationModelFactory
createLanguageContent
in interface ApplicationModelFactory
language
- the language
public final ActionEvent createLanguageContentActionEvent(Date createdDate, Long agencyId, Long languageContentId, LanguageContentOperationType operation)
ApplicationModelFactory
createLanguageContentActionEvent
in interface ApplicationModelFactory
createdDate
- the dateagencyId
- the idlanguageContentId
- the id2operation
- the operation
public final LanguageContentDto createLanguageContentDto(LanguageContentData updatedLanguageContent)
ApplicationModelFactory
createLanguageContentDto
in interface ApplicationModelFactory
updatedLanguageContent
- the updated language content
public final LanguageData createLanguageData()
ApplicationModelFactory
createLanguageData
in interface ApplicationModelFactory
public final LanguageDto createLanguageDto(LanguageData language)
ApplicationModelFactory
createLanguageDto
in interface ApplicationModelFactory
language
- the language
public final ActionEvent createMonitorActionEvent(Date date, MonitorOperationType operation)
ApplicationModelFactory
createMonitorActionEvent
in interface ApplicationModelFactory
date
- the dateoperation
- the operation
public final ActionEvent createParliamentMemberActionEvent(Date date, Long parliamentMemberId)
ApplicationModelFactory
createParliamentMemberActionEvent
in interface ApplicationModelFactory
date
- the dateparliamentMemberId
- the parliament member id
public final ActionEvent createPartyActionEvent(Date date, String party, TopListOperationType operation)
ApplicationModelFactory
createPartyActionEvent
in interface ApplicationModelFactory
date
- the dateparty
- the partyoperation
- the operation
public final ActionEvent createPortalActionEvent(Date createdDate, PortalOperationType operation, Long portalId)
ApplicationModelFactory
createPortalActionEvent
in interface ApplicationModelFactory
createdDate
- the dateoperation
- the operationportalId
- the id
public final PortalData createPortalData(AgencyData loadAgency)
ApplicationModelFactory
createPortalData
in interface ApplicationModelFactory
loadAgency
- the load agency
public final PortalDto createPortalDto(PortalData portal)
ApplicationModelFactory
createPortalDto
in interface ApplicationModelFactory
portal
- the portal
public final ActionEvent createSearchActionEvent(Date date, String searchArgument)
ApplicationModelFactory
createSearchActionEvent
in interface ApplicationModelFactory
date
- the datesearchArgument
- the search argument
public final ActionEvent createTopListActionEvent(Date date, TopListOperationType operation)
ApplicationModelFactory
createTopListActionEvent
in interface ApplicationModelFactory
date
- the dateoperation
- the operation
public final ActionEvent createUserAccountActionEvent(Date date, UserAccountOperationType operation)
ApplicationModelFactory
createUserAccountActionEvent
in interface ApplicationModelFactory
date
- the dateoperation
- the operation
public final ActionEvent createUserActionEvent(Date date, UserOperationType operation)
ApplicationModelFactory
createUserActionEvent
in interface ApplicationModelFactory
date
- the dateoperation
- the operation
public final UserData createUserData()
ApplicationModelFactory
createUserData
in interface ApplicationModelFactory
public final UserSessionData createUserSessionData(UserData user, LanguageData language, PortalData portal, String sessionId, String clientHost, String serverHost, Date date, String userAgent)
ApplicationModelFactory
createUserSessionData
in interface ApplicationModelFactory
user
- the userlanguage
- the languageportal
- the portalsessionId
- the session idclientHost
- the client hostserverHost
- the server hostdate
- the dateuserAgent
- the user agent
public final UserSessionDto createUserSessionDto(UserSessionData userSession)
ApplicationModelFactory
createUserSessionDto
in interface ApplicationModelFactory
userSession
- the user session
public final Class<? extends ActionEvent> getActionEventSpec()
ApplicationModelFactory
getActionEventSpec
in interface ApplicationModelFactory
public final Class<? extends AgencyData> getAgencyDataSpec()
ApplicationModelFactory
getAgencyDataSpec
in interface ApplicationModelFactory
public final Class<? extends AgentOperation> getAgentOperationSpec()
ApplicationModelFactory
getAgentOperationSpec
in interface ApplicationModelFactory
public final Class<? extends ApplicationErrorEventData> getApplicationErrorEventDataSpec()
ApplicationModelFactory
getApplicationErrorEventDataSpec
in interface ApplicationModelFactory
public final Class<? extends BinaryContent> getImageContentSpec()
ApplicationModelFactory
getImageContentSpec
in interface ApplicationModelFactory
public final Class<? extends LanguageContentData> getLanguageContentDataSpec()
ApplicationModelFactory
getLanguageContentDataSpec
in interface ApplicationModelFactory
public final Class<? extends LanguageData> getLanguageDataSpec()
ApplicationModelFactory
getLanguageDataSpec
in interface ApplicationModelFactory
public final Class<? extends PortalData> getPortalDataSpec()
ApplicationModelFactory
getPortalDataSpec
in interface ApplicationModelFactory
public final Class getRegisteredUserDataSpec()
ApplicationModelFactory
getRegisteredUserDataSpec
in interface ApplicationModelFactory
public final Class<? extends Resource> getResourceSpec()
ApplicationModelFactory
getResourceSpec
in interface ApplicationModelFactory
public final Class<? extends UserData> getUserDataSpec()
ApplicationModelFactory
getUserDataSpec
in interface ApplicationModelFactory
public final Class<? extends UserSessionData> getUserSessionDataSpec()
ApplicationModelFactory
getUserSessionDataSpec
in interface ApplicationModelFactory
public final Class<? extends VoteData> getVoteDataSpec()
ApplicationModelFactory
getVoteDataSpec
in interface ApplicationModelFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |