|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRoleRight
This interface contains the description of a right and the state (whether it is granted or denied).
| Nested Class Summary | |
|---|---|
static interface |
IRoleRight.Scope
The scope of a right. |
| Method Summary | |
|---|---|
java.lang.String |
getApplicableKind()
Returns the plugin kind to which the right applies. |
java.lang.String |
getCategory(java.util.Locale locale)
Deprecated. Use IPluginInfo.getName() instead |
java.lang.String |
getCollection(java.util.Locale locale)
Deprecated. Use IPluginInfo.getTypeCollection(java.util.Locale) instead |
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this right. |
boolean |
getGranted()
Returns whether the right is granted. |
int |
getID()
Returns the base ID of the right. |
java.lang.String |
getKind()
Returns the plugin kind for which the right is defined. |
boolean |
getOwnerRight()
Returns whether the right only applies to the owner of an object. |
java.lang.String |
getScope()
Returns the scope of the right. |
void |
setApplicableKind(java.lang.String kind)
Deprecated. Do not use. Instead, remove the right from the collection and add a new right where the applicable kind is configured in the RightDescriptor. |
void |
setGranted(boolean granted)
Sets whether the right is granted. |
void |
setOwnerRight(boolean owner)
Deprecated. Do not use. Instead, remove the right from the collection and add a new right where the owner flag is configured in the RightDescriptor. |
void |
setScope(java.lang.String scope)
Deprecated. Do not use. Instead, remove the right from the collection and add a new right where the scope is configured in the RightDescriptor. |
| Method Detail |
|---|
int getID()
com.crystaldecisions.sdk.occa.security.CeSecurityID.Right.
java.lang.String getKind()
For system rights, use an empty string for the kind.
boolean getOwnerRight()
void setOwnerRight(boolean owner)
RightDescriptor.
IRoleRights.addRoleRight(com.crystaldecisions.sdk.occa.infostore.RightDescriptor, boolean)java.lang.String getApplicableKind()
void setApplicableKind(java.lang.String kind)
throws SDKException
RightDescriptor.
SDKExceptionIRoleRights.addRoleRight(com.crystaldecisions.sdk.occa.infostore.RightDescriptor, boolean)java.lang.String getScope()
IRoleRight.Scope.
void setScope(java.lang.String scope)
throws SDKException
RightDescriptor.
SDKExceptionIRoleRights.addRoleRight(com.crystaldecisions.sdk.occa.infostore.RightDescriptor, boolean)boolean getGranted()
void setGranted(boolean granted)
granted - The new value of the right. set to true if the right
is to be granted, false otherwise.java.lang.String getDescription(java.util.Locale locale)
locale - the locale for which to get the description
java.lang.String getCategory(java.util.Locale locale)
IPluginInfo.getName() instead
locale - the locale for which to get the category
java.lang.String getCollection(java.util.Locale locale)
IPluginInfo.getTypeCollection(java.util.Locale) instead
locale - the locale for which to get the collection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||