|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.provisioning.approval.ApprovalPolicy
public class ApprovalPolicy
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 |
---|
public static final java.lang.String ALL_OPERATIONS
public static final java.lang.String DEFAULT_APPROVAL_PROCESS
Constructor Detail |
---|
public ApprovalPolicy()
Method Detail |
---|
public void copyPolicy(IPolicy pol) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String getName()
IPolicy
getName
in interface IPolicy
public java.lang.String getKey()
IPolicy
getKey
in interface IPolicy
public java.util.List getOperations()
public java.util.List getOpAttrs()
public java.lang.String getObjectFilter()
public java.lang.String getDescription()
IPolicy
getDescription
in interface IPolicy
public java.lang.String getApprovalProcess()
public int getApprovalLevels()
public java.util.List getPropertyCollection(java.lang.String prop)
IPolicy
getPropertyCollection
in interface IPolicy
prop
- Name of the property.public java.util.List getAllTrustees()
IPolicy
getAllTrustees
in interface IPolicy
public IPolicyTrusteeCollection getTrusteesByProperty(java.lang.String prop, java.lang.String val)
getTrusteesByProperty
in interface IPolicy
public void setName(java.lang.String name)
IPolicy
setName
in interface IPolicy
name
- Name of the policy.public void setKey(java.lang.String key)
IPolicy
setKey
in interface IPolicy
key
- Key of the policy.public void setApprovers(java.util.List approvers)
public void setOpAttrs(java.util.List attrs)
public void setOperations(java.util.List ops)
public void addOperation(java.lang.String op)
public void addOpAttr(java.lang.String attr)
public void setObjectFilter(java.lang.String filter)
public void setDescription(java.lang.String descr)
IPolicy
setDescription
in interface IPolicy
descr
- Description of the policy.public void setApprovalProcess(java.lang.String proc)
public void setApprovalLevels(int levels) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public void addProperty(java.lang.String name, java.lang.String val)
IPolicy
addProperty
in interface IPolicy
name
- Name of the property.val
- Value of the property.public java.util.List getPropertyNames()
IPolicy
getPropertyNames
in interface IPolicy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |