Class Index | File Index

Classes


Class nl.sara.webdav.Acl

Access Control List
Defined in: acl.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
addAce(ace, position)
Adds an ACE
 
getAce(position)
Gets one ACE from a certain position
 
Gets the ACL as an array
 
Gets the length of the ACL
Class Detail
nl.sara.webdav.Acl(xmlNode)
Parameters:
{Node} xmlNode Optional
Optional; the xmlNode describing the acl object (should be compliant with RFC 3744)
Method Detail
{nl.sara.webdav.Acl} addAce(ace, position)
Adds an ACE
Parameters:
{nl.sara.webdav.Ace} ace
The ACE to add
{Number} position
Optional; The position to add this ACE. If the position is lower than 1, 0 is assumed, of the position is higher than the current length of the ACL or not specified, the ACE is appended to the end.
Returns:
{nl.sara.webdav.Acl} The ACL itself for chaining methods

{nl.sara.webdav.Ace} getAce(position)
Gets one ACE from a certain position
Parameters:
{Number} position
The position of the ACE
Returns:
{nl.sara.webdav.Ace} The ACE

{nl.sara.webdav.Ace[]} getAces()
Gets the ACL as an array
Returns:
{nl.sara.webdav.Ace[]} An array of the ACE's in this ACL

{Number} getLength()
Gets the length of the ACL
Returns:
{Number} The length of the ACL

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