com.hack23.cia.model.application.impl.user
Class AbstractParliamentActionEvent

Package class diagram package AbstractParliamentActionEvent
java.lang.Object
  extended by com.hack23.cia.model.common.impl.BaseEntity
      extended by com.hack23.cia.model.application.impl.common.AbstractActionEvent
          extended by com.hack23.cia.model.application.impl.user.AbstractUserActionEvent
              extended by com.hack23.cia.model.application.impl.user.AbstractParliamentActionEvent
All Implemented Interfaces:
ActionEvent, Event, ModelObject, PersistedModelObject, Serializable
Direct Known Subclasses:
AbstractTopListActionEvent, BallotActionEvent, CommitteeReportActionEvent, CommitteeReportsActionEvent, ParliamentMemberActionEvent, SearchActionEvent

@Entity
public abstract class AbstractParliamentActionEvent
extends AbstractUserActionEvent

The Class AbstractParliamentActionEvent.

See Also:
Serialized Form

Nested Class Summary
static class AbstractParliamentActionEvent.Operation
          The Enum Operation.
 
Constructor Summary
AbstractParliamentActionEvent(ActionEventType actionEventType)
          Instantiates a new abstract parliament action event.
AbstractParliamentActionEvent(Date createdDate, UserSession userSession)
          Instantiates a new abstract parliament action event.
 
Method Summary
 AbstractParliamentActionEvent.Operation getCitizenOperation()
          Gets the citizen operation.
 void setCitizenOperation(AbstractParliamentActionEvent.Operation citizenOperation)
          Sets the citizen operation.
 
Methods inherited from class com.hack23.cia.model.application.impl.common.AbstractActionEvent
computeExutionTime, getActionEventType, getCreatedDate, getExecutionTime, getId, getUserSession, getVersion, setActionEventType, setCreatedDate, setExecutionTime, setId, setUserSession, setVersion
 
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

AbstractParliamentActionEvent

public AbstractParliamentActionEvent(ActionEventType actionEventType)
Instantiates a new abstract parliament action event.

Parameters:
actionEventType - the action event type

AbstractParliamentActionEvent

public AbstractParliamentActionEvent(Date createdDate,
                                     UserSession userSession)
Instantiates a new abstract parliament action event.

Parameters:
createdDate - the created date
userSession - the user session
Method Detail

getCitizenOperation

public AbstractParliamentActionEvent.Operation getCitizenOperation()
Gets the citizen operation.

Returns:
the citizen operation

setCitizenOperation

public void setCitizenOperation(AbstractParliamentActionEvent.Operation citizenOperation)
Sets the citizen operation.

Parameters:
citizenOperation - the new citizen operation


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