|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
public interface ISecurityLimit
This object provides information about the limits that are set on an object for a particular principal.
| Method Summary | |
|---|---|
java.lang.String |
getDescription(java.util.Locale locale)
Deprecated. Since 12.0, ISecurityLimit has been replaced by IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively |
int |
getID()
Deprecated. Since 12.0, ISecurityLimit has been replaced by IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively |
int |
getValue()
Deprecated. Since 12.0, ISecurityLimit has been replaced by IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively |
boolean |
isInherited()
Deprecated. Since 12.0, ISecurityLimit has been replaced by IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively |
boolean |
isMaximumValueUsed()
Deprecated. Since 12.0, ISecurityLimit has been replaced by IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively |
void |
setInherited(boolean inherited)
Deprecated. Since 12.0, ISecurityLimit has been replaced by IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively |
void |
setValue(int lVal)
Deprecated. Since 12.0, ISecurityLimit has been replaced by IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively |
| Method Detail |
|---|
int getID()
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
Returns the limit's ID.
int specifying the property ID.void setValue(int lVal)
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
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()
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
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.boolean isMaximumValueUsed()
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
Returns true if the maximum value of the limit in the object inheritance
is valid, and false if the minimum value is valid.
true if the maximum value of the limit in the object inheritance
is valid, and false if the minimum value is valid.boolean isInherited()
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
Returns true if the limit is inherited, and false otherwise.
Note: If the value is inherited, you can modify the value of the limit for the current object;
however, the change will automatically change the value of this boolean to false.
true if the limit is inherited, and false otherwise.void setInherited(boolean inherited)
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
Sets whether the limit is to be inherited. This value should be set to true if
the limit is to be inherited, and false otherwise.
Note: If the value is inherited, you can modify the value of the limit for the current object;
however, the change will automatically change the value of this boolean to false.
inherited - true if the limit is inherited, and false otherwise.java.lang.String getDescription(java.util.Locale locale)
IExplicitLimit and IEffectiveLimit
accessible through IExplicitLimits and IEffectiveLimits respectively
Returns the description of the limit.
locale - A Locale object specifying the locale-specific display
properties.
String.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||