org.bonitasoft.engine.external.permission
public class IsInvolvedInHumanTask extends CommandWithParameters
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DO_FOR_KEY |
protected static String |
HUMAN_TASK_INSTANCE_ID_KEY |
protected static String |
USER_ID_KEY |
| Constructor and Description |
|---|
IsInvolvedInHumanTask() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
execute(Map<String,Serializable> parameters,
TenantServiceAccessor serviceAccessor)
Method that is called by the engine on the server side when the client calls
CommandAPI#execute(String, Map) with the name or id of this
command. |
protected org.bonitasoft.engine.session.model.SSession |
getCurrentSession()
method created for stubbing purpose
|
getIntegerMandadoryParameter, getLongMandadoryParameter, getMandatoryParameter, getParameter, getParameter, getStringMandadoryParameterprotected static final String USER_ID_KEY
protected static final String DO_FOR_KEY
protected static final String HUMAN_TASK_INSTANCE_ID_KEY
public Serializable execute(Map<String,Serializable> parameters, TenantServiceAccessor serviceAccessor) throws SCommandParameterizationException, SCommandExecutionException
CommandCommandAPI#execute(String, Map) with the name or id of this
command.
Implementors of commands must put here the code to be executed on the server sideparameters - a map of parameters that can be used by the command and that is given by the client when executing the commandserviceAccessor - the TenantServiceAccessor or PlatformServiceAccessor that provides access to the engine's server-side servicesSCommandParameterizationException - can be thrown if insufficient or wrong parameters are given by the clientSCommandExecutionException - can be thrown when something unexpected happens while executing the commandprotected org.bonitasoft.engine.session.model.SSession getCurrentSession()
Copyright © 2014 Bonitasoft S.A.. All rights reserved.