org.acegisecurity.acl.basic
Interface BasicAclExtendedDao

All Superinterfaces:
BasicAclDao
All Known Implementing Classes:
JdbcExtendedDaoImpl

public interface BasicAclExtendedDao
extends BasicAclDao

Represents a more extensive data access object for BasicAclEntrys.

BasicAclExtendedDao implementations are responsible for interpreting a a given AclObjectIdentity.

Version:
$Id: BasicAclExtendedDao.java 1784 2007-02-24 21:00:24Z luke_t $
Author:
Ben Alex

Method Summary
 void changeMask(AclObjectIdentity aclObjectIdentity, Object recipient, Integer newMask)
          Changes the permission mask assigned to the BasicAclEntry associated with the specified AclObjectIdentity and recipient Object.
 void create(BasicAclEntry basicAclEntry)
           
 void delete(AclObjectIdentity aclObjectIdentity)
          Deletes all entries associated with the specified AclObjectIdentity.
 void delete(AclObjectIdentity aclObjectIdentity, Object recipient)
          Deletes the BasicAclEntry associated with the specified AclObjectIdentity and recipient Object.
 
Methods inherited from interface org.acegisecurity.acl.basic.BasicAclDao
getAcls
 

Method Detail

changeMask

void changeMask(AclObjectIdentity aclObjectIdentity,
                Object recipient,
                Integer newMask)
                throws org.springframework.dao.DataAccessException
Changes the permission mask assigned to the BasicAclEntry associated with the specified AclObjectIdentity and recipient Object.

Parameters:
aclObjectIdentity - to locate the relevant BasicAclEntry
recipient - to locate the relevant BasicAclEntry
newMask - indicating the new permission
Throws:
org.springframework.dao.DataAccessException - DOCUMENT ME!

create

void create(BasicAclEntry basicAclEntry)
            throws org.springframework.dao.DataAccessException
Throws:
org.springframework.dao.DataAccessException

delete

void delete(AclObjectIdentity aclObjectIdentity)
            throws org.springframework.dao.DataAccessException
Deletes all entries associated with the specified AclObjectIdentity.

Parameters:
aclObjectIdentity - to delete, including any BasicAclEntrys
Throws:
org.springframework.dao.DataAccessException - DOCUMENT ME!

delete

void delete(AclObjectIdentity aclObjectIdentity,
            Object recipient)
            throws org.springframework.dao.DataAccessException
Deletes the BasicAclEntry associated with the specified AclObjectIdentity and recipient Object.

Parameters:
aclObjectIdentity - to delete
recipient - to delete
Throws:
org.springframework.dao.DataAccessException - DOCUMENT ME!


Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.