BEA Systems, Inc.

ALES Entitlement Query API Reference

com.bea.ales.EntitlementQuery
Interface SubjectChange

All Known Subinterfaces:
GroupChange, UserChange

public interface SubjectChange

This interface provides several "getter" methods to get the change type, to get the old qualified name of the group or user before change, to get the new qualified name of the group or user after change, to get the flag for attributes of the group or user change.

Author:
Copyright © 2007 BEA Systems, Inc. All Rights Reserved.

Field Summary
static java.lang.String ACTION_ADD
          action value specifiying this change is to add.
static java.lang.String ACTION_DELETE
          action value specifiying this change is to delete.
static java.lang.String ACTION_NULL
          action value specifiying the group or user itself is not changed, but its memberships or attributes changed.
static java.lang.String ACTION_RENAME
          action value specifiying this change is to rename.
 
Method Summary
 java.lang.String getAction()
           
 java.lang.String getNewQualified()
           
 java.lang.String getOldQualified()
           
 boolean haveAttributesChanged()
          Check if any attribute of this user or group is changed.
 

Field Detail

ACTION_ADD

public static final java.lang.String ACTION_ADD
action value specifiying this change is to add.

ACTION_DELETE

public static final java.lang.String ACTION_DELETE
action value specifiying this change is to delete.

ACTION_RENAME

public static final java.lang.String ACTION_RENAME
action value specifiying this change is to rename.

ACTION_NULL

public static final java.lang.String ACTION_NULL
action value specifiying the group or user itself is not changed, but its memberships or attributes changed.
Method Detail

getAction

public java.lang.String getAction()

Returns:
Returns the action code, one of ACTION_ADD, ACTION_DELETE, ACTION_RENAME and ACTION_NULL
See Also:
ACTION_ADD, ACTION_DELETE, ACTION_NULL, ACTION_RENAME

getOldQualified

public java.lang.String getOldQualified()

Returns:
Returns the old qualified name before change for this subject. The value is the old qualified name of this subject if change action is #ACTION_RENAME, otherwise the value is null.

getNewQualified

public java.lang.String getNewQualified()

Returns:
Returns the new qualified name after change for this subject. The value is the new qualified name of this subject if change action is #ACTION_RENAME or #ACTION_NEW

haveAttributesChanged

public boolean haveAttributesChanged()
Check if any attribute of this user or group is changed. This only includes direct attribute changes to this user or group.

Returns:
boolean attribute changed = true

Documentation is available at
http://edocs.bea.com/ales/docs30