com.hack23.cia.web.viewfactory.api.common
Class AbstractModelAndView

Package class diagram package AbstractModelAndView
java.lang.Object
  extended by com.hack23.cia.web.viewfactory.api.common.AbstractModelAndView
All Implemented Interfaces:
ModelAndView, Serializable
Direct Known Subclasses:
AbstractAdminModelAndView, AbstractUserModelAndView, ApplicationModelAndView, ErrorMessageModelAndView

public abstract class AbstractModelAndView
extends Object
implements ModelAndView, Serializable

The Class AbstractModelAndView.

See Also:
Serialized Form

Constructor Summary
AbstractModelAndView(UserSessionDTO userSessionDTO, ControllerAction controllerAction)
          Instantiates a new abstract model and view.
 
Method Summary
 ControllerAction getControllerAction()
          Gets the controller action.
 UserSessionDTO getUserSessionDTO()
          Gets the user session dto.
abstract  String getViewSpecificationDescription()
          Gets the view specification description.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractModelAndView

public AbstractModelAndView(UserSessionDTO userSessionDTO,
                            ControllerAction controllerAction)
Instantiates a new abstract model and view.

Parameters:
userSessionDTO - the user session dto
controllerAction - the controller action
Method Detail

getControllerAction

public final ControllerAction getControllerAction()
Description copied from interface: ModelAndView
Gets the controller action.

Specified by:
getControllerAction in interface ModelAndView
Returns:
the controller action

getUserSessionDTO

public final UserSessionDTO getUserSessionDTO()
Description copied from interface: ModelAndView
Gets the user session dto.

Specified by:
getUserSessionDTO in interface ModelAndView
Returns:
the user session dto

getViewSpecificationDescription

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

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


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