Skip navigation links


oracle.idm.provisioning.approval
Class ApprovalPolicy

java.lang.Object
  extended by oracle.idm.provisioning.approval.ApprovalPolicy

All Implemented Interfaces:
IPolicy

public class ApprovalPolicy
extends java.lang.Object
implements IPolicy

Field Summary
static java.lang.String ALL_OPERATIONS
           
static java.lang.String DEFAULT_APPROVAL_PROCESS
           

 

Fields inherited from interface oracle.idm.policy.IPolicy
POLICY_PROPERTY_APPROVAL_ATTRS, POLICY_PROPERTY_APPROVAL_FILTER, POLICY_PROPERTY_APPROVAL_LEVELS, POLICY_PROPERTY_APPROVAL_OPS, POLICY_PROPERTY_APPROVAL_PROC

 

Constructor Summary
ApprovalPolicy()
           

 

Method Summary
 void addOpAttr(java.lang.String attr)
           
 void addOperation(java.lang.String op)
           
 void addProperty(java.lang.String name, java.lang.String val)
          Adds given property to the policy.
 void copyPolicy(IPolicy pol)
           
 java.util.List getAllTrustees()
          Returns all the trustees of this policy.
 int getApprovalLevels()
           
 java.lang.String getApprovalProcess()
           
 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.lang.String getObjectFilter()
           
 java.util.List getOpAttrs()
           
 java.util.List getOperations()
           
 java.util.List getPropertyCollection(java.lang.String prop)
          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 prop, java.lang.String val)
           
 void setApprovalLevels(int levels)
           
 void setApprovalProcess(java.lang.String proc)
           
 void setApprovers(java.util.List approvers)
           
 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.
 void setObjectFilter(java.lang.String filter)
           
 void setOpAttrs(java.util.List attrs)
           
 void setOperations(java.util.List ops)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

ALL_OPERATIONS

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

DEFAULT_APPROVAL_PROCESS

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

Constructor Detail

ApprovalPolicy

public ApprovalPolicy()

Method Detail

copyPolicy

public void copyPolicy(IPolicy pol)
                throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getName

public java.lang.String getName()
Description copied from interface: IPolicy
Gets name of the policy.
Specified by:
getName in interface IPolicy
Returns:
Name of this policy.

getKey

public java.lang.String getKey()
Description copied from interface: IPolicy
Gets Database key of the policy.
Specified by:
getKey in interface IPolicy
Returns:
Key of this policy.

getOperations

public java.util.List getOperations()

getOpAttrs

public java.util.List getOpAttrs()

getObjectFilter

public java.lang.String getObjectFilter()

getDescription

public java.lang.String getDescription()
Description copied from interface: IPolicy
Gets description of the policy.
Specified by:
getDescription in interface IPolicy
Returns:
Description of this policy.

getApprovalProcess

public java.lang.String getApprovalProcess()

getApprovalLevels

public int getApprovalLevels()

getPropertyCollection

public java.util.List getPropertyCollection(java.lang.String prop)
Description copied from interface: IPolicy
Returns values of the given property for given policy
Specified by:
getPropertyCollection in interface IPolicy
Parameters:
prop - Name of the property.
Returns:
List of values of the given property. Returns a list of Strings.

getAllTrustees

public java.util.List getAllTrustees()
Description copied from interface: IPolicy
Returns all the trustees of this policy.
Specified by:
getAllTrustees in interface IPolicy
Returns:
List of IPolicyTrusteeCollection.

getTrusteesByProperty

public IPolicyTrusteeCollection getTrusteesByProperty(java.lang.String prop,
                                                      java.lang.String val)
Specified by:
getTrusteesByProperty in interface IPolicy

setName

public void setName(java.lang.String name)
Description copied from interface: IPolicy
Sets name of this policy.
Specified by:
setName in interface IPolicy
Parameters:
name - Name of the policy.

setKey

public void setKey(java.lang.String key)
Description copied from interface: IPolicy
Sets database key of this policy.
Specified by:
setKey in interface IPolicy
Parameters:
key - Key of the policy.

setApprovers

public void setApprovers(java.util.List approvers)

setOpAttrs

public void setOpAttrs(java.util.List attrs)

setOperations

public void setOperations(java.util.List ops)

addOperation

public void addOperation(java.lang.String op)

addOpAttr

public void addOpAttr(java.lang.String attr)

setObjectFilter

public void setObjectFilter(java.lang.String filter)

setDescription

public void setDescription(java.lang.String descr)
Description copied from interface: IPolicy
Sets description of this policy.
Specified by:
setDescription in interface IPolicy
Parameters:
descr - Description of the policy.

setApprovalProcess

public void setApprovalProcess(java.lang.String proc)

setApprovalLevels

public void setApprovalLevels(int levels)
                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

addProperty

public void addProperty(java.lang.String name,
                        java.lang.String val)
Description copied from interface: IPolicy
Adds given property to the policy. If the property is supposed to have unique value, replaces existing value.
Specified by:
addProperty in interface IPolicy
Parameters:
name - Name of the property.
val - Value of the property.

getPropertyNames

public java.util.List getPropertyNames()
Description copied from interface: IPolicy
Returns a list of property names for this policy.
Specified by:
getPropertyNames in interface IPolicy
Returns:
List of property names. It is a list of strings.

Skip navigation links