Package org.bonitasoft.engine.api.impl
Class PermissionAPIImpl
- java.lang.Object
-
- org.bonitasoft.engine.api.impl.PermissionAPIImpl
-
- All Implemented Interfaces:
org.bonitasoft.engine.api.PermissionAPI
public class PermissionAPIImpl extends java.lang.Object implements org.bonitasoft.engine.api.PermissionAPI- Author:
- Baptiste Mesta
-
-
Constructor Summary
Constructors Constructor Description PermissionAPIImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancheckAPICallWithScript(java.lang.String className, org.bonitasoft.engine.api.permission.APICallContext context, boolean reload)Deprecated, for removal: This API element is subject to removal in a future version.java.util.Set<java.lang.String>getResourcePermissions(java.lang.String resourceKey)booleanisAuthorized(org.bonitasoft.engine.api.permission.APICallContext apiCallContext)
-
-
-
Method Detail
-
checkAPICallWithScript
@Deprecated(forRemoval=true, since="7.14.0") public boolean checkAPICallWithScript(java.lang.String className, org.bonitasoft.engine.api.permission.APICallContext context, boolean reload) throws org.bonitasoft.engine.exception.ExecutionException, org.bonitasoft.engine.exception.NotFoundExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Specified by:
checkAPICallWithScriptin interfaceorg.bonitasoft.engine.api.PermissionAPI- Throws:
org.bonitasoft.engine.exception.ExecutionExceptionorg.bonitasoft.engine.exception.NotFoundException
-
isAuthorized
public boolean isAuthorized(org.bonitasoft.engine.api.permission.APICallContext apiCallContext) throws org.bonitasoft.engine.exception.ExecutionException- Specified by:
isAuthorizedin interfaceorg.bonitasoft.engine.api.PermissionAPI- Throws:
org.bonitasoft.engine.exception.ExecutionException
-
getResourcePermissions
public java.util.Set<java.lang.String> getResourcePermissions(java.lang.String resourceKey)
- Specified by:
getResourcePermissionsin interfaceorg.bonitasoft.engine.api.PermissionAPI
-
-