public class SearchCommands extends AbstractCommandSearchEntity
| Constructor and Description |
|---|
SearchCommands(CommandService commandService,
SearchCommandDescriptor searchDescriptor,
org.bonitasoft.engine.search.SearchOptions options) |
| Modifier and Type | Method and Description |
|---|---|
long |
executeCount(QueryOptions searchOptions)
Execute the count here
|
java.util.List<SCommand> |
executeSearch(QueryOptions searchOptions)
Execute the search here
|
convertToClientObjectsexecute, getResult, getSearchFilter, search, search, validateQuerypublic SearchCommands(CommandService commandService, SearchCommandDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options)
public long executeCount(QueryOptions searchOptions) throws SBonitaReadException
AbstractSearchEntityexecuteCount in class AbstractSearchEntity<org.bonitasoft.engine.command.CommandDescriptor,SCommand>searchOptions - The query options to execute the count withSBonitaReadException - when the search failed to retrieve the count numberpublic java.util.List<SCommand> executeSearch(QueryOptions searchOptions) throws SBonitaReadException
AbstractSearchEntityexecuteSearch in class AbstractSearchEntity<org.bonitasoft.engine.command.CommandDescriptor,SCommand>searchOptions - The query options to execute the search withSBonitaReadException - when the search failed to retrieve the results