Package com.portal.app.cc.event
Class StatusChangeEvent
java.lang.Object
java.util.EventObject
com.portal.app.cc.event.StatusChangeEvent
- All Implemented Interfaces:
Serializable
The event broadcast when account or services status information changes in
Customer Center. The change status type (Account or service) will be
provided. However, the new status will not be provided through the event.
The listeners is responsible to obtain the new status information.
- Version:
- %version: 2 % %date_modified: Tue Jul 03 17:50:03 2001 %
- Author:
- dachywan
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionStatusChangeEvent
(Object source, int type, int status) Constructs a StatusChangeEvent object. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
ACCOUNT
public static final int ACCOUNT- See Also:
-
SERVICE
public static final int SERVICE- See Also:
-
-
Constructor Details
-
StatusChangeEvent
Constructs a StatusChangeEvent object.- Parameters:
source
- the Object that is the source of the event (typicallythis
)type
- account or service that changed the statusstatus
- the new status
-
-
Method Details
-
getType
public int getType()Retrieves the type of the status that changed- Returns:
- The type of the status that changed
-
getStatus
public int getStatus()Retrieves the new status- Returns:
- The new status
-