com.hack23.cia.service.api.control
Class ApplicationResponse

Package class diagram package ApplicationResponse
java.lang.Object
  extended by com.hack23.cia.service.api.common.AbstractServiceResponse
      extended by com.hack23.cia.service.api.control.ApplicationResponse
All Implemented Interfaces:
ServiceMessage, ServiceResponse, Serializable

public class ApplicationResponse
extends AbstractServiceResponse

The Class ApplicationResponse.

See Also:
Serialized Form

Nested Class Summary
Modifier and Type Interface and Description
 
Nested classes/interfaces inherited from interface com.hack23.cia.service.api.common.ServiceResponse
ServiceResponse.ServiceResult
 
Constructor Summary
Constructor and Description
ApplicationResponse(UserSessionDto userSessionDTO, AgencyData agencyData, List<CommitteeReportData> lastDecidedCommiteeReports, List<PoliticalPartyData> politicalParties)
          Instantiates a new application response.
 
Method Summary
Modifier and Type Method and Description
 AgencyData getAgency()
          Gets the agency.
 List<CommitteeReportData> getLastDecidedCommiteeReports()
          Gets the last decided commitee reports.
 List<PoliticalPartyData> getPoliticalParties()
          Gets the political parties.
 ServiceResponse.ServiceResult getResult()
          Gets the result.
 
Methods inherited from class com.hack23.cia.service.api.common.AbstractServiceResponse
getUserSessionDTO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationResponse

public ApplicationResponse(UserSessionDto userSessionDTO,
                           AgencyData agencyData,
                           List<CommitteeReportData> lastDecidedCommiteeReports,
                           List<PoliticalPartyData> politicalParties)
Instantiates a new application response.

Parameters:
userSessionDTO - the user session dto
agencyData - the agency data
lastDecidedCommiteeReports - the last decided commitee reports
politicalParties - the political parties
Method Detail

getAgency

public final AgencyData getAgency()
Gets the agency.

Returns:
the agency

getLastDecidedCommiteeReports

public final List<CommitteeReportData> getLastDecidedCommiteeReports()
Gets the last decided commitee reports.

Returns:
the last decided commitee reports

getPoliticalParties

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

Returns:
the political parties

getResult

public final ServiceResponse.ServiceResult getResult()
Description copied from interface: ServiceResponse
Gets the result.

Returns:
the result


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