Package lumis.portal.group.acl
Interface IGroupAclManager
-
- All Superinterfaces:
IAclManager
,IConfigKeyChecker
- All Known Implementing Classes:
GroupAclManager
@StableMinor(version="15.0", sinceVersion="4.0") public interface IGroupAclManager extends IAclManager
- Since:
- 4.0.0
- Version:
- $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
-
-
Field Summary
Fields Modifier and Type Field Description static int
PERMISSION_DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
add(SessionConfig sessionConfig, GroupConfig groupConfig, ITransaction transaction)
Add an Access Control List to the Group.void
checkRequiredPermissions(AccessControlList acl)
Checks if the required permissions were given for someone.AccessControlList
get(SessionConfig sessionConfig, java.lang.String groupId, ITransaction transaction)
Get the Group's Access Control List.void
update(SessionConfig sessionConfig, java.lang.String groupId, AccessControlList acl, ITransaction transaction)
Update the Groups's ACL.-
Methods inherited from interface lumis.util.security.acl.IAclManager
add, addOrUpdate, checkPermission, checkPermission, clearCache, delete, deleteAclEntryByPrincipalId, deserialize, exists, removeFromCache, serialize
-
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker
keyExists
-
-
-
-
Field Detail
-
PERMISSION_DEFAULT
static final int PERMISSION_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
add
java.lang.String add(SessionConfig sessionConfig, GroupConfig groupConfig, ITransaction transaction) throws ManagerException, PortalException
Add an Access Control List to the Group. To access this method, the user needs the PERMISSION_TYPE_MANAGE_GROUP_SECURITY permission in the group.- Parameters:
sessionConfig
-groupConfig
-transaction
-- Throws:
ManagerException
PortalException
-
get
AccessControlList get(SessionConfig sessionConfig, java.lang.String groupId, ITransaction transaction) throws ManagerException, PortalException
Get the Group's Access Control List. To access this method, the user needs the PERMISSION_TYPE_MANAGE_GROUP_SECURITY permission in the group.- Parameters:
sessionConfig
-groupId
-transaction
-- Returns:
- Returns the AccessControlList.
- Throws:
ManagerException
PortalException
-
update
void update(SessionConfig sessionConfig, java.lang.String groupId, AccessControlList acl, ITransaction transaction) throws ManagerException, PortalException
Update the Groups's ACL. To access this method, the user needs the PERMISSION_TYPE_MANAGE_GROUP_SECURITY permission in the group.- Parameters:
sessionConfig
-groupId
-acl
-transaction
-- Throws:
ManagerException
PortalException
-
checkRequiredPermissions
void checkRequiredPermissions(AccessControlList acl) throws PortalException
Checks if the required permissions were given for someone. If not an exception is thrown.- Parameters:
acl
- the acl to be checked.- Throws:
PortalException
- if the required permissions were not given.
-
-