Skip navigation links

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


oracle.iam.rm.temporal
Interface SnapshotSession

All Known Subinterfaces:
InteractivePersonnelManager, InteractiveResourceManager, InteractiveRoleManager, InteractiveSnapshotSession, PersonnelManager, ResourceManager, RoleManager

public interface SnapshotSession

Session that supports object interaction (search and lookup) at a particular point in time.


Method Summary
 boolean canEdit(ObjectKey objectKey)
          Determines whether a particular object can be edited by its object key.
 oracle.iam.rm.common.PaginatedResultSet<ObjectKey> findObjectKeys(Query query)
          Gets a paginated result set of object object keys based on a query.
 oracle.iam.rm.common.PaginatedResultSet<SnapshotObject> findSnapshotObjects(Query query)
          Gets a paginated result set of snapshot objects based on a query.
 ObjectType getObjectType(ObjectKey objectKey)
          Gets the object type for the provided object key.
 ObjectType getObjectType(java.lang.String type)
          Gets the object type for the provided type name.
 SnapshotObject getSnapshotObject(ObjectKey objectKey)
          Gets a particular snapshot object from its object key at a particular time.
 TemporalEngine getTemporalEngine()
          Gets the temporal engine

 

Method Detail

getTemporalEngine

TemporalEngine getTemporalEngine()
Gets the temporal engine
Returns:
TemporalEngine

findSnapshotObjects

oracle.iam.rm.common.PaginatedResultSet<SnapshotObject> findSnapshotObjects(Query query)
                                                                            throws TemporalException
Gets a paginated result set of snapshot objects based on a query.
Parameters:
query - Query to define the scope of the search
Returns:
A paginated list of results that contain snapshot objects
Throws:
TemporalException - if the search operaiton fails

findObjectKeys

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

canEdit

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

getSnapshotObject

SnapshotObject getSnapshotObject(ObjectKey objectKey)
                                 throws TemporalException
Gets a particular snapshot object from its object key at a particular time.
Parameters:
objectKey - object identifier
Returns:
SnapshotObject
Throws:
TemporalException - is the object lookup fails

getObjectType

ObjectType getObjectType(java.lang.String type)
Gets the object type for the provided type name.
Parameters:
type - type name
Returns:
ObjectType for the provided name or null if that type does not exist.

getObjectType

ObjectType getObjectType(ObjectKey objectKey)
                         throws TemporalException
Gets the object type for the provided object key.
Parameters:
objectKey - key of the object to determine the type
Returns:
ObjectType for the provided key.
Throws:
TemporalException - if lookup of the object fails

Skip navigation links

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


Copyright © 2007, 2008 Oracle. All Rights Reserved.