Class SearchProcessDeploymentInfosCanBeStartedByUsersManagedBy
java.lang.Object
org.bonitasoft.engine.search.AbstractSearchEntity<org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo,SProcessDefinitionDeployInfo>
org.bonitasoft.engine.search.AbstractProcessDeploymentInfoSearchEntity
org.bonitasoft.engine.search.process.SearchProcessDeploymentInfosCanBeStartedByUsersManagedBy
- All Implemented Interfaces:
TransactionContent,TransactionContentWithResult<org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo>>
public class SearchProcessDeploymentInfosCanBeStartedByUsersManagedBy
extends AbstractProcessDeploymentInfoSearchEntity
- Author:
- Celine Souchet
-
Constructor Summary
ConstructorsConstructorDescriptionSearchProcessDeploymentInfosCanBeStartedByUsersManagedBy(ProcessDefinitionService processDefinitionService, SearchProcessDefinitionsDescriptor searchEntitiesDescriptor, org.bonitasoft.engine.search.SearchOptions options, long managerUserId) -
Method Summary
Modifier and TypeMethodDescriptionlongexecuteCount(QueryOptions searchOptions) Execute the count hereexecuteSearch(QueryOptions searchOptions) Execute the search hereMethods inherited from class org.bonitasoft.engine.search.AbstractProcessDeploymentInfoSearchEntity
convertToClientObjectsMethods inherited from class org.bonitasoft.engine.search.AbstractSearchEntity
execute, getResult, getSearchFilter, search, search, validateQuery
-
Constructor Details
-
SearchProcessDeploymentInfosCanBeStartedByUsersManagedBy
public SearchProcessDeploymentInfosCanBeStartedByUsersManagedBy(ProcessDefinitionService processDefinitionService, SearchProcessDefinitionsDescriptor searchEntitiesDescriptor, org.bonitasoft.engine.search.SearchOptions options, long managerUserId)
-
-
Method Details
-
executeCount
Description copied from class:AbstractSearchEntityExecute the count here- Specified by:
executeCountin classAbstractSearchEntity<org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo,SProcessDefinitionDeployInfo> - Parameters:
searchOptions- The query options to execute the count with- Returns:
- The number of result on the server
- Throws:
SBonitaReadException- when the search failed to retrieve the count number
-
executeSearch
public List<SProcessDefinitionDeployInfo> executeSearch(QueryOptions searchOptions) throws SBonitaReadException Description copied from class:AbstractSearchEntityExecute the search here- Specified by:
executeSearchin classAbstractSearchEntity<org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo,SProcessDefinitionDeployInfo> - Parameters:
searchOptions- The query options to execute the search with- Returns:
- The list of searched server objects
- Throws:
SBonitaReadException- when the search failed to retrieve the results
-