Class DefaultSearcherService
java.lang.Object
com.atlassian.jira.com.rproxy.goskope.components.query.DefaultSearcherService
- All Implemented Interfaces:
SearcherService
Kickass search utility service.
- Since:
- v5.1
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSearcherService(SearchContextHelper searchContextHelper, IssueSearcherManager issueSearcherManager, JqlStringSupport jqlStringSupport, JiraAuthenticationContext authenticationContext, SearchHandlerManager searchHandlerManager, SearchService searchService, VelocityTemplatingEngine templatingEngine, RecentSearchersService recentSearchersService, FieldManager fieldManager, PermissionManager permissionManager, ConstantsManager constantsManager, FeatureManager featureManager) -
Method Summary
Modifier and TypeMethodDescriptiongetEditHtml(String searcherId, String jqlContext, JiraWebActionSupport action) getSearchers(String jqlContext) getViewHtml(JiraWebActionSupport action, Map<String, String[]> params) searchWithJql(JiraWebActionSupport action, String jqlContext, Long filterId) Try the given JQL as a basic mode search.
-
Constructor Details
-
DefaultSearcherService
@Inject public DefaultSearcherService(SearchContextHelper searchContextHelper, IssueSearcherManager issueSearcherManager, JqlStringSupport jqlStringSupport, JiraAuthenticationContext authenticationContext, SearchHandlerManager searchHandlerManager, SearchService searchService, VelocityTemplatingEngine templatingEngine, RecentSearchersService recentSearchersService, FieldManager fieldManager, PermissionManager permissionManager, ConstantsManager constantsManager, FeatureManager featureManager)
-
-
Method Details
-
getViewHtml
public ServiceOutcome<SearchRendererValueResults> getViewHtml(JiraWebActionSupport action, Map<String, String[]> params) - Specified by:
getViewHtmlin interfaceSearcherService
-
search
public ServiceOutcome<SearchResults> search(JiraWebActionSupport action, Map<String, String[]> params, Long filterId) - Specified by:
searchin interfaceSearcherService
-
searchWithJql
public ServiceOutcome<SearchResults> searchWithJql(JiraWebActionSupport action, String jqlContext, Long filterId) Description copied from interface:SearcherServiceTry the given JQL as a basic mode search. If it can't be represented as a basic search, the result is an error.- Specified by:
searchWithJqlin interfaceSearcherService- Parameters:
action- The ActionjqlContext- The JQL requestedfilterId- The optional Filter ID- Returns:
ServiceOutcome<SearchResults> The result or error from the search.
-
getEditHtml
public ServiceOutcome<String> getEditHtml(String searcherId, String jqlContext, JiraWebActionSupport action) - Specified by:
getEditHtmlin interfaceSearcherService
-
getSearchers
- Specified by:
getSearchersin interfaceSearcherService
-