public class GroupAclManager extends AclManager implements IGroupAclManager
aclCache, checkRequiredPermissionsInternalFlag
PERMISSION_DEFAULT
Constructor and Description |
---|
GroupAclManager() |
Modifier and Type | Method and Description |
---|---|
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,
String groupId,
ITransaction transaction)
Get the Group's Access Control List.
|
protected AccessControlList |
getAclInternal(SessionConfig sessionConfig,
String groupId,
ITransaction transaction) |
protected int |
getRequiredPermissions() |
void |
update(SessionConfig sessionConfig,
String groupId,
AccessControlList acl,
ITransaction transaction)
Update the Groups's ACL.
|
add, add, addOrUpdate, checkPermission, checkPermission, checkRequiredPermissionsInternal, cleanupInvalidData, clearCache, delete, deleteAclEntryByPrincipalId, deserialize, exists, keyExists, removeFromCache, serialize, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, addOrUpdate, checkPermission, checkPermission, clearCache, delete, deleteAclEntryByPrincipalId, deserialize, exists, removeFromCache, serialize
keyExists
public String add(SessionConfig sessionConfig, GroupConfig groupConfig, ITransaction transaction) throws ManagerException, PortalException
IGroupAclManager
add
in interface IGroupAclManager
ManagerException
PortalException
public AccessControlList get(SessionConfig sessionConfig, String groupId, ITransaction transaction) throws ManagerException, PortalException
IGroupAclManager
get
in interface IGroupAclManager
get
in class AclManager
ManagerException
PortalException
public void update(SessionConfig sessionConfig, String groupId, AccessControlList acl, ITransaction transaction) throws ManagerException, PortalException
IGroupAclManager
update
in interface IGroupAclManager
ManagerException
PortalException
protected AccessControlList getAclInternal(SessionConfig sessionConfig, String groupId, ITransaction transaction) throws ManagerException, PortalException
getAclInternal
in class AclManager
ManagerException
PortalException
protected int getRequiredPermissions() throws PortalException
getRequiredPermissions
in class AclManager
PortalException
public void checkRequiredPermissions(AccessControlList acl) throws PortalException
IGroupAclManager
checkRequiredPermissions
in interface IGroupAclManager
acl
- the acl to be checked.PortalException
- if the required permissions were not given.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.