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

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

public class AgencyAction
extends AbstractConfigurationAction

The Class AgencyAction.

See Also:
Serialized Form

Constructor Summary
AgencyAction(AgencyActionEvent.Operation operation, Long agencyId)
          Instantiates a new agency action.
AgencyAction(AgencyActionEvent.Operation operation, Long agencyId, Agency agencyDto)
          Instantiates a new agency action.
 
Method Summary
 Agency getAgencyDto()
          Gets the agency dto.
 Long getAgencyId()
          Gets the agency id.
 AgencyActionEvent.Operation getOperation()
          Gets the operation.
 
Methods inherited from class com.hack23.cia.web.action.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(AgencyActionEvent.Operation operation,
                    Long agencyId)
Instantiates a new agency action.

Parameters:
operation - the operation
agencyId - the agency id

AgencyAction

public AgencyAction(AgencyActionEvent.Operation operation,
                    Long agencyId,
                    Agency agencyDto)
Instantiates a new agency action.

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

getAgencyDto

public final Agency 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 AgencyActionEvent.Operation getOperation()
Gets the operation.

Returns:
the operation


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