Skip navigation links

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


oracle.iam.rm.temporal
Interface InteractiveSnapshotSession

All Superinterfaces:
InteractiveSession, SnapshotSession
All Known Subinterfaces:
InteractivePersonnelManager, InteractiveResourceManager, InteractiveRoleManager

public interface InteractiveSnapshotSession
extends SnapshotSession, InteractiveSession

SnapshotSession that supports object creation and modification.


Method Summary
 SnapshotObject addMixinType(SnapshotObject object, java.lang.String mixinType, java.util.Map<java.lang.String,java.lang.Object> attributes)
          Adds the provided mix-in type to the object.
 SnapshotObject createObject(java.lang.String structuralType, java.util.Map<java.lang.String,ObjectKey> primaryKeys, java.util.Map<java.lang.String,java.lang.Object> attributes)
          Creates a new snapshot object.
 SnapshotObject getEditableSnapshotObject(ObjectKey objectKey)
          Gets an editable version of a particular snapshot object by its object key.

 

Methods inherited from interface oracle.iam.rm.temporal.SnapshotSession
canEdit, findObjectKeys, findSnapshotObjects, getObjectType, getObjectType, getSnapshotObject, getTemporalEngine

 

Methods inherited from interface oracle.iam.rm.temporal.InteractiveSession
addDataChangeListener, getBusinessTransactionID, getChangedObjectTypes, removeDataChangeListener

 

Method Detail

getEditableSnapshotObject

SnapshotObject getEditableSnapshotObject(ObjectKey objectKey)
                                         throws TemporalException
Gets an editable version of a particular snapshot object by its object key.
Parameters:
objectKey - object identifier
Returns:
SnapshotObject identified by the provided object key.
Throws:
TemporalException - if this session is not related to a live business transaction

createObject

SnapshotObject createObject(java.lang.String structuralType,
                            java.util.Map<java.lang.String,ObjectKey> primaryKeys,
                            java.util.Map<java.lang.String,java.lang.Object> attributes)
                            throws TemporalException
Creates a new snapshot object.
Parameters:
structuralType - the object's structuralType
primaryKeys - Map of primary keys of the object (if applicable)
attributes - Map of name/value pairs of the attributes to set at time of creation
Returns:
A newly created, editable snapshot object
Throws:
TemporalException - if this session is not related to a live business transaction

addMixinType

SnapshotObject addMixinType(SnapshotObject object,
                            java.lang.String mixinType,
                            java.util.Map<java.lang.String,java.lang.Object> attributes)
Adds the provided mix-in type to the object.
Parameters:
object - object to to which to apply the mix-in
mixinType - mix-in type to add to the provided object
attributes - Map of name/value pairs of the attributes to set at time of creation
Returns:
The SnapshotObject that represents the the mix-in applied
Throws:
java.lang.IllegalStateException - if this session is not related to a live business transaction

Skip navigation links

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


Copyright © 2008, 2009 Oracle. All Rights Reserved.