com.businessobjects.sdk.plugin.desktop.licenserestriction
Interface IRestrictedRights


public interface IRestrictedRights

This interface defines a read-only collection of rights associated with a license restriction.

Use this interface to obtain the restricted rights for this license.

Since:
4.0
See Also:
ILicenseRestriction

Method Summary
 IRestrictedRight get(int i)
          Get the restricted right at the specified index.
 IRestrictedRight getRestrictedRight(RightDescriptor right)
          Returns the restricted right that matches the RightDescriptor parameter.
 java.util.Iterator iterator()
          Returns an iterator that provides access to the restricted rights.
 

Method Detail

getRestrictedRight

IRestrictedRight getRestrictedRight(RightDescriptor right)
                                    throws SDKException
Returns the restricted right that matches the RightDescriptor parameter.

Parameters:
right - A RightDescriptor object that identifies the role right.
Returns:
A IRestrictedRight object that matches the role right, or null if no match exists.
Throws:
SDKException - if the process is unsuccessful.

get

IRestrictedRight get(int i)
Get the restricted right at the specified index.

Parameters:
i - The index of the restricted right.
Returns:
The IRestrictedRight object at index i.

iterator

java.util.Iterator iterator()
Returns an iterator that provides access to the restricted rights.

Returns:
An Iterator object that contains the restricted rights as IRestrictedRight objects.