public interface IAccessControlDao
Modifier and Type | Method and Description |
---|---|
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.
|
void |
deleteInheritingEntriesWithoutParent(ITransaction transaction)
Deletes all inheriting ACL entries that does not have a parent to
inherit from.
|
boolean |
exists(String aclId,
ITransaction transaction) |
AccessControlList |
get(String aclId,
ITransaction transaction)
Get the ACL (Access Control List).
|
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).
|
void add(AccessControlList acl, ITransaction transaction) throws DaoException, PortalException
acl
- transaction
- DaoException
PortalException
AccessControlList get(String aclId, ITransaction transaction) throws DaoException, PortalException
aclId
- transaction
- DaoException
PortalException
void update(AccessControlList acl, ITransaction transaction) throws DaoException, PortalException
acl
- transaction
- DaoException
PortalException
Collection<String> getIdsByParentId(String parentId, ITransaction transaction) throws PortalException
parentId
- the parent Id.transaction
- the transaction for data access.PortalException
void delete(String aclId, ITransaction transaction) throws DaoException, PortalException
aclId
- transaction
- DaoException
PortalException
void addAclEntry(String parentAclId, AccessControlEntry aclEntry, ITransaction transaction) throws DaoException, PortalException
parentAclId
- aclEntry
- transaction
- DaoException
PortalException
void deleteAclEntry(String aclId, String principalId, ITransaction transaction) throws DaoException, PortalException
aclId
- principalId
- transaction
- DaoException
PortalException
Collection<String> getAclIdsByPrincipalId(String principalId, ITransaction transaction) throws DaoException, PortalException
principalId
- transaction
- DaoException
PortalException
void deleteAclEntryByPrincipalId(String principalId, ITransaction transaction) throws DaoException, PortalException
principalId
- transaction
- DaoException
PortalException
boolean exists(String aclId, ITransaction transaction) throws DaoException, PortalException
DaoException
PortalException
void deleteInheritingEntriesWithoutParent(ITransaction transaction) throws PortalException
transaction
- the transaction for persistence access.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.