public class SearchPages extends AbstractSearchEntity<org.bonitasoft.engine.page.Page,SPage>
| Constructor and Description |
|---|
SearchPages(PageService pageService,
SearchEntityDescriptor searchDescriptor,
org.bonitasoft.engine.search.SearchOptions options) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.bonitasoft.engine.page.Page> |
convertToClientObjects(java.util.List<SPage> pages)
Must convert server objects in client objects here
|
long |
executeCount(QueryOptions queryOptions)
Execute the count here
|
java.util.List<SPage> |
executeSearch(QueryOptions queryOptions)
Execute the search here
|
execute, getResult, getSearchFilter, search, search, validateQuerypublic SearchPages(PageService pageService, SearchEntityDescriptor searchDescriptor, org.bonitasoft.engine.search.SearchOptions options)
public long executeCount(QueryOptions queryOptions) throws SBonitaReadException
AbstractSearchEntityexecuteCount in class AbstractSearchEntity<org.bonitasoft.engine.page.Page,SPage>queryOptions - The query options to execute the count withSBonitaReadException - when the search failed to retrieve the count numberpublic java.util.List<SPage> executeSearch(QueryOptions queryOptions) throws SBonitaReadException
AbstractSearchEntityexecuteSearch in class AbstractSearchEntity<org.bonitasoft.engine.page.Page,SPage>queryOptions - The query options to execute the search withSBonitaReadException - when the search failed to retrieve the resultspublic java.util.List<org.bonitasoft.engine.page.Page> convertToClientObjects(java.util.List<SPage> pages)
AbstractSearchEntityconvertToClientObjects in class AbstractSearchEntity<org.bonitasoft.engine.page.Page,SPage>pages - The server object to convert