|
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 TemporalObject
A representation of an object with both value and transaction histories. <p/> A temporal object has one or more identifying, immutable, pantemporal attributes. A temporal object has zero or more temporal attributes. A temporal object has zero or more relative objects.
Method Summary | |
---|---|
void |
delete(oracle.iam.rm.util.DateTime valueTime) Makes this object ineffective at the provided value time. |
void |
delete(oracle.iam.rm.util.DateTime valueTime, boolean cascade) Makes this object ineffective at the provided value time. |
AttributeChangeSet[] |
getAttributeChangeSets() Gets all the attribute changes for this object within this transaction grouped by value time. |
java.lang.Object |
getAttributeForTime(java.lang.String attributeKey, oracle.iam.rm.util.DateTime valueTime) Gets an attribute value for the provided value time. |
AttributeSet |
getAttributeSetForTime(oracle.iam.rm.util.DateTime valueTime) Gets the AttributeSet for the provided value time. |
java.util.Map<java.lang.String,? extends java.lang.Object> |
getAttributesForTime(oracle.iam.rm.util.DateTime valueTime) Gets all of the values for the provided value time. |
java.lang.Object |
getIdentifyingAttributeValue(java.lang.String attributeKey) Gets the value for the specified identifying attribute. |
TemporalObject |
getMixin(java.lang.String mixinType, oracle.iam.rm.util.DateTime valueTime) Gets the TemporalObject that represents the mixin type. |
ObjectKey |
getObjectKey() Gets the pantemporal identification object for this object. |
ObjectType |
getObjectType() Gets the ObjectType that defines this object. |
long |
getVersion() Gets the current version of the object. |
boolean |
isEditable() Determines whether this object is editable. |
boolean |
isEffective(oracle.iam.rm.util.DateTime valueTime) Determines whether the object is effective at the time specified. |
void |
makeReadConsistent() Marks this object to act in a "read consistent" fashion so that if it is changed in another transaction an appropriate constraint violation is thrown. |
AttributeChangeSet |
setAttributeValues(java.util.Map<java.lang.String,java.lang.Object> attributeValues, oracle.iam.rm.util.DateTime startTime) Sets a collection of attribute values to be effective as of the specified time. |
void |
updateVersion(TemporalObject temporalObject) Updates the version of this object based on its equivalent from the system (read-only) session. |
Method Detail |
---|
ObjectKey getObjectKey()
ObjectKey
identifying this objectAttributeSet getAttributeSetForTime(oracle.iam.rm.util.DateTime valueTime)
AttributeSet
for the provided value time.valueTime
- value time for this AttributeSet to refer toboolean isEditable()
true
if this object is editable, otherwise false
.AttributeChangeSet setAttributeValues(java.util.Map<java.lang.String,java.lang.Object> attributeValues, oracle.iam.rm.util.DateTime startTime) throws TemporalException
attributeValues
- names/values to setstartTime
- value time for the attributesAttributeChangeSet
representing the operationTemporalException
- if the object is not editableAttributeChangeSet[] getAttributeChangeSets()
ObjectType getObjectType()
ObjectType
that defines this object.ObjectType
that defines this object.java.lang.Object getIdentifyingAttributeValue(java.lang.String attributeKey)
attributeKey
- key of the attribute to return Object
representing value of the specified attribute keyjava.util.Map<java.lang.String,? extends java.lang.Object> getAttributesForTime(oracle.iam.rm.util.DateTime valueTime)
valueTime
- time for this set of attributes to refer tojava.lang.Object getAttributeForTime(java.lang.String attributeKey, oracle.iam.rm.util.DateTime valueTime)
attributeKey
- key of the attribute to getvalueTime
- value time for this set of attributesvoid delete(oracle.iam.rm.util.DateTime valueTime)
valueTime
- value time at which this object should be made ineffectivevoid delete(oracle.iam.rm.util.DateTime valueTime, boolean cascade)
valueTime
- value time at which this object should be made ineffectivevoid makeReadConsistent()
TemporalException
- if this object is not editable or marking it "read consistent" failsvoid updateVersion(TemporalObject temporalObject)
temporalObject
- version of this object from the system (read-only) sessionjava.lang.IllegalStateException
- if the object is not editable and not within a merge handlerjava.lang.IllegalArgumentException
- if the temporal object provided is not the same as the current object or not from a system (read-only) sessionlong getVersion()
TemporalObject getMixin(java.lang.String mixinType, oracle.iam.rm.util.DateTime valueTime)
mixinType
- the type of mix-invalueTime
- value time at which the mixin is relatedboolean isEffective(oracle.iam.rm.util.DateTime valueTime)
valueTime
- time to test for effectivitytrue
if effective at that time, otherwise false
.
|
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 |