Package org.bonitasoft.engine.search
Class AbstractHumanTaskInstanceSearchEntity
java.lang.Object
org.bonitasoft.engine.search.AbstractSearchEntity<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance,SHumanTaskInstance>
org.bonitasoft.engine.search.AbstractHumanTaskInstanceSearchEntity
- All Implemented Interfaces:
TransactionContent,TransactionContentWithResult<org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance>>
public abstract class AbstractHumanTaskInstanceSearchEntity
extends AbstractSearchEntity<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance,SHumanTaskInstance>
- Author:
- Baptiste Mesta
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractHumanTaskInstanceSearchEntity(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, FlowNodeStateManager flowNodeStateManager) -
Method Summary
Modifier and TypeMethodDescriptionList<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance>convertToClientObjects(List<SHumanTaskInstance> serverObjects) Must convert server objects in client objects heresearchHumanTaskInstance(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, FlowNodeStateManager flowNodeStateManager, BonitaReadFunction<QueryOptions, Long> count, BonitaReadFunction<QueryOptions, List<SHumanTaskInstance>> search) factory to create a search human task descriptorMethods inherited from class org.bonitasoft.engine.search.AbstractSearchEntity
execute, executeCount, executeSearch, getResult, getSearchFilter, search, search, validateQuery
-
Constructor Details
-
AbstractHumanTaskInstanceSearchEntity
public AbstractHumanTaskInstanceSearchEntity(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, FlowNodeStateManager flowNodeStateManager)
-
-
Method Details
-
convertToClientObjects
public List<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance> convertToClientObjects(List<SHumanTaskInstance> serverObjects) Description copied from class:AbstractSearchEntityMust convert server objects in client objects here- Specified by:
convertToClientObjectsin classAbstractSearchEntity<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance,SHumanTaskInstance> - Parameters:
serverObjects- The server object to convert- Returns:
- The list of the client objects corresponding to the server objects
-
searchHumanTaskInstance
public static AbstractHumanTaskInstanceSearchEntity searchHumanTaskInstance(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, FlowNodeStateManager flowNodeStateManager, BonitaReadFunction<QueryOptions, Long> count, BonitaReadFunction<QueryOptions, List<SHumanTaskInstance>> search) factory to create a search human task descriptor
-