com.sap.security.api
Interface PrincipalAttributeListener

All Superinterfaces:
PrincipalListener

public interface PrincipalAttributeListener
extends PrincipalListener


Field Summary
static int INFORM_ON_ATTRIBUTE_DELETED
          Constant used for the event that an attribute of a principal was deleted
static int INFORM_ON_ATTRIBUTE_SET
          Constant used for the event that an attribute of a principal was set
static int INFORM_ON_ATTRIBUTE_VALUE_ADDED
          Constant used for the event that a value of an attribute of a principal was added
static int INFORM_ON_ATTRIBUTE_VALUE_REMOVED
          Constant used for the event that a value of an attribute of a principal was added
 
Fields inherited from interface com.sap.security.api.PrincipalListener
INFORM_ON_OBJECT_ADDED, INFORM_ON_OBJECT_ASSIGNED, INFORM_ON_OBJECT_EDITED, INFORM_ON_OBJECT_REMOVED, INFORM_ON_OBJECT_UNASSIGNED
 
Method Summary
 void attributeDeleted(java.lang.String uniqueID, java.lang.String namespace, java.lang.String attribute, java.util.Collection formerValues)
          attributeDeleted(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_DELETED is fired from the registering factory
 void attributeSet(java.lang.String uniqueID, java.lang.String namespace, java.lang.String attribute, java.util.Collection values)
          attributeSet(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_SET is fired from the registering factory
 void attributeValueAdded(java.lang.String uniqueID, java.lang.String namespace, java.lang.String attribute, java.util.Collection values)
          attributeValueAdded(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_VALUE_ADDED is fired from the registering factory
 void attributeValueRemoved(java.lang.String uniqueID, java.lang.String namespace, java.lang.String attribute, java.util.Collection values)
          attributeValueRemoved(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_VALUE_REMOVED is fired from the registering factory
 
Methods inherited from interface com.sap.security.api.PrincipalListener
objectAdded, objectAssigned, objectEdited, objectRemoved, objectUnAssigned
 

Field Detail

INFORM_ON_ATTRIBUTE_VALUE_ADDED

public static final int INFORM_ON_ATTRIBUTE_VALUE_ADDED
Constant used for the event that a value of an attribute of a principal was added

INFORM_ON_ATTRIBUTE_VALUE_REMOVED

public static final int INFORM_ON_ATTRIBUTE_VALUE_REMOVED
Constant used for the event that a value of an attribute of a principal was added

INFORM_ON_ATTRIBUTE_SET

public static final int INFORM_ON_ATTRIBUTE_SET
Constant used for the event that an attribute of a principal was set

INFORM_ON_ATTRIBUTE_DELETED

public static final int INFORM_ON_ATTRIBUTE_DELETED
Constant used for the event that an attribute of a principal was deleted
Method Detail

attributeValueAdded

public void attributeValueAdded(java.lang.String uniqueID,
                                java.lang.String namespace,
                                java.lang.String attribute,
                                java.util.Collection values)
                         throws UMException
attributeValueAdded(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_VALUE_ADDED is fired from the registering factory
Parameters:
uniqueID - of the modified principal
namespace - the namespace
attribute - the attribute
values - the added attribute's value
Throws:
UMException -  

attributeValueRemoved

public void attributeValueRemoved(java.lang.String uniqueID,
                                  java.lang.String namespace,
                                  java.lang.String attribute,
                                  java.util.Collection values)
                           throws UMException
attributeValueRemoved(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_VALUE_REMOVED is fired from the registering factory
Parameters:
uniqueID - of the modified principal
namespace - the namespace
attribute - the attribute
values - the removed attribute's value
Throws:
UMException -  

attributeSet

public void attributeSet(java.lang.String uniqueID,
                         java.lang.String namespace,
                         java.lang.String attribute,
                         java.util.Collection values)
                  throws UMException
attributeSet(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_SET is fired from the registering factory
Parameters:
uniqueID - of the modified principal
namespace - the namespace
attribute - the attribute
values - the set attribute's values
Throws:
UMException -  

attributeDeleted

public void attributeDeleted(java.lang.String uniqueID,
                             java.lang.String namespace,
                             java.lang.String attribute,
                             java.util.Collection formerValues)
                      throws UMException
attributeDeleted(String,String,String,Object) is called if event INFORM_ON_ATTRIBUTE_DELETED is fired from the registering factory
Parameters:
uniqueID - of the modified principal
namespace - the namespace
attribute - the attribute
formerValues - the former values of the deleted attribute or null
Throws:
UMException -