Class SearchApplicationPages
- java.lang.Object
-
- org.bonitasoft.engine.search.AbstractSearchEntity<org.bonitasoft.engine.business.application.ApplicationPage,SApplicationPage>
-
- org.bonitasoft.engine.api.impl.transaction.application.SearchApplicationPages
-
- All Implemented Interfaces:
TransactionContent
,TransactionContentWithResult<org.bonitasoft.engine.search.SearchResult<org.bonitasoft.engine.business.application.ApplicationPage>>
public class SearchApplicationPages extends AbstractSearchEntity<org.bonitasoft.engine.business.application.ApplicationPage,SApplicationPage>
- Author:
- Elias Ricken de Medeiros
-
-
Constructor Summary
Constructors Constructor Description SearchApplicationPages(ApplicationService applicationService, ApplicationPageModelConverter convertor, SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.bonitasoft.engine.business.application.ApplicationPage>
convertToClientObjects(java.util.List<SApplicationPage> serverObjects)
Must convert server objects in client objects herelong
executeCount(QueryOptions queryOptions)
Execute the count herejava.util.List<SApplicationPage>
executeSearch(QueryOptions queryOptions)
Execute the search here-
Methods inherited from class org.bonitasoft.engine.search.AbstractSearchEntity
execute, getResult, getSearchFilter, search, search, validateQuery
-
-
-
-
Constructor Detail
-
SearchApplicationPages
public SearchApplicationPages(ApplicationService applicationService, ApplicationPageModelConverter convertor, SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options)
-
-
Method Detail
-
executeCount
public long executeCount(QueryOptions queryOptions) throws SBonitaReadException
Description copied from class:AbstractSearchEntity
Execute the count here- Specified by:
executeCount
in classAbstractSearchEntity<org.bonitasoft.engine.business.application.ApplicationPage,SApplicationPage>
- Parameters:
queryOptions
- 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<SApplicationPage> executeSearch(QueryOptions queryOptions) throws SBonitaReadException
Description copied from class:AbstractSearchEntity
Execute the search here- Specified by:
executeSearch
in classAbstractSearchEntity<org.bonitasoft.engine.business.application.ApplicationPage,SApplicationPage>
- Parameters:
queryOptions
- 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
-
convertToClientObjects
public java.util.List<org.bonitasoft.engine.business.application.ApplicationPage> convertToClientObjects(java.util.List<SApplicationPage> serverObjects)
Description copied from class:AbstractSearchEntity
Must convert server objects in client objects here- Specified by:
convertToClientObjects
in classAbstractSearchEntity<org.bonitasoft.engine.business.application.ApplicationPage,SApplicationPage>
- Parameters:
serverObjects
- The server object to convert- Returns:
- The list of the client objects corresponding to the server objects
-
-