Package com.iplanet.am.sdk
Class AMEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.iplanet.am.sdk.AMEvent
-
- All Implemented Interfaces:
Serializable
public class AMEvent extends EventObject
Deprecated.As of Sun Java System Access Manager 7.1.Represents an event fired by Sun Java System Access Manager SDK.
AMEvent's state consists of the following:- The event source: The underlying object that caused the event.
- The event source DN: DN of the underlying object that caused the event.
- The event type
- The source object type: Type of the underlying object that caused event.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intOBJECT_ADDEDDeprecated.Represents an object addition event type.static intOBJECT_CHANGEDDeprecated.Represents an object change event type.static intOBJECT_EXPIREDDeprecated.Represents an object expiration event type.static intOBJECT_REMOVEDDeprecated.Represents an object removal event type.static intOBJECT_RENAMEDDeprecated.Represents an object renaming event type.-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Modifier Constructor Description AMEvent(Object source, int eventType)Deprecated.Constructs an event object.protectedAMEvent(Object source, int eventType, String sourceDN, int sourceType)Deprecated.protectedAMEvent(String dn)Deprecated.Protected constructor for package use only
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intgetEventType()Deprecated.Returns the type of the event.StringgetSourceDN()Deprecated.Returns the distinguished name of the source object in a String format.intgetSourceType()Deprecated.Returns the type of the source object that caused the event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
OBJECT_ADDED
public static final int OBJECT_ADDED
Deprecated.Represents an object addition event type.- See Also:
- Constant Field Values
-
OBJECT_CHANGED
public static final int OBJECT_CHANGED
Deprecated.Represents an object change event type.- See Also:
- Constant Field Values
-
OBJECT_REMOVED
public static final int OBJECT_REMOVED
Deprecated.Represents an object removal event type.- See Also:
- Constant Field Values
-
OBJECT_EXPIRED
public static final int OBJECT_EXPIRED
Deprecated.Represents an object expiration event type. Occurs when the TTL for the object data is over.- See Also:
- Constant Field Values
-
OBJECT_RENAMED
public static final int OBJECT_RENAMED
Deprecated.Represents an object renaming event type.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AMEvent
public AMEvent(Object source, int eventType)
Deprecated.Constructs an event object. This constructor accepts the event source object and passes it onto the base class constructor.- Parameters:
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.eventType- type of event.
-
AMEvent
protected AMEvent(Object source, int eventType, String sourceDN, int sourceType)
Deprecated.
-
AMEvent
protected AMEvent(String dn)
Deprecated.Protected constructor for package use only
-
-
Method Detail
-
getSourceDN
public String getSourceDN()
Deprecated.Returns the distinguished name of the source object in a String format. Use this method if no searching or parsing operations need to be performed on the distinguished name.- Returns:
- distinguished name of the source object.
-
getEventType
public int getEventType()
Deprecated.Returns the type of the event.- Returns:
- Returns one of the
following possible values:
AMEvent.OBJECT_ADDEDAMEvent.OBJECT_CHANGEDAMEvent.OBJECT_REMOVEDAMEvent.OBJECT_RENAMEDAMEvent.OBJECT_EXPIRED
-
getSourceType
public int getSourceType()
Deprecated.Returns the type of the source object that caused the event.- Returns:
- Returns one of the following possible values:
-
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_TYPEif source unknown
-
-
-