Package com.webmethods.common.search
Interface ISearchContext
- All Known Subinterfaces:
ISliceableSearchContext
public interface ISearchContext
Portlets should implement this interface to provide
The data needed for the portlets on the search page.
-
Method Summary
Modifier and TypeMethodDescriptionReturn metadata about each of the search fields that should be available for refining a keyword search on the advanced tabReturn metadata about each of the fields that should be available for filtering a keyword searchReturn the names of each of the fields that will be searched by the keyword searchReturn metadata about each of the search fields that should be available for refining a keyword search on the simple tabReturns metadata about the data in the search results that should be displayed in the search result portletCollection<?>
search
(ISearchQuery searchQuery) Perform the search logic given the parameters
-
Method Details
-
getKeywordFields
Return the names of each of the fields that will be searched by the keyword search- Returns:
- array of keyword search fields
- Throws:
PortalException
-
getRefineableFields
Return metadata about each of the search fields that should be available for refining a keyword search on the simple tab- Returns:
- array of refinable fields
- Throws:
PortalException
-
getAdvancedRefineableFields
Return metadata about each of the search fields that should be available for refining a keyword search on the advanced tab- Returns:
- array of refinable fields
- Throws:
PortalException
-
getFilterableFields
Return metadata about each of the fields that should be available for filtering a keyword search- Returns:
- array of filterable fields
- Throws:
PortalException
-
search
Perform the search logic given the parameters- Parameters:
searchQuery
- the query information- Returns:
- collection of search results
- Throws:
PortalException
-
getSearchResultInfo
Returns metadata about the data in the search results that should be displayed in the search result portlet- Returns:
- search result info
- Throws:
PortalException
-