Skip navigation links


oracle.idm.policy
Interface IPolicyTrustee

All Known Implementing Classes:
ApproverTrustee

public interface IPolicyTrustee

Field Summary
static java.lang.String GROUP_TRUSTEE
           
static java.lang.String MANAGER_TRUSTEE
           
static java.lang.String USER_TRUSTEE
           

 

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.

 

Field Detail

USER_TRUSTEE

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

GROUP_TRUSTEE

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

MANAGER_TRUSTEE

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

Method Detail

getTrusteeType

java.lang.String getTrusteeType()
Returns type of trustee.
Returns:
Type of trustee. Currently supported: USER_TRUSTEE, GROUP_TRUSTEE, MANAGER_TRUSTEE.

getID

java.lang.String getID()
Gets id of the trustee.
Returns:
Id of the trustee.

getName

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

getProperty

java.lang.String getProperty(java.lang.String name)
Returns value of the given property for given trustee.
Returns:
Value of the given property of this trustee.

getManagerLevel

int getManagerLevel()
Gets manager level if trustee is a manager.
Returns:
Level of manager if trustee is a manager trustee. Returns 0 otherwise.

setProperty

void setProperty(java.lang.String name,
                 java.lang.String val)
                 throws java.lang.IllegalArgumentException
Sets value of a given property.
Parameters:
name - Name of the property.
value - Value of the property.
Throws:
java.lang.IllegalArgumentException

Skip navigation links