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
Constructors Constructor Description AbstractHumanTaskInstanceSearchEntity(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, FlowNodeStateManager flowNodeStateManager)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance>convertToClientObjects(java.util.List<SHumanTaskInstance> serverObjects)Must convert server objects in client objects herestatic AbstractHumanTaskInstanceSearchEntitysearchHumanTaskInstance(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, FlowNodeStateManager flowNodeStateManager, BonitaReadFunction<QueryOptions,java.lang.Long> count, BonitaReadFunction<QueryOptions,java.util.List<SHumanTaskInstance>> search)factory to create a search human task descriptor-
Methods inherited from class org.bonitasoft.engine.search.AbstractSearchEntity
execute, executeCount, executeSearch, getResult, getSearchFilter, search, search, validateQuery
-
-
-
-
Constructor Detail
-
AbstractHumanTaskInstanceSearchEntity
public AbstractHumanTaskInstanceSearchEntity(SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options, FlowNodeStateManager flowNodeStateManager)
-
-
Method Detail
-
convertToClientObjects
public java.util.List<org.bonitasoft.engine.bpm.flownode.HumanTaskInstance> convertToClientObjects(java.util.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,java.lang.Long> count, BonitaReadFunction<QueryOptions,java.util.List<SHumanTaskInstance>> search)
factory to create a search human task descriptor
-
-