com.hack23.cia.web.viewfactory.api.user
Class ParliamentMemberSummaryModelAndView

Package class diagram package ParliamentMemberSummaryModelAndView
java.lang.Object
  extended by com.hack23.cia.web.viewfactory.api.common.AbstractModelAndView
      extended by com.hack23.cia.web.viewfactory.api.user.AbstractUserModelAndView
          extended by com.hack23.cia.web.viewfactory.api.user.AbstractParliamentModelAndView
              extended by com.hack23.cia.web.viewfactory.api.user.AbstractParliamentMemberModelAndView
                  extended by com.hack23.cia.web.viewfactory.api.user.ParliamentMemberSummaryModelAndView
All Implemented Interfaces:
ModelAndView, Serializable

public class ParliamentMemberSummaryModelAndView
extends AbstractParliamentMemberModelAndView

The Class ParliamentMemberSummaryModelAndView.

See Also:
Serialized Form

Nested Class Summary
static class ParliamentMemberSummaryModelAndView.ParliamentMemberSummaryViewSpecification
          The Enum ParliamentMemberSummaryViewSpecification.
 
Constructor Summary
ParliamentMemberSummaryModelAndView(UserSessionDTO userSessionDTO, ControllerAction controllerAction, ParliamentMemberSummaryModelAndView.ParliamentMemberSummaryViewSpecification parliamentMemberSummaryViewSpecification, ParliamentMember parliamentMember, List<ParliamentMemberVoteCompareResult> friendList, List<ParliamentMemberVoteCompareResult> enemyList, List<ParliamentMemberVoteCompareResult> friendPartyList, List<ParliamentMemberVoteCompareResult> enemyPartyList, List<Vote> votes, RegisterInformation registerInformation)
          Instantiates a new parliament member summary model and view.
 
Method Summary
 List<ParliamentMemberVoteCompareResult> getEnemyList()
          Gets the enemy list.
 List<ParliamentMemberVoteCompareResult> getEnemyPartyList()
          Gets the enemy party list.
 List<ParliamentMemberVoteCompareResult> getFriendList()
          Gets the friend list.
 List<ParliamentMemberVoteCompareResult> getFriendPartyList()
          Gets the friend party list.
 ParliamentMemberSummaryModelAndView.ParliamentMemberSummaryViewSpecification getParliamentMemberSummaryViewSpecification()
          Gets the parliament member summary view specification.
 RegisterInformation getRegisterInformation()
          Gets the register information.
 String getViewSpecificationDescription()
          Gets the view specification description.
 List<Vote> getVotes()
          Gets the votes.
 
Methods inherited from class com.hack23.cia.web.viewfactory.api.user.AbstractParliamentMemberModelAndView
getParliamentMember
 
Methods inherited from class com.hack23.cia.web.viewfactory.api.common.AbstractModelAndView
getControllerAction, getUserSessionDTO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParliamentMemberSummaryModelAndView

public ParliamentMemberSummaryModelAndView(UserSessionDTO userSessionDTO,
                                           ControllerAction controllerAction,
                                           ParliamentMemberSummaryModelAndView.ParliamentMemberSummaryViewSpecification parliamentMemberSummaryViewSpecification,
                                           ParliamentMember parliamentMember,
                                           List<ParliamentMemberVoteCompareResult> friendList,
                                           List<ParliamentMemberVoteCompareResult> enemyList,
                                           List<ParliamentMemberVoteCompareResult> friendPartyList,
                                           List<ParliamentMemberVoteCompareResult> enemyPartyList,
                                           List<Vote> votes,
                                           RegisterInformation registerInformation)
Instantiates a new parliament member summary model and view.

Parameters:
userSessionDTO - the user session dto
controllerAction - the controller action
parliamentMemberSummaryViewSpecification - the parliament member summary view specification
parliamentMember - the parliament member
friendList - the friend list
enemyList - the enemy list
friendPartyList - the friend party list
enemyPartyList - the enemy party list
votes - the votes
registerInformation - the register information
Method Detail

getEnemyList

public final List<ParliamentMemberVoteCompareResult> getEnemyList()
Gets the enemy list.

Returns:
the enemy list

getEnemyPartyList

public final List<ParliamentMemberVoteCompareResult> getEnemyPartyList()
Gets the enemy party list.

Returns:
the enemy party list

getFriendList

public final List<ParliamentMemberVoteCompareResult> getFriendList()
Gets the friend list.

Returns:
the friend list

getFriendPartyList

public final List<ParliamentMemberVoteCompareResult> getFriendPartyList()
Gets the friend party list.

Returns:
the friend party list

getParliamentMemberSummaryViewSpecification

public final ParliamentMemberSummaryModelAndView.ParliamentMemberSummaryViewSpecification getParliamentMemberSummaryViewSpecification()
Gets the parliament member summary view specification.

Returns:
the parliament member summary view specification

getRegisterInformation

public final RegisterInformation getRegisterInformation()
Gets the register information.

Returns:
the register information

getViewSpecificationDescription

public final String getViewSpecificationDescription()
Description copied from interface: ModelAndView
Gets the view specification description.

Specified by:
getViewSpecificationDescription in interface ModelAndView
Specified by:
getViewSpecificationDescription in class AbstractModelAndView
Returns:
the view specification description

getVotes

public final List<Vote> getVotes()
Gets the votes.

Returns:
the votes


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