com.hack23.cia.web.api.admin
Class AgencyAction

Package class diagram package AgencyAction
java.lang.Object
  extended by com.hack23.cia.web.api.common.AbstractAction
      extended by com.hack23.cia.web.api.admin.AbstractAdminAction
          extended by com.hack23.cia.web.api.admin.AbstractConfigurationAction
              extended by com.hack23.cia.web.api.admin.AgencyAction
All Implemented Interfaces:
ControllerAction, Serializable

public class AgencyAction
extends AbstractConfigurationAction

The Class AgencyAction.

See Also:
Serialized Form

Constructor Summary
AgencyAction(ConfigurationOperationType operation, Long agencyId)
          Instantiates a new agency action.
AgencyAction(ConfigurationOperationType operation, Long agencyId, AgencyDto agencyDto)
          Instantiates a new agency action.
 
Method Summary
 AgencyDto getAgencyDto()
          Gets the agency dto.
 Long getAgencyId()
          Gets the agency id.
 ConfigurationOperationType getOperation()
          Gets the operation.
 
Methods inherited from class com.hack23.cia.web.api.common.AbstractAction
getActionCategory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgencyAction

public AgencyAction(ConfigurationOperationType operation,
                    Long agencyId)
Instantiates a new agency action.

Parameters:
operation - the operation
agencyId - the agency id

AgencyAction

public AgencyAction(ConfigurationOperationType operation,
                    Long agencyId,
                    AgencyDto agencyDto)
Instantiates a new agency action.

Parameters:
operation - the operation
agencyId - the agency id
agencyDto - the agency dto
Method Detail

getAgencyDto

public final AgencyDto getAgencyDto()
Gets the agency dto.

Returns:
the agency dto

getAgencyId

public final Long getAgencyId()
Gets the agency id.

Returns:
the agency id

getOperation

public final ConfigurationOperationType getOperation()
Gets the operation.

Returns:
the operation


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