com.iplanet.am.sdk
クラス AMEvent

java.lang.Object
  上位を拡張 java.util.EventObject
      上位を拡張 com.iplanet.am.sdk.AMEvent

推奨されていません。 As of Sun Java System Access Manager 7.1.

public class AMEvent
extends EventObject

Represents an event fired by Sun Java System Access Manager SDK.

AMEvent's state consists of the following:

関連項目:
直列化された形式

フィールドの概要
static int OBJECT_ADDED
          推奨されていません。 Represents an object addition 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 renaming event type.
 
コンストラクタの概要
  AMEvent(Object source, int eventType)
          推奨されていません。 Constructs an event object.
protected AMEvent(Object source, int eventType, String sourceDN, int sourceType)
          推奨されていません。  
protected AMEvent(String dn)
          推奨されていません。 Protected constructor for package use only
 
メソッドの概要
 int getEventType()
          推奨されていません。 Returns the type of the event.
 String getSourceDN()
          推奨されていません。 Returns the distinguished name of the source object in a String format.
 int getSourceType()
          推奨されていません。 Returns the type of the source object that caused the event.
 

フィールドの詳細

OBJECT_ADDED

public static final int OBJECT_ADDED
推奨されていません。 
Represents an object addition event type.

関連項目:
定数フィールド値

OBJECT_CHANGED

public static final int OBJECT_CHANGED
推奨されていません。 
Represents an object change event type.

関連項目:
定数フィールド値

OBJECT_REMOVED

public static final int OBJECT_REMOVED
推奨されていません。 
Represents an object removal event type.

関連項目:
定数フィールド値

OBJECT_EXPIRED

public static final int OBJECT_EXPIRED
推奨されていません。 
Represents an object expiration event type. Occurs when the TTL for the object data is over.

関連項目:
定数フィールド値

OBJECT_RENAMED

public static final int OBJECT_RENAMED
推奨されていません。 
Represents an object renaming event type.

関連項目:
定数フィールド値
コンストラクタの詳細

AMEvent

public AMEvent(Object source,
               int eventType)
推奨されていません。 
Constructs an event object. This constructor accepts the event source object and passes it onto the base class constructor.

パラメータ:
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)
推奨されていません。 

AMEvent

protected AMEvent(String dn)
推奨されていません。 
Protected constructor for package use only

メソッドの詳細

getSourceDN

public String getSourceDN()
推奨されていません。 
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.

戻り値:
distinguished name of the source object.

getEventType

public int getEventType()
推奨されていません。 
Returns the type of the event.

戻り値:
Returns one of the following possible values:
  • AMEvent.OBJECT_ADDED
  • AMEvent.OBJECT_CHANGED
  • AMEvent.OBJECT_REMOVED
  • AMEvent.OBJECT_RENAMED
  • AMEvent.OBJECT_EXPIRED

getSourceType

public int getSourceType()
推奨されていません。 
Returns the type of the source object that caused the event.

戻り値:
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_TYPE if source unknown