org.outerj.daisy.repository.acl
Interface AclEntry


public interface AclEntry

An AclEntry specifies the permissions for a certain subject.

To save modification to this AclEntry, call Acl.save() on the containing Acl object.


Method Summary
 AclActionType get(AclPermission aclPermission)
           
 AclSubjectType getSubjectType()
           
 long getSubjectValue()
          What's returned here depends on (or should be intrepreted according to) what getSubjectType() returns.
 org.outerx.daisy.x10.AclEntryDocument getXml()
           
 void set(AclPermission permission, AclActionType action)
           
 void setSubjectType(AclSubjectType subjectType)
           
 void setSubjectValue(long value)
           
 

Method Detail

get

public AclActionType get(AclPermission aclPermission)

set

public void set(AclPermission permission,
                AclActionType action)

getSubjectValue

public long getSubjectValue()
What's returned here depends on (or should be intrepreted according to) what getSubjectType() returns.


getSubjectType

public AclSubjectType getSubjectType()

setSubjectValue

public void setSubjectValue(long value)

setSubjectType

public void setSubjectType(AclSubjectType subjectType)

getXml

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


Copyright © -2005 . All Rights Reserved.