com.hack23.cia.web.viewfactory.api.admin
Class PortalModelAndView

Package class diagram package PortalModelAndView
java.lang.Object
  extended by com.hack23.cia.web.viewfactory.api.common.AbstractModelAndView
      extended by com.hack23.cia.web.viewfactory.api.admin.AbstractAdminModelAndView
          extended by com.hack23.cia.web.viewfactory.api.admin.AbstractConfigurationModelAndView
              extended by com.hack23.cia.web.viewfactory.api.admin.AbstractAgencyModelAndView
                  extended by com.hack23.cia.web.viewfactory.api.admin.PortalModelAndView
All Implemented Interfaces:
ModelAndView, Serializable

public class PortalModelAndView
extends AbstractAgencyModelAndView

The Class PortalModelAndView.

See Also:
Serialized Form

Nested Class Summary
static class PortalModelAndView.PortalViewSpecification
          The Enum PortalViewSpecification.
 
Constructor Summary
PortalModelAndView(UserSessionDTO userSessionDTO, ControllerAction controllerAction, PortalModelAndView.PortalViewSpecification portalViewSpecification, Agency agency, Portal portal)
          Instantiates a new portal model and view.
 
Method Summary
 Portal 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.viewfactory.api.admin.AbstractAgencyModelAndView
getAgency
 
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

PortalModelAndView

public PortalModelAndView(UserSessionDTO userSessionDTO,
                          ControllerAction controllerAction,
                          PortalModelAndView.PortalViewSpecification portalViewSpecification,
                          Agency agency,
                          Portal portal)
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
portal - the portal
Method Detail

getPortal

public final Portal 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


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