com.hack23.cia.service.api.configuration
Class AgencyResponse

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

public class AgencyResponse
extends AbstractServiceResponse

The Class AgencyResponse.

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
AgencyResponse(UserSessionDto userSessionDTO, AgencyData agency)
          Instantiates a new agency response.
 
Method Summary
Modifier and Type Method and Description
 AgencyData getAgency()
          Gets the agency.
 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

AgencyResponse

public AgencyResponse(UserSessionDto userSessionDTO,
                      AgencyData agency)
Instantiates a new agency response.

Parameters:
userSessionDTO - the user session dto
agency - the agency
Method Detail

getAgency

public final AgencyData getAgency()
Gets the agency.

Returns:
the agency

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.