Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


oracle.iam.rm.temporal
Interface TemporalEngine


public interface TemporalEngine

The interface with the temporal storage layer.


Method Summary
 void addDataChangeListener(DataChangeListener dataChangeListener)
          Attaches a DataChangeListener to this temporal engine, allowing events to be detected in all business transactions.
 void cancelBusinessTransaction(long transactionId)
          Cancels the session that represents the business transaction.
 void cancelBusinessTransaction(long transactionId, boolean keepAudits)
          Cancels the session that represents the business transaction.
 HierarchyType[] getHierarchyTypes()
          Gets all of the current hierarchy types in the system.
 InteractiveSnapshotSession getInteractiveSnapshotSession(long transactionId)
          Gets a snapshot session based on the provided live business transaction.
 ObjectType getObjectType(java.lang.String objectTypeKey)
          Gets the current ObjectType definition for a particular object type.
 ObjectType[] getObjectTypes()
          Gets all of the current object types in the system.
 SnapshotSession getSnapshotSession()
          Gets a snapshot session based on the current state outside of a business transaction.
 void removeDataChangeListener(DataChangeListener dataChangeListener)
          Removes the provided DataChangeListener from this temporal engine.

 

Method Detail

getInteractiveSnapshotSession

InteractiveSnapshotSession getInteractiveSnapshotSession(long transactionId)
                                                         throws TemporalException
Gets a snapshot session based on the provided live business transaction.
Parameters:
transactionId - transaction ID of the live business transaction
Returns:
InteractiveSnapshotSession
Throws:
TemporalException - if a failure occurs during business transaction recovery

getObjectType

ObjectType getObjectType(java.lang.String objectTypeKey)
Gets the current ObjectType definition for a particular object type.
Parameters:
objectTypeKey - object type identifier
Returns:
ObjectType of the provided key

getSnapshotSession

SnapshotSession getSnapshotSession()
Gets a snapshot session based on the current state outside of a business transaction.
Returns:
SnapshotSession outside business transation

getObjectTypes

ObjectType[] getObjectTypes()
Gets all of the current object types in the system.
Returns:
Array of all current object types in the system.

getHierarchyTypes

HierarchyType[] getHierarchyTypes()
Gets all of the current hierarchy types in the system.
Returns:
Array of all current hierarchy types in the system.

cancelBusinessTransaction

void cancelBusinessTransaction(long transactionId)
                               throws TemporalException
Cancels the session that represents the business transaction.
Parameters:
transactionId - ID of the business transaction to close
Throws:
TemporalException - For temporal I/O errors.

cancelBusinessTransaction

void cancelBusinessTransaction(long transactionId,
                               boolean keepAudits)
                               throws TemporalException
Cancels the session that represents the business transaction. Optionally retain the audit records generated in the transaction.
Parameters:
transactionId - ID of the business transaction to close
keepAudits - whether to retain audit records from the transaction
Throws:
TemporalException - For temporal I/O errors.

addDataChangeListener

void addDataChangeListener(DataChangeListener dataChangeListener)
Attaches a DataChangeListener to this temporal engine, allowing events to be detected in all business transactions.
Parameters:
dataChangeListener - listener to add

removeDataChangeListener

void removeDataChangeListener(DataChangeListener dataChangeListener)
Removes the provided DataChangeListener from this temporal engine.
Parameters:
dataChangeListener - the listener to remove
See Also:
addDataChangeListener(DataChangeListener)

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


Copyright © 2007, 2008 Oracle. All Rights Reserved.