com.hack23.cia.web.impl.ui.viewfactory.api.content
Class VotesModelAndView

Package class diagram package VotesModelAndView
java.lang.Object
  extended by com.hack23.cia.web.impl.ui.viewfactory.api.common.AbstractModelAndView
      extended by com.hack23.cia.web.impl.ui.viewfactory.api.content.AbstractUserModelAndView
          extended by com.hack23.cia.web.impl.ui.viewfactory.api.content.AbstractParliamentModelAndView
              extended by com.hack23.cia.web.impl.ui.viewfactory.api.content.VotesModelAndView
All Implemented Interfaces:
ModelAndView, Serializable

public class VotesModelAndView
extends AbstractParliamentModelAndView

The Class VotesModelAndView.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
VotesModelAndView(UserSessionDto userSessionDTO, ControllerAction controllerAction, VotesViewSpecification votesViewSpecification, List<VoteData> list)
          Instantiates a new votes model and view.
 
Method Summary
Modifier and Type Method and Description
 String getViewSpecificationDescription()
          Gets the view specification description.
 List<VoteData> getVotes()
          Gets the votes.
 VotesViewSpecification getVotesViewSpecification()
          Gets the votes view specification.
 
Methods inherited from class com.hack23.cia.web.impl.ui.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

VotesModelAndView

public VotesModelAndView(UserSessionDto userSessionDTO,
                         ControllerAction controllerAction,
                         VotesViewSpecification votesViewSpecification,
                         List<VoteData> list)
Instantiates a new votes model and view.

Parameters:
userSessionDTO - the user session dto
controllerAction - the controller action
votesViewSpecification - the votes view specification
list - the list
Method Detail

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<VoteData> getVotes()
Gets the votes.

Returns:
the votes

getVotesViewSpecification

public final VotesViewSpecification getVotesViewSpecification()
Gets the votes view specification.

Returns:
the votes view specification


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