Package com.portal.app.cc.event
Class HierarchyChangeEvent
java.lang.Object
java.util.EventObject
com.portal.app.cc.event.HierarchyChangeEvent
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Indicates a label change event typestatic final int
Indicates a move account event typeFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionHierarchyChangeEvent
(Object source, int type, PModelHandle affectedAcct) Constructs a HierarchyChangeEvent object for a label changeHierarchyChangeEvent
(Object source, int type, PModelHandle affectedAcct, PModelHandle oldParent, PModelHandle newParent, Date deferralDate) Constructs a HierarchyChangeEvent object for a move -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
LABEL_CHANGE
public static final int LABEL_CHANGEIndicates a label change event type- See Also:
-
MOVE
public static final int MOVEIndicates a move account event type- See Also:
-
-
Constructor Details
-
HierarchyChangeEvent
Constructs a HierarchyChangeEvent object for a label change- Parameters:
source
- the Object that is the source of the event (typicallythis
)type
- the type of event, LABEL_CHANGE or MOVEaffectedAcct
- 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 (typicallythis
)type
- the type of event, LABEL_CHANGE or MOVEaffectedAcct
- the account being acted uponoldParent
- the parent account before the move, can be nullnewParent
- the parent account after the move, can be nulldeferralDate
- the date the move is deferred to, can be null
-
-
Method Details
-
getType
public int getType() -
getAffectedAcct
-
getOldParent
-
getNewParent
-
getDeferralDate
-