CA Identity Manager
Java SDK r12.5 SP 8

 

com.netegrity.imapi
Class EnhancedAuditData

java.lang.Object
  extended by com.netegrity.imapi.EnhancedAuditData

public class EnhancedAuditData
extends java.lang.Object

Maintains a collection of objects for auditing, including the new and old attributes of these objects.

Since:
Identity Manager 8.1
See Also:
AuditEvent, EventProfile, GenericAuditEvent

Field Summary
static java.lang.String PROPERTY_CONTAINER
          The unique identifier of the container object.
static java.lang.String PROPERTY_CONTAINER_NAME
          The friendly name of the container object.
static java.lang.String PROPERTY_CONTAINER_TYPE
          The object type of the container object.
static java.lang.String PROPERTY_ITEM
          The unique identifier of the contained object.
static java.lang.String PROPERTY_ITEM_NAME
          The friendly name of the contained object.
static java.lang.String PROPERTY_ITEM_TYPE
          The object type of the contained object.
 
Constructor Summary
EnhancedAuditData()
           
 
Method Summary
 void addAuditProfile(AuditProfile auditProfile)
          Adds an AuditProfile object to the collection.
 void addManagedObject(ManagedObject obj)
          Extracts information about the specified managed object attributes and adds them to the audit data.
 void addObject(java.lang.String profileName, ObjectType objType, AttributeCollection obj)
          Uses audit configuration information, based on an AttributeCollection object, to extract the correct set of new and old attributes.
 void addParentOrganization(Organization org)
          Extracts informaiton about the specified parent organization and adds it to the audit data.
 void addRelationship(ManagedObject item, ManagedObject container, boolean remove)
          Calls addManagedObject() for both the item and the container, and then creates a RELATIONSHIP object to add to the audit data.
 java.util.Vector getAuditProfiles()
          Retrieves the collection of AuditProfile objects.
 EventProfile getEventProfile()
          Retrieves the EventProfile object.
 void setAuditFilter(AuditFilter auditFilter)
          Sets the AuditFilter.
 void setEventProfile(EventProfile eventProfile)
          Sets the EventProfile object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_ITEM

public static final java.lang.String PROPERTY_ITEM
The unique identifier of the contained object.

See Also:
Constant Field Values

PROPERTY_ITEM_NAME

public static final java.lang.String PROPERTY_ITEM_NAME
The friendly name of the contained object.

See Also:
Constant Field Values

PROPERTY_ITEM_TYPE

public static final java.lang.String PROPERTY_ITEM_TYPE
The object type of the contained object.

See Also:
Constant Field Values

PROPERTY_CONTAINER_TYPE

public static final java.lang.String PROPERTY_CONTAINER_TYPE
The object type of the container object.

See Also:
Constant Field Values

PROPERTY_CONTAINER

public static final java.lang.String PROPERTY_CONTAINER
The unique identifier of the container object.

See Also:
Constant Field Values

PROPERTY_CONTAINER_NAME

public static final java.lang.String PROPERTY_CONTAINER_NAME
The friendly name of the container object.

See Also:
Constant Field Values
Constructor Detail

EnhancedAuditData

public EnhancedAuditData()
Method Detail

setAuditFilter

public void setAuditFilter(AuditFilter auditFilter)
Sets the AuditFilter.


getEventProfile

public EventProfile getEventProfile()
Retrieves the EventProfile object. EventProfile provides values for event attributes.

Returns:
An EventProfile object.

setEventProfile

public void setEventProfile(EventProfile eventProfile)
Sets the EventProfile object. An EventProfile provides values for event attributes.

Parameters:
eventProfile - The EventProfile object to set.

getAuditProfiles

public java.util.Vector getAuditProfiles()
Retrieves the collection of AuditProfile objects.

Returns:
Vector of AuditProfile objects

addAuditProfile

public void addAuditProfile(AuditProfile auditProfile)
Adds an AuditProfile object to the collection.

Parameters:
auditProfile - The AuditProfile object to add.

addObject

public void addObject(java.lang.String profileName,
                      ObjectType objType,
                      AttributeCollection obj)
Uses audit configuration information, based on an AttributeCollection object, to extract the correct set of new and old attributes.

Parameters:
profileName - The Friendly name of the object.
objType - The object type.
obj - Attributes of the object.

addParentOrganization

public void addParentOrganization(Organization org)
Extracts informaiton about the specified parent organization and adds it to the audit data.

Parameters:
org - The parent organization whose attributes are being added to the audit data.

addManagedObject

public void addManagedObject(ManagedObject obj)
Extracts information about the specified managed object attributes and adds them to the audit data.

Parameters:
obj - The managed object whose attributes are being added to the audit data.

addRelationship

public void addRelationship(ManagedObject item,
                            ManagedObject container,
                            boolean remove)
Calls addManagedObject() for both the item and the container, and then creates a RELATIONSHIP object to add to the audit data.

Parameters:
item - The managed object to add.
container - The container for the managed object.
remove - Indicates whether the managed object is being removed from or added to the container object. true if the managed object is being removed from the container object, or false otherwise.

CA Identity Manager
Java SDK r12.5 SP 8

06/13/2011

© 2011 CA Technologies, Inc. All rights reserved.