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

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

public class UserModelAndView
extends AbstractUserModelAndView

The Class UserModelAndView.

See Also:
Serialized Form

Nested Class Summary
static class UserModelAndView.UserViewSpecification
          The Enum UserViewSpecification.
 
Constructor Summary
UserModelAndView(UserSessionDTO userSessionDTO, List<PoliticalParty> politicalParties, ControllerAction controllerAction, UserModelAndView.UserViewSpecification userViewSpecification)
          Instantiates a new user model and view.
 
Method Summary
 List<PoliticalParty> 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.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<PoliticalParty> 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<PoliticalParty> 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-2009 www.hack23.com. All Rights Reserved.