Class SearchUsersWhoCanStartProcessDeploymentInfo
- java.lang.Object
-
- org.bonitasoft.engine.search.AbstractSearchEntity<org.bonitasoft.engine.identity.User,SUser>
-
- org.bonitasoft.engine.search.AbstractUserSearchEntity
-
- org.bonitasoft.engine.search.identity.SearchUsersWhoCanStartProcessDeploymentInfo
-
- All Implemented Interfaces:
TransactionContent,TransactionContentWithResult<org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.identity.User>>
public class SearchUsersWhoCanStartProcessDeploymentInfo extends AbstractUserSearchEntity
- Author:
- Celine Souchet
-
-
Constructor Summary
Constructors Constructor Description SearchUsersWhoCanStartProcessDeploymentInfo(ProcessDefinitionService processDefinitionService, SearchUserDescriptor searchDescriptor, long processDefinitionId, org.bonitasoft.engine.search.SearchOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longexecuteCount(QueryOptions searchOptions)Execute the count herejava.util.List<SUser>executeSearch(QueryOptions searchOptions)Execute the search here-
Methods inherited from class org.bonitasoft.engine.search.AbstractUserSearchEntity
convertToClientObjects
-
Methods inherited from class org.bonitasoft.engine.search.AbstractSearchEntity
execute, getResult, getSearchFilter, search, search, validateQuery
-
-
-
-
Constructor Detail
-
SearchUsersWhoCanStartProcessDeploymentInfo
public SearchUsersWhoCanStartProcessDeploymentInfo(ProcessDefinitionService processDefinitionService, SearchUserDescriptor searchDescriptor, long processDefinitionId, org.bonitasoft.engine.search.SearchOptions options)
-
-
Method Detail
-
executeCount
public long executeCount(QueryOptions searchOptions) throws SBonitaReadException
Description copied from class:AbstractSearchEntityExecute the count here- Specified by:
executeCountin classAbstractSearchEntity<org.bonitasoft.engine.identity.User,SUser>- 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 java.util.List<SUser> executeSearch(QueryOptions searchOptions) throws SBonitaReadException
Description copied from class:AbstractSearchEntityExecute the search here- Specified by:
executeSearchin classAbstractSearchEntity<org.bonitasoft.engine.identity.User,SUser>- 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
-
-