Skip navigation links


oracle.idm.provisioning.approval
Class ApproverTrustee

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

All Implemented Interfaces:
IPolicyTrustee

public class ApproverTrustee
extends java.lang.Object
implements IPolicyTrustee

Field Summary

 

Fields inherited from interface oracle.idm.policy.IPolicyTrustee
GROUP_TRUSTEE, MANAGER_TRUSTEE, USER_TRUSTEE

 

Constructor Summary
ApproverTrustee(java.lang.String type, java.lang.String id, int level)
           

 

Method Summary
 java.lang.String getID()
          Gets id of the trustee.
 int getManagerLevel()
          Gets manager level if trustee is a manager.
 java.lang.String getName()
          Gets name of the trustee.
 java.lang.String getProperty(java.lang.String name)
          Returns value of the given property for given trustee.
 java.lang.String getTrusteeType()
          Returns type of trustee.
 void setProperty(java.lang.String name, java.lang.String val)
          Sets value of a given property.

 

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

 

Constructor Detail

ApproverTrustee

public ApproverTrustee(java.lang.String type,
                       java.lang.String id,
                       int level)

Method Detail

getTrusteeType

public java.lang.String getTrusteeType()
Description copied from interface: IPolicyTrustee
Returns type of trustee.
Specified by:
getTrusteeType in interface IPolicyTrustee
Returns:
Type of trustee. Currently supported: USER_TRUSTEE, GROUP_TRUSTEE, MANAGER_TRUSTEE.

getID

public java.lang.String getID()
Description copied from interface: IPolicyTrustee
Gets id of the trustee.
Specified by:
getID in interface IPolicyTrustee
Returns:
Id of the trustee.

getName

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

getProperty

public java.lang.String getProperty(java.lang.String name)
Description copied from interface: IPolicyTrustee
Returns value of the given property for given trustee.
Specified by:
getProperty in interface IPolicyTrustee
Returns:
Value of the given property of this trustee.

getManagerLevel

public int getManagerLevel()
Description copied from interface: IPolicyTrustee
Gets manager level if trustee is a manager.
Specified by:
getManagerLevel in interface IPolicyTrustee
Returns:
Level of manager if trustee is a manager trustee. Returns 0 otherwise.

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String val)
                 throws java.lang.IllegalArgumentException
Description copied from interface: IPolicyTrustee
Sets value of a given property.
Specified by:
setProperty in interface IPolicyTrustee
Parameters:
name - Name of the property.
Throws:
java.lang.IllegalArgumentException

Skip navigation links