Class SearchWaitingEventsCommand
- java.lang.Object
-
- org.bonitasoft.engine.command.TenantCommand
-
- org.bonitasoft.engine.command.system.CommandWithParameters
-
- org.bonitasoft.engine.command.system.SearchWaitingEventsCommand
-
- All Implemented Interfaces:
Command<TenantServiceAccessor>
public class SearchWaitingEventsCommand extends CommandWithParameters
Search Waiting events Parameters -> searchOptions: the searchOptions- Author:
- Elias Ricken de Medeiros
-
-
Constructor Summary
Constructors Constructor Description SearchWaitingEventsCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Serializableexecute(java.util.Map<java.lang.String,java.io.Serializable> parameters, TenantServiceAccessor serviceAccessor)Method that is called by the engine on the server side when the client callsCommandAPI.execute(String, Map)with the name or id of this command.-
Methods inherited from class org.bonitasoft.engine.command.system.CommandWithParameters
getIntegerMandadoryParameter, getLongMandadoryParameter, getMandatoryParameter, getParameter, getParameter, getStringMandadoryParameter
-
-
-
-
Method Detail
-
execute
public java.io.Serializable execute(java.util.Map<java.lang.String,java.io.Serializable> parameters, TenantServiceAccessor serviceAccessor) throws SCommandParameterizationException, SCommandExecutionExceptionDescription copied from interface:CommandMethod that is called by the engine on the server side when the client callsCommandAPI.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 side- Parameters:
parameters- searchOptions: the searchOptionsserviceAccessor- the TenantServiceAccessor or PlatformServiceAccessor that provides access to the engine's server-side services- Returns:
- a result that will be returned to the client
- Throws:
SCommandParameterizationException- can be thrown if insufficient or wrong parameters are given by the clientSCommandExecutionException- can be thrown when something unexpected happens while executing the command
-
-