Class Index | File Index

Classes


Class nl.sara.webdav.Ace

WebDAV property
Defined in: ace.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Grant or deny ACE? Is one of the class constants GRANT or DENY.
 
False if the ACE is not inherited, else a String with the path to the parent collection from which this ACE is inherited.
 
Whether to invert the principal; true means 'all principals except the one specified'.
 
Whether this ACE is protected.
 
The principal.
Method Summary
Method Attributes Method Name and Description
 
addPrivilege(privilege)
Adds a WebDAV privilege
 
Gets the namespace names
 
getPrivilege(namespace, privilege)
Gets a WebDAV privilege
 
getPrivilegeNames(namespace)
Gets the privilege names of a namespace
<inner>  
parsePrincipal(object, child)
<inner>  
parsePrivileges(object, privilegeList)
Class Detail
nl.sara.webdav.Ace(xmlNode)
Parameters:
{Node} xmlNode Optional
Optional; the xmlNode describing the ace object (should be compliant with RFC 3744)
Field Detail
{Number} grantdeny
Grant or deny ACE? Is one of the class constants GRANT or DENY.

{mixed} inherited
False if the ACE is not inherited, else a String with the path to the parent collection from which this ACE is inherited.

{Boolean} invertprincipal
Whether to invert the principal; true means 'all principals except the one specified'. Default is false.

{Boolean} isprotected
Whether this ACE is protected. Default is false.

{mixed} principal
The principal. Is one of the class constants ALL, AUTHENTICATED, UNAUTHENTICATED or SELF or a String with the path to the principal or a property. See RFC 3744 for more information on this.
Method Detail
{nl.sara.webdav.Ace} addPrivilege(privilege)
Adds a WebDAV privilege
Parameters:
{nl.sara.webdav.Privilege} privilege
The privilege to add
Returns:
{nl.sara.webdav.Ace} The ace itself for chaining methods

{String[]} getNamespaceNames()
Gets the namespace names
Returns:
{String[]} The names of the different namespaces

{nl.sara.webdav.Privilege} getPrivilege(namespace, privilege)
Gets a WebDAV privilege
Parameters:
{String} namespace
The namespace of the privilege
{String} privilege
The privilege to get
Returns:
{nl.sara.webdav.Privilege} The value of the privilege or undefined if the privilege doesn't exist

{String[]} getPrivilegeNames(namespace)
Gets the privilege names of a namespace
Parameters:
{String} namespace
The namespace of the privilege
Returns:
{String[]} The names of the different privilege of a namespace

<inner> parsePrincipal(object, child)
Parameters:
object
child

<inner> parsePrivileges(object, privilegeList)
Parameters:
object
privilegeList

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 23 2014 15:51:04 GMT+0200 (CEST)