|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.provisioning.approval.Approvers
public class Approvers
Field Summary | |
---|---|
static java.lang.String |
MGR_ROLE_NAME |
Fields inherited from interface oracle.idm.policy.IPolicyTrusteeCollection |
---|
TRUSTEE_COLLECTION_PROPERTY_APPROVAL_LEVEL |
Constructor Summary | |
---|---|
Approvers() |
Method Summary | |
---|---|
void |
addApproverRoleByName(java.lang.String role) |
void |
addGroupTrustee(java.lang.String grp) Adds a group trustee to the collection. |
void |
addManagerTrustee(int level) Adds a manager trustee to the collection. |
void |
addUserTrustee(java.lang.String user) Adds a user trustee to the collection. |
int |
compareTo(java.lang.Object obj) |
void |
copyTrusteeCollection(IPolicyTrusteeCollection tc) |
void |
deleteGroupTrustee(java.lang.String id) Deletes a group trustee from the collection. |
void |
deleteManagerTrustee(int level) Deletes a manager trustee from the collection. |
void |
deleteUserTrustee(java.lang.String id) Deletes a user trustee from the collection. |
java.util.List |
getApproverGroups() |
java.util.List |
getApproverRoleNames() |
java.util.List |
getApproverUsers() |
java.lang.String |
getDescription() Gets description of the trustee collection. |
int |
getLevel() |
java.lang.String |
getName() Gets name of the trustee collection. |
java.lang.String |
getProperty(java.lang.String prop) Returns value of the given property for given trustee collection. |
java.util.List |
getPropertyNames() Returns a list of property names for this trustee collection. |
static int |
getRoleLevel(java.lang.String name) |
java.util.List |
getTrusteesByType(java.lang.String type) Returns a list of trustees by type. |
void |
setDescription(java.lang.String descr) Sets description of this trustee collection. |
void |
setLevel(int level) |
void |
setName(java.lang.String name) Sets name of this trustee collection. |
void |
setProperty(java.lang.String name, java.lang.String value) Sets value of a given property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String MGR_ROLE_NAME
Constructor Detail |
---|
public Approvers()
Method Detail |
---|
public void copyTrusteeCollection(IPolicyTrusteeCollection tc) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public java.lang.String getName()
IPolicyTrusteeCollection
getName
in interface IPolicyTrusteeCollection
public java.util.List getApproverUsers()
public java.util.List getApproverGroups()
public java.util.List getApproverRoleNames()
public java.lang.String getDescription()
IPolicyTrusteeCollection
getDescription
in interface IPolicyTrusteeCollection
public java.util.List getTrusteesByType(java.lang.String type)
IPolicyTrusteeCollection
getTrusteesByType
in interface IPolicyTrusteeCollection
public int getLevel()
public java.lang.String getProperty(java.lang.String prop)
IPolicyTrusteeCollection
getProperty
in interface IPolicyTrusteeCollection
public java.util.List getPropertyNames()
IPolicyTrusteeCollection
getPropertyNames
in interface IPolicyTrusteeCollection
public void setName(java.lang.String name)
IPolicyTrusteeCollection
setName
in interface IPolicyTrusteeCollection
name
- Name of the collection.public void setDescription(java.lang.String descr)
IPolicyTrusteeCollection
setDescription
in interface IPolicyTrusteeCollection
descr
- Description of the collection.public void addUserTrustee(java.lang.String user)
IPolicyTrusteeCollection
addUserTrustee
in interface IPolicyTrusteeCollection
user
- Id of the trustee.public void addGroupTrustee(java.lang.String grp)
IPolicyTrusteeCollection
addGroupTrustee
in interface IPolicyTrusteeCollection
grp
- Id of the trustee.public void addManagerTrustee(int level) throws java.lang.IllegalArgumentException
IPolicyTrusteeCollection
addManagerTrustee
in interface IPolicyTrusteeCollection
level
- Level of the manager. This will be evaluated at runtime in the context of the user.java.lang.IllegalArgumentException
public void setLevel(int level)
public static int getRoleLevel(java.lang.String name) throws java.lang.NumberFormatException, java.lang.IllegalArgumentException
java.lang.NumberFormatException
java.lang.IllegalArgumentException
public void deleteUserTrustee(java.lang.String id)
IPolicyTrusteeCollection
deleteUserTrustee
in interface IPolicyTrusteeCollection
id
- ID of the user to be deleted.public void deleteGroupTrustee(java.lang.String id)
IPolicyTrusteeCollection
deleteGroupTrustee
in interface IPolicyTrusteeCollection
id
- ID of the group to be deleted.public void deleteManagerTrustee(int level)
IPolicyTrusteeCollection
deleteManagerTrustee
in interface IPolicyTrusteeCollection
level
- Level of the manager to be deleted.public void setProperty(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
IPolicyTrusteeCollection
setProperty
in interface IPolicyTrusteeCollection
name
- Name of the property.value
- Value of the property.java.lang.IllegalArgumentException
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public void addApproverRoleByName(java.lang.String role)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |