atg.commerce.csr.events
Class ShippingGroupEvent

java.lang.Object
  extended by atg.agent.events.AgentEvent
      extended by atg.commerce.csr.events.OrderEvent
          extended by atg.commerce.csr.events.ShippingGroupEvent
All Implemented Interfaces:
PropertyUpdateEvent, atg.service.datacollection.TypedEvent, java.io.Serializable

public class ShippingGroupEvent
extends OrderEvent
implements PropertyUpdateEvent

The message class to be used to notify listeners when a CSR edits or adds a payment group

See Also:
Serialized Form

Field Summary
static int ADD_TYPE
          Event update type when a payment group is added
static java.lang.String CLASS_VERSION
           
static int EDIT_TYPE
          Event update type when a payment group property is modified
static int REMOVE_TYPE
          Event update type when a payment group is removed
 
Fields inherited from class atg.agent.events.AgentEvent
AGENT_TOOLS_COMPONENT, mCurrentSiteId
 
Constructor Summary
ShippingGroupEvent()
           
 
Method Summary
 java.util.List getPropertyUpdates()
           
 java.lang.String getShippingGroupId()
           
 int getUpdateType()
           
 void setPropertyUpdates(java.util.List pPropertyUpdates)
          Sets the list of PropertyUpdates
 void setShippingGroupId(java.lang.String pShippingGroupId)
          Sets the ID of the shipping group
 void setUpdateType(int pUpdateType)
          Update type.
 
Methods inherited from class atg.commerce.csr.events.OrderEvent
getAmount, getOrderId, setAmount, setOrderId, toString
 
Methods inherited from class atg.agent.events.AgentEvent
getAgentProfile, getCurrentSiteId, getCustomerProfile, getCustomerProfileId, getEventDate, getIPAddress, getOrganizationId, getParentSessionId, getProfileId, getSessionId, getTicketId, getType, initializeBaseProperties, setCurrentSiteId, setCustomerProfile, setCustomerProfileId, setEventDate, setIPAddress, setOrganizationId, setParentSessionId, setProfileId, setSessionId, setTicketId, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values

EDIT_TYPE

public static final int EDIT_TYPE
Event update type when a payment group property is modified

See Also:
Constant Field Values

REMOVE_TYPE

public static final int REMOVE_TYPE
Event update type when a payment group is removed

See Also:
Constant Field Values

ADD_TYPE

public static final int ADD_TYPE
Event update type when a payment group is added

See Also:
Constant Field Values
Constructor Detail

ShippingGroupEvent

public ShippingGroupEvent()
Method Detail

setShippingGroupId

public void setShippingGroupId(java.lang.String pShippingGroupId)
Sets the ID of the shipping group

Parameters:
pShippingGroupId - the ID of the shipping group

getShippingGroupId

public java.lang.String getShippingGroupId()
Returns:
the ID of the shipping group

setPropertyUpdates

public void setPropertyUpdates(java.util.List pPropertyUpdates)
Sets the list of PropertyUpdates

Parameters:
pPropertyUpdates - the list of PropertyUpdates

getPropertyUpdates

public java.util.List getPropertyUpdates()
Specified by:
getPropertyUpdates in interface PropertyUpdateEvent
Returns:
the list of PropertyUpdates

getUpdateType

public int getUpdateType()
Returns:
Returns the UpdateType.

setUpdateType

public void setUpdateType(int pUpdateType)
Update type.

Parameters:
pUpdateType - the type of update made.