Skip navigation links


oracle.idm.policy
Interface IPolicy

All Known Implementing Classes:
ApprovalPolicy

public interface IPolicy

Field Summary
static java.lang.String POLICY_PROPERTY_APPROVAL_ATTRS
           
static java.lang.String POLICY_PROPERTY_APPROVAL_FILTER
           
static java.lang.String POLICY_PROPERTY_APPROVAL_LEVELS
           
static java.lang.String POLICY_PROPERTY_APPROVAL_OPS
           
static java.lang.String POLICY_PROPERTY_APPROVAL_PROC
           

 

Method Summary
 void addProperty(java.lang.String name, java.lang.String val)
          Adds given property to the policy.
 java.util.List getAllTrustees()
          Returns all the trustees of this policy.
 java.lang.String getDescription()
          Gets description of the policy.
 java.lang.String getKey()
          Gets Database key of the policy.
 java.lang.String getName()
          Gets name of the policy.
 java.util.List getPropertyCollection(java.lang.String name)
          Returns values of the given property for given policy
 java.util.List getPropertyNames()
          Returns a list of property names for this policy.
 IPolicyTrusteeCollection getTrusteesByProperty(java.lang.String trusteeprop, java.lang.String val)
           
 void setDescription(java.lang.String descr)
          Sets description of this policy.
 void setKey(java.lang.String key)
          Sets database key of this policy.
 void setName(java.lang.String name)
          Sets name of this policy.

 

Field Detail

POLICY_PROPERTY_APPROVAL_OPS

static final java.lang.String POLICY_PROPERTY_APPROVAL_OPS
See Also:
Constant Field Values

POLICY_PROPERTY_APPROVAL_ATTRS

static final java.lang.String POLICY_PROPERTY_APPROVAL_ATTRS
See Also:
Constant Field Values

POLICY_PROPERTY_APPROVAL_FILTER

static final java.lang.String POLICY_PROPERTY_APPROVAL_FILTER
See Also:
Constant Field Values

POLICY_PROPERTY_APPROVAL_PROC

static final java.lang.String POLICY_PROPERTY_APPROVAL_PROC
See Also:
Constant Field Values

POLICY_PROPERTY_APPROVAL_LEVELS

static final java.lang.String POLICY_PROPERTY_APPROVAL_LEVELS
See Also:
Constant Field Values

Method Detail

getName

java.lang.String getName()
Gets name of the policy.
Returns:
Name of this policy.

getKey

java.lang.String getKey()
Gets Database key of the policy.
Returns:
Key of this policy.

getDescription

java.lang.String getDescription()
Gets description of the policy.
Returns:
Description of this policy.

getAllTrustees

java.util.List getAllTrustees()
Returns all the trustees of this policy.
Returns:
List of IPolicyTrusteeCollection.

getTrusteesByProperty

IPolicyTrusteeCollection getTrusteesByProperty(java.lang.String trusteeprop,
                                               java.lang.String val)

getPropertyCollection

java.util.List getPropertyCollection(java.lang.String name)
Returns values of the given property for given policy
Parameters:
name - Name of the property.
Returns:
List of values of the given property. Returns a list of Strings.

getPropertyNames

java.util.List getPropertyNames()
Returns a list of property names for this policy.
Returns:
List of property names. It is a list of strings.

setName

void setName(java.lang.String name)
Sets name of this policy.
Parameters:
name - Name of the policy.

setKey

void setKey(java.lang.String key)
Sets database key of this policy.
Parameters:
key - Key of the policy.

setDescription

void setDescription(java.lang.String descr)
Sets description of this policy.
Parameters:
descr - Description of the policy.

addProperty

void addProperty(java.lang.String name,
                 java.lang.String val)
Adds given property to the policy. If the property is supposed to have unique value, replaces existing value.
Parameters:
name - Name of the property.
val - Value of the property.

Skip navigation links