Skip navigation links

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


oracle.iam.rm.inherent.role
Interface Role

All Superinterfaces:
SnapshotObject
All Known Subinterfaces:
Approver, BusinessRole, ITRole, SystemRole

public interface Role
extends SnapshotObject

The representation of a Role object.


Field Summary
static java.lang.String TYPE
          Static variable representing abstractRole object.

 

Method Summary
 java.lang.String getEligibilityRule()
          Returns the eligibility rule as an XML string for the role.
 java.lang.String getMembershipRule()
          Returns the membership rule as an XML string for the role.
 ObjectKey getSocHierarchy()
          Gets the hierarchy to which this role relates.
 void setEligibilityRule(java.lang.String predicate)
          Sets the eligibility rule as an XML string.
 void setMembershipRule(java.lang.String predicate)
          Sets the membership rule as an XML string.

 

Methods inherited from interface oracle.iam.rm.temporal.SnapshotObject
delete, delete, getAllAttributes, getAttributeValue, getDefaultTitle, getMixin, getObjectKey, getObjectType, getRelativeObjects, getRelativeObjects, getStructuralObject, getStructuralObjectType, getVersion, isEditable, makeReadConsistent, setAttributeValue, setAttributeValues, stateEquals, updateVersion

 

Field Detail

TYPE

static final java.lang.String TYPE
Static variable representing abstractRole object.
See Also:
Constant Field Values

Method Detail

getSocHierarchy

ObjectKey getSocHierarchy()
Gets the hierarchy to which this role relates. All sphere-of-control bindings on a grant of this role must be on an organization in this hierarchy.
Returns:
The key of the hierarchy to which this role relates.

getMembershipRule

java.lang.String getMembershipRule()
Returns the membership rule as an XML string for the role.
Returns:
String containing an XML predicate element.

setMembershipRule

void setMembershipRule(java.lang.String predicate)
Sets the membership rule as an XML string. <p/> This method sets the membershipRule attribute defined in the abstractRole structural type. Normally this method would not be called directly -- InteractiveRoleManager.setMembershipRule(Role, String) should be used instead, which validates the XML and converts aliased references to explicit references.
Parameters:
predicate - String contaning an XML predicate element.
See Also:
InteractiveRoleManager.setMembershipRule(oracle.iam.rm.inherent.role.Role, java.lang.String)

getEligibilityRule

java.lang.String getEligibilityRule()
Returns the eligibility rule as an XML string for the role.
Returns:
String containing an XML predicate element.

setEligibilityRule

void setEligibilityRule(java.lang.String predicate)
Sets the eligibility rule as an XML string. <p/> This method sets the membershipRule attribute defined in the abstractRole structural type. Normally this method would not be called directly -- InteractiveRoleManager.setEligibilityRule(oracle.iam.rm.inherent.role.Role, java.lang.String) should be used instead, which validates the XML and converts aliased references to explicit references.
Parameters:
predicate - String contaning an XML predicate element.
See Also:
InteractiveRoleManager.setEligibilityRule(oracle.iam.rm.inherent.role.Role, java.lang.String)

Skip navigation links

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


Copyright © 2008, 2009 Oracle. All Rights Reserved.