|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchManager
Facade for the v2 search API.
| Method Summary | |
|---|---|
java.util.List |
fetchEntities(SearchResults searchResults)
Helper method to convert search results into a list of database entities. |
java.util.List |
findEntities(Search search)
Perform a search with the given criteria, returning the results as a list of database entity objects. |
SearchResults |
search(Search search)
Perform a search with a given criteria. |
| Method Detail |
|---|
SearchResults search(Search search)
throws InvalidSearchException
Will throw an InvalidSearchException if some error occurred converting the search object into a search that could be performed in the back-end. Usually this is a sign that some plugin that was used to create the search is no longer available.
search - the search to perform
InvalidSearchException - if the search is not recognised as valid
java.util.List findEntities(Search search)
throws InvalidSearchException
fetchEntities(SearchResults) method, the list of entities returned
will not contain any nulls: search results that do not match a database record will be silently
discarded
search - the search to perform
InvalidSearchException - if the search is not recognised as validjava.util.List fetchEntities(SearchResults searchResults)
searchResults - the results of a search from this manager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||