Class HierarchyChangeEvent

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

public class HierarchyChangeEvent extends EventObject
The event is broadcast when an account hierarchy is changed in Customer Center.
Version:
%version: 2 % %date_modified: Tue Jun 19 16:02:14 2001 %
Author:
lnair
See Also:
  • Field Details

    • LABEL_CHANGE

      public static final int LABEL_CHANGE
      Indicates a label change event type
      See Also:
    • MOVE

      public static final int MOVE
      Indicates a move account event type
      See Also:
  • Constructor Details

    • HierarchyChangeEvent

      public HierarchyChangeEvent(Object source, int type, PModelHandle affectedAcct)
      Constructs a HierarchyChangeEvent object for a label change
      Parameters:
      source - the Object that is the source of the event (typically this)
      type - the type of event, LABEL_CHANGE or MOVE
      affectedAcct - the account being acted upon
    • HierarchyChangeEvent

      public HierarchyChangeEvent(Object source, int type, PModelHandle affectedAcct, PModelHandle oldParent, PModelHandle newParent, Date deferralDate)
      Constructs a HierarchyChangeEvent object for a move
      Parameters:
      source - the Object that is the source of the event (typically this)
      type - the type of event, LABEL_CHANGE or MOVE
      affectedAcct - the account being acted upon
      oldParent - the parent account before the move, can be null
      newParent - the parent account after the move, can be null
      deferralDate - the date the move is deferred to, can be null
  • Method Details

    • getType

      public int getType()
    • getAffectedAcct

      public PModelHandle getAffectedAcct()
    • getOldParent

      public PModelHandle getOldParent()
    • getNewParent

      public PModelHandle getNewParent()
    • getDeferralDate

      public Date getDeferralDate()