|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IExplicitRoles
This interface represents a collection of custom access levels (custom roles) assigned to an object for a particular principal (user or group). A custom access level contains a collection of rights. When a custom access level is assigned to a principal on an object, all the rights assigned to it are included during the calculation of the effective rights for the principal on the object.
| Method Summary | |
|---|---|
IExplicitRole |
add(int id)
Adds a new custom access level to the collection. |
IExplicitRole |
get(int id)
Returns the custom access level with the given ID. |
java.util.Iterator |
iterator()
Returns an iterator for all of the custom access levels in the collection. |
void |
remove(int id)
Removes a custom access level from the collection. |
int |
size()
Returns the size of the custom access levels collection, excluding deleted values. |
| Method Detail |
|---|
IExplicitRole add(int id)
throws SDKException
Adds a new custom access level to the collection.
id - The ID of the new custom access level to be added.
IExplicitRole object.
SDKException
void remove(int id)
throws SDKException
Removes a custom access level from the collection.
id - The ID of the custom access level to be removed.
SDKExceptionIExplicitRole get(int id)
Returns the custom access level with the given ID.
id - The ID of the custom access level to be returned.
null if no such custom access level exists.java.util.Iterator iterator()
Returns an iterator for all of the custom access levels in the collection.
int size()
Returns the size of the custom access levels collection, excluding deleted values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||