com.crystaldecisions.sdk.occa.infostore
Interface IEffectiveRoles


public interface IEffectiveRoles

This interface represents a collection of effective custom access levels (custom roles) on 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
 IEffectiveRole 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.
 int size()
           Returns the size of the custom access levels in this collection.
 

Method Detail

get

IEffectiveRole get(int id)

Returns the custom access level with the given ID.

Parameters:
id - The ID of the custom access level to be returned.
Returns:
The custom access level, or null if no such custom access level exists.

iterator

java.util.Iterator iterator()

Returns an iterator for all of the custom access levels in the collection.

Returns:
An iterator for all of the custom access levels in the collection.

size

int size()

Returns the size of the custom access levels in this collection.

Returns:
the size of the custom access levels