Class HoldingsChangeEvent

java.lang.Object
java.util.EventObject
com.portal.app.cc.event.HoldingsChangeEvent
All Implemented Interfaces:
Serializable

public class HoldingsChangeEvent extends EventObject
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 Details

    • PURCHASE_DEAL

      public static final int PURCHASE_DEAL
      Indicates a deal has been purchased.
      See Also:
    • PURCHASE_PLAN_WITH_SERVICES

      public static final int PURCHASE_PLAN_WITH_SERVICES
      Indicates 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_SERVICES
      Indicates a plan without any services has been purchased.
      See Also:
  • Constructor Details

    • HoldingsChangeEvent

      public HoldingsChangeEvent(Object source, PModelHandle pm, int type)
      Constructs a HoldingsChangeEvent object.
      Parameters:
      source - the Object that is the source of the event (typically this)
      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

      public PModelHandle getModelHandle()
      Returns:
      The PModelHandle that was returned from the Purchase Offering wizard.