|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPolicyTrusteeCollection
Field Summary | |
---|---|
static java.lang.String |
TRUSTEE_COLLECTION_PROPERTY_APPROVAL_LEVEL |
Method Summary | |
---|---|
void |
addGroupTrustee(java.lang.String id) Adds a group trustee to the collection. |
void |
addManagerTrustee(int level) Adds a manager trustee to the collection. |
void |
addUserTrustee(java.lang.String id) Adds a user trustee to the collection. |
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.lang.String |
getDescription() Gets description of the trustee collection. |
java.lang.String |
getName() Gets name of the trustee collection. |
java.lang.String |
getProperty(java.lang.String propname) Returns value of the given property for given trustee collection. |
java.util.List |
getPropertyNames() Returns a list of property names for this trustee collection. |
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 |
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. |
Field Detail |
---|
static final java.lang.String TRUSTEE_COLLECTION_PROPERTY_APPROVAL_LEVEL
Method Detail |
---|
java.lang.String getName()
java.lang.String getDescription()
java.util.List getTrusteesByType(java.lang.String type)
java.util.List getPropertyNames()
java.lang.String getProperty(java.lang.String propname)
void setName(java.lang.String name)
name
- Name of the collection.void setDescription(java.lang.String descr)
descr
- Description of the collection.void setProperty(java.lang.String name, java.lang.String value) throws java.lang.IllegalArgumentException
name
- Name of the property.value
- Value of the property.java.lang.IllegalArgumentException
void addUserTrustee(java.lang.String id)
id
- Id of the trustee.void addGroupTrustee(java.lang.String id)
id
- Id of the trustee.void addManagerTrustee(int level)
level
- Level of the manager. This will be evaluated at runtime in the context of the user.void deleteManagerTrustee(int level)
level
- Level of the manager to be deleted.void deleteUserTrustee(java.lang.String id)
id
- ID of the user to be deleted.void deleteGroupTrustee(java.lang.String id)
id
- ID of the group to be deleted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |