|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.util.security.acl.AccessControlDaoJdbc
public class AccessControlDaoJdbc
Dao implementation for ACLs, based on JDBC.
Constructor Summary | |
---|---|
AccessControlDaoJdbc()
|
Method Summary | |
---|---|
void |
add(AccessControlList acl,
ITransaction transaction)
Add the ACL (Access Control List). |
void |
addAclEntry(String parentAclId,
AccessControlEntry aclEntry,
ITransaction transaction)
Add the ACL entry. |
void |
delete(String aclId,
ITransaction transaction)
Delete the ACL entry. |
void |
deleteAclEntry(String aclId,
String principalId,
ITransaction transaction)
Delete the ACL entry. |
void |
deleteAclEntryByPrincipalId(String principalId,
ITransaction transaction)
Delete the ACL list for the specified principal. |
boolean |
exists(String aclId,
ITransaction transaction)
|
AccessControlList |
get(String aclId,
ITransaction transaction)
Get the ACL (Access Control List). |
protected AccessControlEntry[] |
getAclEntries(String aclId,
ITransaction transaction)
|
Collection<String> |
getAclIdsByPrincipalId(String principalId,
ITransaction transaction)
Get the ACL list for the specified principal. |
Collection<String> |
getIdsByParentId(String parentId,
ITransaction transaction)
Return the Ids of the ACLs that has the given parentId. |
void |
update(AccessControlList acl,
ITransaction transaction)
Update the ACL (Access Control List). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessControlDaoJdbc()
Method Detail |
---|
public void add(AccessControlList acl, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
add
in interface IAccessControlDao
DaoException
PortalException
public boolean exists(String aclId, ITransaction transaction) throws DaoException, PortalException
exists
in interface IAccessControlDao
DaoException
PortalException
public AccessControlList get(String aclId, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
get
in interface IAccessControlDao
DaoException
PortalException
public void update(AccessControlList acl, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
update
in interface IAccessControlDao
DaoException
PortalException
public void delete(String aclId, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
delete
in interface IAccessControlDao
DaoException
PortalException
public Collection<String> getIdsByParentId(String parentId, ITransaction transaction) throws PortalException
IAccessControlDao
getIdsByParentId
in interface IAccessControlDao
parentId
- the parent Id.transaction
- the transaction for data access.
PortalException
public void addAclEntry(String parentAclId, AccessControlEntry aclEntry, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
addAclEntry
in interface IAccessControlDao
DaoException
PortalException
public void deleteAclEntry(String aclId, String principalId, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
deleteAclEntry
in interface IAccessControlDao
DaoException
PortalException
public Collection<String> getAclIdsByPrincipalId(String principalId, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
getAclIdsByPrincipalId
in interface IAccessControlDao
DaoException
PortalException
public void deleteAclEntryByPrincipalId(String principalId, ITransaction transaction) throws DaoException, PortalException
IAccessControlDao
deleteAclEntryByPrincipalId
in interface IAccessControlDao
DaoException
PortalException
protected AccessControlEntry[] getAclEntries(String aclId, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |