public class PortalAclManager extends AclManager implements IPortalAclManager
aclCache, checkRequiredPermissionsInternalFlag
PERMISSION_DEFAULT, PORTAL_ACL_ID
Constructor and Description |
---|
PortalAclManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermission(SessionConfig sessionConfig,
IPermission permission,
ITransaction transaction)
This method verifies if the permission is valid.
|
AccessControlList |
get(SessionConfig sessionConfig,
ITransaction transaction)
Get the Portal's Access Control List.
|
AccessControlList |
get(SessionConfig sessionConfig,
String id,
ITransaction transaction) |
protected AccessControlList |
getAclInternal(SessionConfig sessionConfig,
ITransaction transaction) |
protected AccessControlList |
getAclInternal(SessionConfig sessionConfig,
String ignoreItemId,
ITransaction transaction) |
protected int |
getRequiredPermissions() |
void |
update(SessionConfig sessionConfig,
AccessControlList acl,
ITransaction transaction)
Update the Portal'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 AccessControlList get(SessionConfig sessionConfig, String id, ITransaction transaction) throws PortalException
get
in class AclManager
PortalException
public AccessControlList get(SessionConfig sessionConfig, ITransaction transaction) throws PortalException
IPortalAclManager
get
in interface IPortalAclManager
PortalException
public void update(SessionConfig sessionConfig, AccessControlList acl, ITransaction transaction) throws PortalException
IPortalAclManager
update
in interface IPortalAclManager
PortalException
public boolean checkPermission(SessionConfig sessionConfig, IPermission permission, ITransaction transaction) throws ManagerException, PortalException
IPortalAclManager
checkPermission
in interface IPortalAclManager
ManagerException
PortalException
protected AccessControlList getAclInternal(SessionConfig sessionConfig, String ignoreItemId, ITransaction transaction) throws PortalException
getAclInternal
in class AclManager
PortalException
protected AccessControlList getAclInternal(SessionConfig sessionConfig, ITransaction transaction) throws PortalException
PortalException
protected int getRequiredPermissions() throws PortalException
getRequiredPermissions
in class AclManager
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.