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

public 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

public AclObject get(int index)

remove

public void remove(int index)

add

public void add(AclObject aclObject)

add

public void add(int index,
                AclObject aclObject)

clear

public void clear()

size

public int size()

getLastModified

public java.util.Date getLastModified()

getLastModifier

public long getLastModifier()

save

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

Throws:
RepositoryException

getXml

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

setFromXml

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

getUpdateCount

public long getUpdateCount()


Copyright © -2005 . All Rights Reserved.