Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.temporal
Class ObjectChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by oracle.iam.rm.temporal.ObjectChangeEvent

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ObjectCreationEvent, ObjectUpdateEvent

public abstract class ObjectChangeEvent
extends java.util.EventObject

Event that generically describes some type of object change.

See Also:
ObjectCreationEvent, ObjectUpdateEvent, Serialized Form

Field Summary

 

Fields inherited from class java.util.EventObject
source

 

Constructor Summary
protected ObjectChangeEvent(InteractiveSnapshotSession session, ObjectKey subjectKey, java.lang.String subjectType, AttributeChangeSet attributeChangeSet, StateChange stateChange)
          Creates an ObjectChangeEvent instance.

 

Method Summary
 void addRelationshipPathChange(RelationshipPathChange relationshipPathChange)
          Adds a RelationshipPathChange to the event.
 AttributeChangeSet getAttributeChanges()
          Gets the attribute changes that occurred as part of the event.
 java.util.List<RelationshipPathChange> getRelationshipPathChanges()
          Gets a List of the RelationshipPathChanges that occurred during this event.
 InteractiveSnapshotSession getSession()
          Gets the session that the change occurred in.
 StateChange getStateChange()
          Gets the state change that occurred as part of the event.
 ObjectKey getSubjectKey()
          Gets the identifier for the object that the event occurred to.
 java.lang.String getSubjectType()
          Gets the object type identifier of the object that the event occurred to.
 long getTransactionId()
          Gets the business transaction ID of this change event.

 

Methods inherited from class java.util.EventObject
getSource, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ObjectChangeEvent

protected ObjectChangeEvent(InteractiveSnapshotSession session,
                            ObjectKey subjectKey,
                            java.lang.String subjectType,
                            AttributeChangeSet attributeChangeSet,
                            StateChange stateChange)
Creates an ObjectChangeEvent instance.
Parameters:
session - the session that the change occurred in
subjectKey - the identifier for the object that the event occurred to
subjectType - the object type identifier of the object that the event occurred to
attributeChangeSet - the attribute changes that occurred as part of the event
stateChange - the state change that occurred as part of the event or null if there was no state change

Method Detail

getSession

public InteractiveSnapshotSession getSession()
Gets the session that the change occurred in.
Returns:
the session that the change occurred in

getTransactionId

public long getTransactionId()
Gets the business transaction ID of this change event.
Returns:
long representing transaction ID of this change event.

getSubjectKey

public ObjectKey getSubjectKey()
Gets the identifier for the object that the event occurred to.
Returns:
the identifier for the object that the event occurred to

getAttributeChanges

public AttributeChangeSet getAttributeChanges()
Gets the attribute changes that occurred as part of the event.
Returns:
the attribute changes that occurred as part of the event

getStateChange

public StateChange getStateChange()
Gets the state change that occurred as part of the event.
Returns:
the state change that occurred as part of the event or null if there was no state change.

getSubjectType

public java.lang.String getSubjectType()
Gets the object type identifier of the object that the event occurred to.
Returns:
the object type identifier of the object that the event occurred to

addRelationshipPathChange

public void addRelationshipPathChange(RelationshipPathChange relationshipPathChange)
Adds a RelationshipPathChange to the event.
Parameters:
relationshipPathChange - the RelationshipPathChange to add to the event

getRelationshipPathChanges

public java.util.List<RelationshipPathChange> getRelationshipPathChanges()
Gets a List of the RelationshipPathChanges that occurred during this event.
Returns:
a List of the RelationshipPathChanges that occurred during this event.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.