|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IExplicitLimit
This object provides information about a limit that is assigned to an object for a particular principal.
| Method Summary | |
|---|---|
java.lang.String |
getApplicableKind()
Returns plugin kind the security item applies to. |
java.lang.String |
getDescription(java.util.Locale locale)
Returns the description of the security item. |
RightDescriptor |
getLimitDescriptor()
Returns the description used to identify the limit. |
java.lang.String |
getObjectType()
Deprecated. As of version 12.0. Use IExplicitLimit.getApplicableKind() instead, which has the same meaning but a more intuitive API name. |
java.lang.String |
getScope()
Returns the scope of the security item. |
int |
getValue()
Gets the numeric value of the limit. |
void |
setValue(int lVal)
Sets the numeric value of the limit. |
| Methods inherited from interface com.crystaldecisions.sdk.occa.infostore.IRightIDBase |
|---|
getBaseID, getID, getRightPluginKind, getRightPluginType, isOwner |
| Method Detail |
|---|
java.lang.String getDescription(java.util.Locale locale)
Returns the description of the security item.
locale - A Locale object specifying the locale-specific display
properties.
String.java.lang.String getObjectType()
IExplicitLimit.getApplicableKind() instead, which has the same meaning but a more intuitive API name.
java.lang.String getApplicableKind()
Returns plugin kind the security item applies to. When the applicable kind of a limit is set to a particular plugin kind, this limit is only applicable to the type of objects corresponding to this plugin kind.
java.lang.String getScope()
Returns the scope of the security item. The value is defined in
CeSecurityOptions.RightScope. The scope can
be "this" or "descendants". "this" means that the assigned limit is effective on the current object and
"descendants" means it is effective on objects contained in the current object.
void setValue(int lVal)
Sets the numeric value of the limit. For example, on a report object, a user might have a limit on the number of instances they are allowed to have. This method would be used to set the maximum number of instances the user is allowed to have.
lVal - The numeric int value to be set.int getValue()
Gets the numeric value of the limit. For example, on a report object, a user might have a limit on the number of instances they are allowed to have. This method would be used to get the maximum number of instances the user is allowed to have.
int representing the IntegerRight.RightDescriptor getLimitDescriptor()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||