public class PageAclManager extends AclManager implements IPageAclManager
aclCache, checkRequiredPermissionsInternalFlag
PERMISSION_DEFAULT
Constructor and Description |
---|
PageAclManager() |
Modifier and Type | Method and Description |
---|---|
String |
add(SessionConfig sessionConfig,
PageConfig pageConfig,
ITransaction transaction)
Add an Access Control List to the Page.
|
void |
checkRequiredPermissions(AccessControlList acl)
Checks if the required permissions were given for someone.
|
AccessControlList |
get(SessionConfig sessionConfig,
String pageId,
ITransaction transaction)
Get the Page's Access Control List.
|
protected AccessControlList |
getAclInternal(SessionConfig sessionConfig,
String pageId,
ITransaction transaction) |
protected int |
getRequiredPermissions() |
void |
update(SessionConfig sessionConfig,
String pageId,
AccessControlList acl,
ITransaction transaction)
Update the Page'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, PageConfig pageConfig, ITransaction transaction) throws ManagerException, PortalException
IPageAclManager
add
in interface IPageAclManager
ManagerException
PortalException
public AccessControlList get(SessionConfig sessionConfig, String pageId, ITransaction transaction) throws ManagerException, PortalException
IPageAclManager
get
in interface IPageAclManager
get
in class AclManager
ManagerException
PortalException
public void update(SessionConfig sessionConfig, String pageId, AccessControlList acl, ITransaction transaction) throws ManagerException, PortalException
IPageAclManager
update
in interface IPageAclManager
ManagerException
PortalException
protected AccessControlList getAclInternal(SessionConfig sessionConfig, String pageId, 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
IPageAclManager
checkRequiredPermissions
in interface IPageAclManager
acl
- the acl to be checked.PortalException
- if the required permissions were not given.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.