|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InteractiveTemporalSession
An interface that supports updating the data model within the context of a business transaction.
Method Summary | |
---|---|
TemporalObject |
addMixinType(TemporalObject object, java.lang.String mixinType, java.util.Map<java.lang.String,java.lang.Object> attributes, oracle.iam.rm.util.DateTime valueTime) Adds a mix-in object to an existing object. |
TemporalObject |
createObject(java.lang.String type, java.util.Map<java.lang.String,ObjectKey> primaryKeys, java.util.Map<java.lang.String,java.lang.Object> attributes, oracle.iam.rm.util.DateTime valueTime) Creates a new temporal object. |
void |
discardChanges(ObjectKey objectKey) Discards any changes that have been made to this object within this business transaction. |
TemporalObject |
getEditableTemporalObject(ObjectKey objectKey) Gets an editable version of a particular temporal object by its object key. |
java.util.Collection<TemporalObject> |
getEditedObjects(java.lang.String type) Gets all objects that have been changed in this session of a particular type. |
InteractiveSnapshotSession |
getInteractiveSnapshotSession(oracle.iam.rm.util.DateTime valueTime) Gets an interactive snapshot session based on this InteractiveTemporalSession . |
java.util.Collection<oracle.iam.rm.bizxact.ValidationFailure> |
validate() Runs validation on the session in order to determine whether the data is valid according to the model constraints. |
Methods inherited from interface oracle.iam.rm.temporal.TemporalSession |
---|
canEdit, findObjectKeys, findTemporalObjects, getSnapshotSession, getSnapshotSession, getTemporalEngine, getTemporalObject |
Methods inherited from interface oracle.iam.rm.temporal.InteractiveSession |
---|
addDataChangeListener, getBusinessTransactionID, removeDataChangeListener |
Method Detail |
---|
TemporalObject getEditableTemporalObject(ObjectKey objectKey) throws TemporalException
objectKey
- object identifierTemporalObject
representing the object identified by the provided object key.TemporalException
- if this session is not related to a live business transactionTemporalObject createObject(java.lang.String type, java.util.Map<java.lang.String,ObjectKey> primaryKeys, java.util.Map<java.lang.String,java.lang.Object> attributes, oracle.iam.rm.util.DateTime valueTime) throws TemporalException
type
- object's typeprimaryKeys
- Map of primary keys of the object (if applicable)attributes
- Map of attributes with which to initially populate this objectvalueTime
- effective date of the object and any provided attributesTemporalException
- if this session is not related to a live business transactionTemporalObject addMixinType(TemporalObject object, java.lang.String mixinType, java.util.Map<java.lang.String,java.lang.Object> attributes, oracle.iam.rm.util.DateTime valueTime) throws TemporalException
object
- TemporalObject
to which the mix-in is being addedmixinType
- mix-in typeattributes
- Map of attributes with which to initially populate the mix-in objectvalueTime
- effective date of the mix-in and any provide attributesTemporalException
- if this session is not related to a live business transactionInteractiveSnapshotSession getInteractiveSnapshotSession(oracle.iam.rm.util.DateTime valueTime)
InteractiveTemporalSession
.valueTime
- point in time for the SnapshotSession
InteractiveSnapshotSession
effective at the provided point in time.java.util.Collection<TemporalObject> getEditedObjects(java.lang.String type)
type
- type of objects to returnCollection
of objects that have been changed in this session.java.util.Collection<oracle.iam.rm.bizxact.ValidationFailure> validate()
Collection
of ValidationFailures
or an empty collection if the session's data is valid according to the model constraints.void discardChanges(ObjectKey objectKey)
objectKey
- identifier for the obejct whose changes to discard
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |