com.crystaldecisions.sdk.occa.infostore
Interface ISecurityRight


Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively

public interface ISecurityRight

This object provides information about the rights that are set on an object for a particular principal.


Method Summary
 java.lang.String getDescription(java.util.Locale locale)
          Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively
 int getID()
          Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively
 java.lang.String getObjectType()
          Deprecated.  
 boolean isGranted()
          Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively
 boolean isInherited()
          Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively
 boolean isOwner()
          Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively
 void setGranted(boolean granted)
          Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively
 

Method Detail

isGranted

boolean isGranted()
Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively

Returns true if the right is granted, and false otherwise.

Returns:
true if the right is granted, and false otherwise.

setGranted

void setGranted(boolean granted)
Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively

Sets whether a right is granted. This value should be set to true if the right is to be granted, and false otherwise.

Parameters:
granted - The new value of the right. This value should be set to true if the right is to be granted, and false otherwise.

getID

int getID()
Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively

Returns the right's ID.

Returns:
The ID of this right as an int.

isInherited

boolean isInherited()
Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively

Returns true if the right is inherited, and false otherwise. If the right is inherited it cannot be changed on this object.

Returns:
true if the right is inherited, and false otherwise.

isOwner

boolean isOwner()
Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively

Returns true if this is an owner specific right, false otherwise.

Returns:
true if this is an owner specific right, false otherwise.

getDescription

java.lang.String getDescription(java.util.Locale locale)
Deprecated. Since 12.0, ISecurityRight has been replaced by IExplicitRight and IEffectiveRight accessible through IExplicitRights and IEffectiveRights respectively

The localized description of the right.

Parameters:
locale - The Locale object used to specify the description's display properties.
Returns:
A String containing the localized description of the right.

getObjectType

java.lang.String getObjectType()
                               throws SDKException
Deprecated. 
Throws:
SDKException