com.hack23.cia.web.viewfactory.api.application
Class ApplicationModelAndView

Package class diagram package ApplicationModelAndView
java.lang.Object
  extended by com.hack23.cia.web.viewfactory.api.common.AbstractModelAndView
      extended by com.hack23.cia.web.viewfactory.api.application.ApplicationModelAndView
All Implemented Interfaces:
ModelAndView, Serializable

public class ApplicationModelAndView
extends AbstractModelAndView

The Class ApplicationModelAndView.

See Also:
Serialized Form

Nested Class Summary
static class ApplicationModelAndView.ApplicationViewSpecification
          The Enum ApplicationViewSpecification.
 
Constructor Summary
ApplicationModelAndView(UserSessionDTO userSessionDTO, ControllerAction controllerAction, ApplicationModelAndView.ApplicationViewSpecification applicationViewSpecification, Agency agency, List<CommitteeReport> committeeReports, List<PoliticalParty> politicalParties)
          Instantiates a new application model and view.
 
Method Summary
 Agency getAgency()
          Gets the agency.
 ApplicationModelAndView.ApplicationViewSpecification getApplicationViewSpecification()
          Gets the application view specification.
 List<CommitteeReport> getCommitteeReports()
          Gets the committee reports.
 List<PoliticalParty> getPoliticalParties()
          Gets the political parties.
 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

ApplicationModelAndView

public ApplicationModelAndView(UserSessionDTO userSessionDTO,
                               ControllerAction controllerAction,
                               ApplicationModelAndView.ApplicationViewSpecification applicationViewSpecification,
                               Agency agency,
                               List<CommitteeReport> committeeReports,
                               List<PoliticalParty> politicalParties)
Instantiates a new application model and view.

Parameters:
userSessionDTO - the user session dto
controllerAction - the controller action
applicationViewSpecification - the application view specification
agency - the agency
committeeReports - the committee reports
politicalParties - the political parties
Method Detail

getAgency

public final Agency getAgency()
Gets the agency.

Returns:
the agency

getApplicationViewSpecification

public final ApplicationModelAndView.ApplicationViewSpecification getApplicationViewSpecification()
Gets the application view specification.

Returns:
the application view specification

getCommitteeReports

public final List<CommitteeReport> getCommitteeReports()
Gets the committee reports.

Returns:
the committee reports

getPoliticalParties

public final List<PoliticalParty> getPoliticalParties()
Gets the political parties.

Returns:
the political parties

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.