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

Package class diagram package UserModelAndView
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.UserModelAndView
All Implemented Interfaces:
ModelAndView, Serializable

public class UserModelAndView
extends AbstractUserModelAndView

The Class UserModelAndView.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
static class UserModelAndView.UserViewSpecification
          The Enum UserViewSpecification.
 
Constructor Summary
Constructor and Description
UserModelAndView(UserSessionDto userSessionDTO, List<PoliticalPartyData> politicalParties, ControllerAction controllerAction, UserModelAndView.UserViewSpecification userViewSpecification)
          Instantiates a new user model and view.
 
Method Summary
Modifier and Type Method and Description
 List<PoliticalPartyData> getPoliticalParties()
          Gets the political parties.
 UserModelAndView.UserViewSpecification getUserViewSpecification()
          Gets the user view specification.
 String getViewSpecificationDescription()
          Gets the view specification description.
 
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

UserModelAndView

public UserModelAndView(UserSessionDto userSessionDTO,
                        List<PoliticalPartyData> politicalParties,
                        ControllerAction controllerAction,
                        UserModelAndView.UserViewSpecification userViewSpecification)
Instantiates a new user model and view.

Parameters:
userSessionDTO - the user session dto
politicalParties - the political parties
controllerAction - the controller action
userViewSpecification - the user view specification
Method Detail

getPoliticalParties

public final List<PoliticalPartyData> getPoliticalParties()
Gets the political parties.

Returns:
the political parties

getUserViewSpecification

public final UserModelAndView.UserViewSpecification getUserViewSpecification()
Gets the user view specification.

Returns:
the user view specification

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


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