atg.commerce.csr.events
Class GiftItemEvent

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

public class GiftItemEvent
extends GiftlistEvent

The message class to be used to notify listeners when a CSR edits, adds, or removes a gift item

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Fields inherited from class atg.agent.events.AgentEvent
AGENT_TOOLS_COMPONENT, mCurrentSiteId
 
Constructor Summary
GiftItemEvent()
           
 
Method Summary
 java.lang.String getCatalogRefId()
          Returns property catalogRefId.
 long getNewQuantity()
          The new quantity of the item
 long getOldQuantity()
          The quantity of the item before the change
 void setCatalogRefId(java.lang.String pCatalogRefId)
          Sets property catalogRefId.
 void setNewQuantity(long pNewQuantity)
           
 void setOldQuantity(long pOldQuantity)
           
 
Methods inherited from class atg.commerce.csr.events.GiftlistEvent
getEventName, getGiftlistId, getPropertyUpdates, setEventName, setGiftlistId, setPropertyUpdates, 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
Constructor Detail

GiftItemEvent

public GiftItemEvent()
Method Detail

setCatalogRefId

public void setCatalogRefId(java.lang.String pCatalogRefId)
Sets property catalogRefId.

Parameters:
pCatalogRefId - The property to store the sku id.

getCatalogRefId

public java.lang.String getCatalogRefId()
Returns property catalogRefId.

Returns:
The value of the property catalogRefId.

setOldQuantity

public void setOldQuantity(long pOldQuantity)

getOldQuantity

public long getOldQuantity()
The quantity of the item before the change


setNewQuantity

public void setNewQuantity(long pNewQuantity)

getNewQuantity

public long getNewQuantity()
The new quantity of the item