Skip navigation links

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


oracle.iam.rm.temporal
Interface TemporalSession

All Known Subinterfaces:
InteractiveTemporalSession

public interface TemporalSession

The object through which all business logic interaction with the TemporalEngine occurs. A TemporalSession can be associated to a particular business transaction, but that state cannot be changed after it is created by the TemporalEngine.


Method Summary
 boolean canEdit(ObjectKey objectKey)
          Determined whether a particular object can be edited by its object key.
 oracle.iam.rm.common.PaginatedResultSet<ObjectKey> findObjectKeys(Query query, TemporalContext temporalContext)
          Gets a paginated result set of object object keys based on a query.
 oracle.iam.rm.common.PaginatedResultSet<TemporalObject> findTemporalObjects(Query query, TemporalContext temporalContext)
          Gets a paginated result set of temporal objects based on a query.
 SnapshotSession getSnapshotSession(oracle.iam.rm.util.DateTime valueTime)
          Gets a snapshot session based on this TemporalSession at the time specified as a DateTime.
 SnapshotSession getSnapshotSession(long valueTime)
          Gets a snapshot session based on this TemporalSession at the time specified as a long.
 TemporalEngine getTemporalEngine()
          Gets the temporal engine.
 TemporalObject getTemporalObject(ObjectKey objectKey)
          Gets a particular temporal object from its object key.

 

Method Detail

getTemporalEngine

TemporalEngine getTemporalEngine()
Gets the temporal engine.
Returns:
TemporalEngine.

canEdit

boolean canEdit(ObjectKey objectKey)
Determined whether a particular object can be edited by its object key.
Parameters:
objectKey - object identifier
Returns:
true if the object identified by the provided object key can be editied, false otherwise.

getTemporalObject

TemporalObject getTemporalObject(ObjectKey objectKey)
                                 throws TemporalException
Gets a particular temporal object from its object key.
Parameters:
objectKey - object identifier of temporal object to get
Returns:
TemporalObject identified by the provided object key
Throws:
TemporalException - if a failure occurs retrieving the object with the provided key

findTemporalObjects

oracle.iam.rm.common.PaginatedResultSet<TemporalObject> findTemporalObjects(Query query,
                                                                            TemporalContext temporalContext)
Gets a paginated result set of temporal objects based on a query.
Parameters:
query - Query to define the scope of the search
temporalContext - temporal dimension of the search
Returns:
Paginated list of results that contain temporal objects.

findObjectKeys

oracle.iam.rm.common.PaginatedResultSet<ObjectKey> findObjectKeys(Query query,
                                                                  TemporalContext temporalContext)
Gets a paginated result set of object object keys based on a query.
Parameters:
query - Query to define the scope of the search
temporalContext - temporal dimension of the search
Returns:
Paginated list of results that contain object keys for the matching objects.

getSnapshotSession

SnapshotSession getSnapshotSession(long valueTime)
Gets a snapshot session based on this TemporalSession at the time specified as a long.
Parameters:
valueTime - point in time for the SnapshotSession
Returns:
SnapshotSession for the specified point in time.

getSnapshotSession

SnapshotSession getSnapshotSession(oracle.iam.rm.util.DateTime valueTime)
Gets a snapshot session based on this TemporalSession at the time specified as a DateTime.
Parameters:
valueTime - point in time for the SnapshotSession
Returns:
SnapshotSession for the specified point in time.

Skip navigation links

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


Copyright © 2007, 2008 Oracle. All Rights Reserved.