Class Index | File Index

Classes


Class Permissions


Extends baja.Simple.
Permissions for a given security domain.
Defined in: obj.js.

Class Summary
Constructor Attributes Constructor Name and Description
<private> <inner>  
Fields borrowed from class baja.Value:
newCopy
Fields borrowed from class baja.Object:
equivalent, getIcon
Method Summary
Method Attributes Method Name and Description
 
Decode Permissions from a String.
 
Encode Permissions to a String.
 
Is the admin invoke permission enabled?
 
Is the admin read permission enabled?
 
Is the admin write permission enabled?
 
Is the operator invoke permission enabled?
 
Is the operator read permission enabled?
 
Is the operator write permission enabled?
 
make(perm)
Make a permissions object.
Methods borrowed from class baja.Simple:
equals
Class Detail
<private> <inner> Permissions()
Method Detail
{Permissions} decodeFromString(s)
Decode Permissions from a String.
Parameters:
s
Returns:
{Permissions}

{String} encodeToString()
Encode Permissions to a String.
Returns:
{String}

{Boolean} hasAdminInvoke()
Is the admin invoke permission enabled?
Returns:
{Boolean}

{Boolean} hasAdminRead()
Is the admin read permission enabled?
Returns:
{Boolean}

{Boolean} hasAdminWrite()
Is the admin write permission enabled?
Returns:
{Boolean}

{Boolean} hasOperatorInvoke()
Is the operator invoke permission enabled?
Returns:
{Boolean}

{Boolean} hasOperatorRead()
Is the operator read permission enabled?
Returns:
{Boolean}

{Boolean} hasOperatorWrite()
Is the operator write permission enabled?
Returns:
{Boolean}

{Permissions} make(perm)
Make a permissions object.
Parameters:
perm
Returns:
{Permissions}

Documentation generated by JsDoc Toolkit 2.3.2