|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.iplanet.am.sdk.AMEvent
Represents an event fired by Sun ONE Identity Server SDK.
AMEvent's state consists of the following:
| Field Summary | |
static int |
OBJECT_ADDED
Represents an object change event type. |
static int |
OBJECT_CHANGED
Represents an object change event type. |
static int |
OBJECT_EXPIRED
Represents an object expiration event type. |
static int |
OBJECT_REMOVED
Represents an object removal event type. |
static int |
OBJECT_RENAMED
Represents an object rename event type. |
| Constructor Summary | |
AMEvent(java.lang.Object source,
int eventType)
This constructor accepts the event source object and passes it onto the base class constructor. |
|
| Method Summary | |
int |
getEventType()
Returns the type of the event. |
java.lang.String |
getSourceDN()
Returns the DN of the source object in a String format. |
int |
getSourceType()
Returns the type of the source object that caused the event. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int OBJECT_ADDED
public static final int OBJECT_CHANGED
public static final int OBJECT_REMOVED
public static final int OBJECT_RENAMED
public static final int OBJECT_EXPIRED
| Constructor Detail |
public AMEvent(java.lang.Object source,
int eventType)
source - The source object that caused the event. The source object
could be User, Role, Group, Organization, etc., from this
SDK. The source could also be a String
representing the DN (distinguished name) of the source
object.| Method Detail |
public java.lang.String getSourceDN()
public int getEventType()
AMEvent.OBJECT_ADDED AMEvent.OBJECT_CHANGED AMEvent.OBJECT_REMOVED AMEvent.OBJECT_RENAMED
AMEvent.OBJECT_EXPIRED public int getSourceType()
AMObject.USER
AMObject.ROLE
AMObject.FILTERED_ROLE
AMObject.GROUP
AMObject.DYNAMIC_GROUP
AMObject.ASSIGNABLE_DYNAMIC_GROUP
AMObject.ORGANIZATION
AMObject.PEOPLE_CONTAINER
AMObject.GROUP_CONTAINER
AMObject.ORGINATIONAL_UNIT
AMObject.UNKNOWN_OBJECT_TYPE if source unknown
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||