|
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 ObjectType
Definition of an object type within the data model.
Method Summary | |
---|---|
AttributeDefinition |
getAttributeDefinition(java.lang.String attributeKey) Gets an AttributeDefinition for this object type by attribute key. |
AttributeDefinition[] |
getAttributeDefinitions() Gets all of the AttributeDefinition s for this object type. |
ObjectType |
getExtendedObjectType() Gets the ObjectType from which this ObjectType extends. |
java.lang.String |
getKey() Gets the key or ID of this ObjectType . |
java.util.Set<java.lang.String> |
getPermissions() Gets the permission identifiers that this object has declared. |
SOCPolicy |
getPermissionSocPolicy(java.lang.String permission) Gets the Sphere of Control policy to be used when determining whether instances of this object are within the Sphere of Control of a user's privileges for the specified permission. |
java.lang.String |
getReadAuditDetailsPermission() Gets the identifier of the permission necessary to read audit details for object instances of this type. |
java.lang.String |
getReadPermission() Gets the identifier of the permission necessary to read object instances of this type. |
oracle.iam.rm.temporal.impl.RelatedAuditObject[] |
getRelatedAuditObjects() Gets the RelatedAuditObject s for objects of this type. |
RelationshipPathDefinition |
getRelationshipPathDefinition(java.lang.String relationshipPathKey) Gets a RelationshipPathDefinition for this object type by relationship path key. |
RelationshipPathDefinition[] |
getRelationshipPathDefinitions() Gets all of the RelationshipPathDefinition s for this object type. |
oracle.iam.rm.i18n.Formattable |
getTitle() Gets the localized title for the object type. |
java.lang.String |
getTitleAttribute() Gets the attribute to use for the "title" of an object instance of this type. |
boolean |
instanceOf(java.lang.String objectTypeId) Determines whether this object type is an instance (either directly or as a subtype) of the object type provided. |
boolean |
isAbstractType() Determines whether this is an abstract type. |
oracle.iam.rm.i18n.Formattable |
validateCreate(SnapshotSession snapshotSession, java.util.Map<java.lang.String,ObjectKey> primaryKeys, java.util.Map<java.lang.String,? extends java.lang.Object> attributes) Runs object-scope validation for creating an object of this type with particular attributes. |
oracle.iam.rm.i18n.Formattable |
validateUpdate(SnapshotSession snapshotSession, SnapshotObject object, java.util.Map<java.lang.String,? extends java.lang.Object> attributeValues) Runs object-scope validation for updating a specific object of this type with particular attributes. |
Method Detail |
---|
java.lang.String getKey()
ObjectType
.String
representing the identifier of this object type.boolean isAbstractType()
true
if the object type is abstract, false
otherwiseAttributeDefinition[] getAttributeDefinitions()
AttributeDefinition
s for this object type.AttributeDefinition
s for this object type.AttributeDefinition getAttributeDefinition(java.lang.String attributeKey)
AttributeDefinition
for this object type by attribute key.attributeKey
- the identifer of the attribute to retrieveAttributeDefinition
for this object type by attribute key or null
if that attribute does not exist on this object type.RelationshipPathDefinition[] getRelationshipPathDefinitions()
RelationshipPathDefinition
s for this object type.RelationshipPathDefinition
s for this object type.RelationshipPathDefinition getRelationshipPathDefinition(java.lang.String relationshipPathKey)
RelationshipPathDefinition
for this object type by relationship path key.relationshipPathKey
- the identifer of the relationship path to retrieveRelationshipPathDefinition
for this object type by relationship path key or null
if that relationship path does not exist on this object type.oracle.iam.rm.i18n.Formattable getTitle()
boolean instanceOf(java.lang.String objectTypeId)
objectTypeId
- the identifier of the object type to compare totrue
if this object type or one of its supertypes is the object type specified, false
otehrwiseObjectType getExtendedObjectType()
java.lang.String getTitleAttribute()
null
if one is not specified.java.lang.String getReadPermission()
null
if instances of this object type are readable by all users.java.lang.String getReadAuditDetailsPermission()
null
if audit details for instances of this object type are readable by all users.java.util.Set<java.lang.String> getPermissions()
SOCPolicy getPermissionSocPolicy(java.lang.String permission)
permission
- the identifier of the permission to get the Sphere of Control policy fornull
is one is not configuredoracle.iam.rm.temporal.impl.RelatedAuditObject[] getRelatedAuditObjects()
RelatedAuditObject
s for objects of this type.RelatedAuditObject
s for objects of this type.oracle.iam.rm.i18n.Formattable validateUpdate(SnapshotSession snapshotSession, SnapshotObject object, java.util.Map<java.lang.String,? extends java.lang.Object> attributeValues)
snapshotSession
- the session associated with this proposed changeobject
- the object to be changedattributeValues
- the attributes to set on the object being updatedFormattable
of the error message if the validation fails or null
if the validation succeedsoracle.iam.rm.i18n.Formattable validateCreate(SnapshotSession snapshotSession, java.util.Map<java.lang.String,ObjectKey> primaryKeys, java.util.Map<java.lang.String,? extends java.lang.Object> attributes)
snapshotSession
- the session associated with this proposed changeprimaryKeys
- the primary keys to set on the object being createdattributes
- the attributes to set on the object being createdFormattable
of the error message if the validation fails or null
if the validation succeeds
|
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 |