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 1496 2006-05-23 13:38:33Z benalex $
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 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:
DataAccessException - DOCUMENT ME!

create

void create(BasicAclEntry basicAclEntry)
            throws DataAccessException
Throws:
DataAccessException

delete

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

Parameters:
aclObjectIdentity - to delete, including any BasicAclEntrys
Throws:
DataAccessException - DOCUMENT ME!

delete

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

Parameters:
aclObjectIdentity - to delete
recipient - to delete
Throws:
DataAccessException - DOCUMENT ME!


Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.