(Preview)
Package | mx.data |
Class | public class AccessPrivileges |
Inheritance | AccessPrivileges Object |
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Public Properties
Property | Defined By | ||
---|---|---|---|
canAdd : Boolean [read-only]
Indicates whether add operations are permitted. | AccessPrivileges | ||
canModify : Boolean [read-only]
Indicates whether any modification operation can be performed. | AccessPrivileges | ||
canRemove : Boolean [read-only]
Indicates whether remove operations are permitted. | AccessPrivileges | ||
canUpdate : Boolean [read-only]
Indicates whether updates are permitted. | AccessPrivileges | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object |
Public Methods
Method | Defined By | ||
---|---|---|---|
AccessPrivileges(privileges:uint = 14)
Constructs an instance with the specified privileges. | AccessPrivileges | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Public Constants
Constant | Defined By | ||
---|---|---|---|
ADD : uint = 2 [static]
Indicates that add operations are allowed. | AccessPrivileges | ||
ALL : uint = 14 [static]
Indicates that no restrictions are imposed. | AccessPrivileges | ||
NONE : uint = 0 [static]
Indicates read-only access. | AccessPrivileges | ||
REMOVE : uint = 8 [static]
Indicates that remove operations are allowed. | AccessPrivileges | ||
UPDATE : uint = 4 [static]
Indicates that update operations are allowed. | AccessPrivileges |
Property Detail
canAdd | property |
canModify | property |
canRemove | property |
canUpdate | property |
Constructor Detail
AccessPrivileges | () | Constructor |
public function AccessPrivileges(privileges:uint = 14)
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructs an instance with the specified privileges.
Parametersprivileges:uint (default = 14 ) — bitmap representing access privileges. Starting
with the smallest order bit:
First bit - not used - should always be zero; read-only access when value is 0.
Second bit - on when add operations are allowed
Third bit - on when update operations are allowed
Fourth bit - on when remove operations are allowed
|
Constant Detail
ADD | Constant |
public static const ADD:uint = 2
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Indicates that add operations are allowed.
ALL | Constant |
public static const ALL:uint = 14
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Indicates that no restrictions are imposed. All mutation operations, add, update, and remove are allowed.
NONE | Constant |
public static const NONE:uint = 0
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Indicates read-only access.
REMOVE | Constant |
public static const REMOVE:uint = 8
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Indicates that remove operations are allowed.
UPDATE | Constant |
public static const UPDATE:uint = 4
Language Version: | ActionScript 3.0 |
Product Version: | LiveCycle Data Services for Java EE 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Indicates that update operations are allowed.
Wed Nov 21 2018, 06:34 AM -08:00