com.crystaldecisions.sdk.plugin.desktop.common
Interface IScopePrincipals

All Superinterfaces:
java.util.Collection, java.lang.Iterable, java.util.List

public interface IScopePrincipals
extends java.util.List

IScopePrincipals is a interface represent a collection of principals for the given scope.


Method Summary
 void add(int principalID)
          Add the ID of a principal to this list of principals.
 int getPrincipalID(int index)
          Get the principal ID at the given index.
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

add

void add(int principalID)

Add the ID of a principal to this list of principals.

Parameters:
principalID -

getPrincipalID

int getPrincipalID(int index)
                   throws SDKException

Get the principal ID at the given index.

Parameters:
index - a int index.
Returns:
The ID of the principal at the given index.
Throws:
SDKException - if index is out of range