public class SearchTimerEventTriggerInstances extends AbstractSearchEntity<org.bonitasoft.engine.bpm.flownode.TimerEventTriggerInstance,STimerEventTriggerInstance>
Constructor and Description |
---|
SearchTimerEventTriggerInstances(EventInstanceService eventInstanceService,
SearchEventTriggerInstanceDescriptor searchEventTriggerInstanceDescriptor,
long processInstanceId,
org.bonitasoft.engine.search.SearchOptions searchOptions) |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.bonitasoft.engine.bpm.flownode.TimerEventTriggerInstance> |
convertToClientObjects(java.util.List<STimerEventTriggerInstance> serverObjects)
Must convert server objects in client objects here
|
long |
executeCount(QueryOptions searchOptions)
Execute the count here
|
java.util.List<STimerEventTriggerInstance> |
executeSearch(QueryOptions searchOptions)
Execute the search here
|
execute, getResult, getSearchFilter, search, search, validateQuery
public SearchTimerEventTriggerInstances(EventInstanceService eventInstanceService, SearchEventTriggerInstanceDescriptor searchEventTriggerInstanceDescriptor, long processInstanceId, org.bonitasoft.engine.search.SearchOptions searchOptions)
public long executeCount(QueryOptions searchOptions) throws SBonitaReadException
AbstractSearchEntity
executeCount
in class AbstractSearchEntity<org.bonitasoft.engine.bpm.flownode.TimerEventTriggerInstance,STimerEventTriggerInstance>
searchOptions
- The query options to execute the count withSBonitaReadException
- when the search failed to retrieve the count numberpublic java.util.List<STimerEventTriggerInstance> executeSearch(QueryOptions searchOptions) throws SBonitaReadException
AbstractSearchEntity
executeSearch
in class AbstractSearchEntity<org.bonitasoft.engine.bpm.flownode.TimerEventTriggerInstance,STimerEventTriggerInstance>
searchOptions
- The query options to execute the search withSBonitaReadException
- when the search failed to retrieve the resultspublic java.util.List<org.bonitasoft.engine.bpm.flownode.TimerEventTriggerInstance> convertToClientObjects(java.util.List<STimerEventTriggerInstance> serverObjects)
AbstractSearchEntity
convertToClientObjects
in class AbstractSearchEntity<org.bonitasoft.engine.bpm.flownode.TimerEventTriggerInstance,STimerEventTriggerInstance>
serverObjects
- The server object to convert