Package com.portal.app.cc.event
Class HoldingsChangeEvent
java.lang.Object
java.util.EventObject
com.portal.app.cc.event.HoldingsChangeEvent
- All Implemented Interfaces:
Serializable
The event sent out when deals/services gets purchased during
purchase offering.
- Version:
- %version: 2 % %date_modified: Mon Jul 02 15:17:26 2001 %
- Author:
- kapono
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Indicates a deal has been purchased.static final int
Indicates a plan without any services has been purchased.static final int
Indicates a plan with at least one additional service has been purchased.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionHoldingsChangeEvent
(Object source, PModelHandle pm, int type) Constructs a HoldingsChangeEvent object. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
PURCHASE_DEAL
public static final int PURCHASE_DEALIndicates a deal has been purchased.- See Also:
-
PURCHASE_PLAN_WITH_SERVICES
public static final int PURCHASE_PLAN_WITH_SERVICESIndicates a plan with at least one additional service has been purchased.- See Also:
-
PURCHASE_PLAN_WITH_NO_SERVICES
public static final int PURCHASE_PLAN_WITH_NO_SERVICESIndicates a plan without any services has been purchased.- See Also:
-
-
Constructor Details
-
HoldingsChangeEvent
Constructs a HoldingsChangeEvent object.- Parameters:
source
- the Object that is the source of the event (typicallythis
)pm
- the input model handle for opcode calls during purchase offering.type
- the event type
-
-
Method Details
-
getType
public int getType()- Returns:
- The event type (PURCHASE_PLAN, PURCHASE_DEAL)
-
getModelHandle
- Returns:
- The PModelHandle that was returned from the Purchase Offering wizard.
-