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

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

public class PortalModelAndView
extends AbstractConfigurationModelAndView

The Class PortalModelAndView.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Class and Description
static class PortalModelAndView.PortalViewSpecification
          The Enum PortalViewSpecification.
 
Constructor Summary
Constructor and Description
PortalModelAndView(UserSessionDto userSessionDTO, ControllerAction controllerAction, PortalModelAndView.PortalViewSpecification portalViewSpecification, AgencyData agency, PortalData portalData)
          Instantiates a new portal model and view.
 
Method Summary
Modifier and Type Method and Description
 AgencyData getAgency()
          Gets the agency.
 PortalData getPortal()
          Gets the portal.
 PortalModelAndView.PortalViewSpecification getPortalViewSpecification()
          Gets the portal 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

PortalModelAndView

public PortalModelAndView(UserSessionDto userSessionDTO,
                          ControllerAction controllerAction,
                          PortalModelAndView.PortalViewSpecification portalViewSpecification,
                          AgencyData agency,
                          PortalData portalData)
Instantiates a new portal model and view.

Parameters:
userSessionDTO - the user session dto
controllerAction - the controller action
portalViewSpecification - the portal view specification
agency - the agency
portalData - the portal data
Method Detail

getPortal

public final PortalData getPortal()
Gets the portal.

Returns:
the portal

getPortalViewSpecification

public final PortalModelAndView.PortalViewSpecification getPortalViewSpecification()
Gets the portal view specification.

Returns:
the portal 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.