|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAccessControlDao
Dao Interface for ACL entity
Method Summary | |
---|---|
void |
add(AccessControlList acl,
ITransaction transaction)
Add the ACL (Access Control List). |
void |
addAclEntry(java.lang.String parentAclId,
AccessControlEntry aclEntry,
ITransaction transaction)
Add the ACL entry. |
void |
delete(java.lang.String aclId,
ITransaction transaction)
Delete the ACL entry. |
void |
deleteAclEntry(java.lang.String aclId,
java.lang.String principalId,
ITransaction transaction)
Delete the ACL entry. |
void |
deleteAclEntryByPrincipalId(java.lang.String principalId,
ITransaction transaction)
Delete the ACL list for the specified principal. |
void |
deleteInheritingEntriesWithoutParent(ITransaction transaction)
Deletes all inheriting ACL entries that does not have a parent to inherit from. |
boolean |
exists(java.lang.String aclId,
ITransaction transaction)
|
AccessControlList |
get(java.lang.String aclId,
ITransaction transaction)
Get the ACL (Access Control List). |
java.util.Collection<java.lang.String> |
getAclIdsByPrincipalId(java.lang.String principalId,
ITransaction transaction)
Get the ACL list for the specified principal. |
java.util.Collection<java.lang.String> |
getIdsByParentId(java.lang.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). |
Method Detail |
---|
void add(AccessControlList acl, ITransaction transaction) throws DaoException, PortalException
acl
- transaction
-
DaoException
PortalException
AccessControlList get(java.lang.String aclId, ITransaction transaction) throws DaoException, PortalException
aclId
- transaction
-
DaoException
PortalException
void update(AccessControlList acl, ITransaction transaction) throws DaoException, PortalException
acl
- transaction
-
DaoException
PortalException
java.util.Collection<java.lang.String> getIdsByParentId(java.lang.String parentId, ITransaction transaction) throws PortalException
parentId
- the parent Id.transaction
- the transaction for data access.
PortalException
void delete(java.lang.String aclId, ITransaction transaction) throws DaoException, PortalException
aclId
- transaction
-
DaoException
PortalException
void addAclEntry(java.lang.String parentAclId, AccessControlEntry aclEntry, ITransaction transaction) throws DaoException, PortalException
parentAclId
- aclEntry
- transaction
-
DaoException
PortalException
void deleteAclEntry(java.lang.String aclId, java.lang.String principalId, ITransaction transaction) throws DaoException, PortalException
aclId
- principalId
- transaction
-
DaoException
PortalException
java.util.Collection<java.lang.String> getAclIdsByPrincipalId(java.lang.String principalId, ITransaction transaction) throws DaoException, PortalException
principalId
- transaction
-
DaoException
PortalException
void deleteAclEntryByPrincipalId(java.lang.String principalId, ITransaction transaction) throws DaoException, PortalException
principalId
- transaction
-
DaoException
PortalException
boolean exists(java.lang.String aclId, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
void deleteInheritingEntriesWithoutParent(ITransaction transaction) throws PortalException
transaction
- the transaction for persistence access.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |