@StableMinor(version="7.1", sinceVersion="4.0") public interface IServiceInstanceAclManager extends IAclManager
Modifier and Type | Field and Description |
---|---|
static int |
PERMISSION_DEFAULT |
Modifier and Type | Method and Description |
---|---|
String |
add(SessionConfig sessionConfig,
ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
Add an Access Control List to the Service Instance.
|
void |
checkRequiredPermissions(AccessControlList acl)
Checks if the required permissions were given for someone.
|
void |
clearCache(SessionConfig sessionConfig,
String serviceInstanceId,
ITransaction transaction)
Reloads the ACL associated with the given serviceInstanceId.
|
AccessControlList |
get(SessionConfig sessionConfig,
String serviceInstanceId,
ITransaction transaction)
Get the Service Instance's Access Control List.
|
ServiceInstancePermissions |
getPermissions(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction) |
void |
update(SessionConfig sessionConfig,
String serviceInstanceId,
AccessControlList acl,
ITransaction transaction)
Update the Service Instance's ACL.
|
add, addOrUpdate, checkPermission, checkPermission, clearCache, delete, deleteAclEntryByPrincipalId, deserialize, exists, removeFromCache, serialize
keyExists
static final int PERMISSION_DEFAULT
String add(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceConfig
- transaction
- ManagerException
PortalException
AccessControlList get(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceId
- transaction
- ManagerException
PortalException
void update(SessionConfig sessionConfig, String serviceInstanceId, AccessControlList acl, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceId
- acl
- transaction
- ManagerException
PortalException
void clearCache(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceId
- acl
- transaction
- ManagerException
PortalException
ServiceInstancePermissions getPermissions(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceId
- transaction
- ManagerException
PortalException
void checkRequiredPermissions(AccessControlList acl) throws PortalException
acl
- the acl to be checked.PortalException
- if the required permissions were not given.Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.