new Permissions()
- Source:
Methods
(static) Permissions#getBits() → {Number}
Get the field value
A bitmap representing the permissions
- Source:
Returns:
must be a long integer
- Type
- Number
(static) Permissions#getId() → {String}
Get the field value
Unique identifier
- Source:
Returns:
- Type
- String
(static) Permissions#getReadablePermissions() → {Array.<employees.Permission>}
Get the field value
A readable list of permissions
- Source:
Returns:
An array of
- Type
- Array.<employees.Permission>
(static) Permissions#setBits(bits)
Set the field value
A bitmap representing the permissions
Parameters:
Name | Type | Description |
---|---|---|
bits |
Number | must be a long integer |
- Source:
(static) Permissions#setId(id)
Set the field value
Unique identifier
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
- Source:
(static) Permissions#setReadablePermissions(readablePermissions)
Set the field value
A readable list of permissions
Parameters:
Name | Type | Description |
---|---|---|
readablePermissions |
Array.<employees.Permission> | An array of |
- Source: