org.outerj.daisy.repository.acl
Interface Acl


public interface Acl

An ACL (Access Control List) ordered list of AclObjects. An AclObject specifies to what (= which documents) its child AclEntries applies.

Modifications to the Acl are only made permanent after a call to save().


Method Summary
 void add(AclObject aclObject)
           
 void add(int index, AclObject aclObject)
           
 void clear()
           
 AclObject createNewObject(java.lang.String objectExpression)
          Creates a new AclObject.
 AclObject get(int index)
           
 java.util.Date getLastModified()
           
 long getLastModifier()
           
 long getUpdateCount()
           
 org.outerx.daisy.x10.AclDocument getXml()
           
 void remove(int index)
           
 void save()
          Saves this Acl.
 void setFromXml(org.outerx.daisy.x10.AclDocument.Acl aclXml)
           
 int size()
           
 

Method Detail

createNewObject

AclObject createNewObject(java.lang.String objectExpression)
Creates a new AclObject. This AclObject will not be added to this Acl, use e.g. the add(AclObject) method to do that.


get

AclObject get(int index)

remove

void remove(int index)

add

void add(AclObject aclObject)

add

void add(int index,
         AclObject aclObject)

clear

void clear()

size

int size()

getLastModified

java.util.Date getLastModified()

getLastModifier

long getLastModifier()

save

void save()
          throws RepositoryException
Saves this Acl. This includes the saving of its child AclObjects and their respective AclEntries.

Throws:
RepositoryException

getXml

org.outerx.daisy.x10.AclDocument getXml()

setFromXml

void setFromXml(org.outerx.daisy.x10.AclDocument.Acl aclXml)

getUpdateCount

long getUpdateCount()


Copyright © -2012 . All Rights Reserved.