public interface PermissionService
extends org.bonitasoft.engine.commons.TenantLifecycleService
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAPICallWithScript(String className,
APICallContext context,
boolean reload)
execute the
PermissionRule having the class name in parameter using the given context |
boolean checkAPICallWithScript(String className, APICallContext context, boolean reload) throws org.bonitasoft.engine.commons.exceptions.SExecutionException, ClassNotFoundException
PermissionRule having the class name in parameter using the given contextclassName - the class name of the rule to executecontext - the context of the api call to checkreload - reload class when calling this method, warning if some class were called with reload set to false, they will never be reloadableorg.bonitasoft.engine.commons.exceptions.SExecutionExceptionClassNotFoundExceptionCopyright © 2016 Bonitasoft S.A.. All rights reserved.