com.hack23.cia.web.impl.ui.viewfactory.api.configuration
Class AgencyModelAndView

Package class diagram package AgencyModelAndView
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.configuration.AbstractConfigurationModelAndView
          extended by com.hack23.cia.web.impl.ui.viewfactory.api.configuration.AgencyModelAndView
All Implemented Interfaces:
ModelAndView, Serializable

public class AgencyModelAndView
extends AbstractConfigurationModelAndView

The Class AgencyModelAndView.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
static class AgencyModelAndView.AgencyViewSpecification
          The Enum AgencyViewSpecification.
 
Constructor Summary
Constructor and Description
AgencyModelAndView(UserSessionDto userSessionDTO, ControllerAction controllerAction, AgencyModelAndView.AgencyViewSpecification agencyViewSpecification, AgencyData agencyData)
          Instantiates a new agency model and view.
 
Method Summary
Modifier and Type Method and Description
 AgencyData getAgency()
          Gets the agency.
 AgencyModelAndView.AgencyViewSpecification getAgencyViewSpecification()
          Gets the agency 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

AgencyModelAndView

public AgencyModelAndView(UserSessionDto userSessionDTO,
                          ControllerAction controllerAction,
                          AgencyModelAndView.AgencyViewSpecification agencyViewSpecification,
                          AgencyData agencyData)
Instantiates a new agency model and view.

Parameters:
userSessionDTO - the user session dto
controllerAction - the controller action
agencyViewSpecification - the agency view specification
agencyData - the agency data
Method Detail

getAgencyViewSpecification

public final AgencyModelAndView.AgencyViewSpecification getAgencyViewSpecification()
Gets the agency view specification.

Returns:
the agency 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

getAgency

public final AgencyData getAgency()
Gets the agency.

Returns:
the agency


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