public class ChannelAclManager extends AclManager implements IChannelAclManager
aclCache, checkRequiredPermissionsInternalFlag
PERMISSION_DEFAULT
Constructor and Description |
---|
ChannelAclManager() |
Modifier and Type | Method and Description |
---|---|
String |
add(SessionConfig sessionConfig,
ChannelConfig channelConfig,
ITransaction transaction)
Add an Access Control List to the Channel.
|
void |
checkRequiredPermissions(AccessControlList acl)
Checks if the required permissions were given for someone.
|
AccessControlList |
get(SessionConfig sessionConfig,
String channelId,
ITransaction transaction)
Get the Channel's Access Control List Channel.
|
protected AccessControlList |
getAclInternal(SessionConfig sessionConfig,
String channelId,
ITransaction transaction) |
protected int |
getRequiredPermissions() |
void |
update(SessionConfig sessionConfig,
String channelId,
AccessControlList acl,
ITransaction transaction)
Update the Channel'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, ChannelConfig channelConfig, ITransaction transaction) throws ManagerException, PortalException
IChannelAclManager
add
in interface IChannelAclManager
ManagerException
PortalException
public AccessControlList get(SessionConfig sessionConfig, String channelId, ITransaction transaction) throws ManagerException, PortalException
IChannelAclManager
get
in interface IChannelAclManager
get
in class AclManager
ManagerException
PortalException
public void update(SessionConfig sessionConfig, String channelId, AccessControlList acl, ITransaction transaction) throws ManagerException, PortalException
IChannelAclManager
update
in interface IChannelAclManager
ManagerException
PortalException
protected AccessControlList getAclInternal(SessionConfig sessionConfig, String channelId, 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
IChannelAclManager
checkRequiredPermissions
in interface IChannelAclManager
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.