|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
public interface ISecurityRights
Use this collection to set granular rights on an object for a particular principal (user, group). The SAP BusinessObjects Enterprise system defines a set of base rights that apply to all objects in the system. For example, the "View objects" right is a base right: it applies equally well to folders, to reports, and to other SAP BusinessObjects Enterprise objects. In addition to these base rights, however, each type of object provides an additional set of rights that apply only to that object type. For example, the "Refresh the report's data" right applies only to report objects.
The Central Management Server (CMS) is the component that keeps track of known or available rights. The list of available rights includes the base rights and all other object-specific rights that have been provided by particular object types, such as Crystal report objects.
For the purposes of inheritance, you may want to select a number of available rights and add them to the object's SecurityRights collection, even if they don't apply directly to that object. By doing this, you can set object security at the folder level (rather than repeating the same settings for every object in the folder). Although certain object-specific rights do not strictly apply to the folder object itself, these rights may apply to objects that inherit rights from the folder. In other words, if you add the "Refresh the report's data" right to a folder object's SecurityRights collection, you can grant a principal the right to refresh the data in all reports that are contained in this folder.
| Method Summary | |
|---|---|
ISecurityRight |
add(int id)
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
ISecurityRight |
addCustomRight(int id,
java.lang.String kind)
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
ISecurityRight |
addSystemRight(int id)
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
ISecurityRight |
get(int id)
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
ISecurityRight |
get(int id,
java.lang.String kind)
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
java.util.Iterator |
iterator()
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
void |
remove(int id)
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
int |
size()
Deprecated. Since 12.0, ISecurityRights has been replaced by IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively |
| Method Detail |
|---|
ISecurityRight add(int id)
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Adds a new right to the collection.
id - The ID of the new right to be added.
ISecurityRight object.
ISecurityRight addSystemRight(int id)
throws SDKException
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Adds a new system right to the collection.
id - The ID of the new right to be added.
ISecurityRight object.
SDKException
ISecurityRight addCustomRight(int id,
java.lang.String kind)
throws SDKException
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Adds a new custom right to the collection.
id - The ID of the new right to be added.kind - The InfoObject type that is associated with the right.
ISecurityRight object.
SDKExceptionISecurityRight get(int id)
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Returns the right with the given ID.
id - The ID of the right to be returned.
null if no such right exists.
ISecurityRight get(int id,
java.lang.String kind)
throws SDKException
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Returns the right with the given ID and kind.
id - The ID of the right to be returned.kind - The InfoObject type.
null if no such right exists.
SDKExceptionjava.util.Iterator iterator()
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Returns an iterator for all of the rights in the collection.
void remove(int id)
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Removes a right from the collection.
id - The right to be removed.int size()
IExplicitRights and IEffectiveRights
accessible through IExplicitPrincipal and IEffectivePrincipal respectively
Returns the size of the rights in this collection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||