com.atlassian.crucible.spi.services
Interface SearchService


public interface SearchService

Provides an API for searching reviews.


Method Summary
 java.util.List<ReviewData> searchForReviews(java.lang.String term)
          Search for reviews where the name, description, state or permaId contain the specified term.
 java.util.List<ReviewData> searchForReviewsByJiraKey(java.lang.String key)
          Get a list of all reviews that have been linked to the specified JIRA issue key.
 

Method Detail

searchForReviews

java.util.List<ReviewData> searchForReviews(java.lang.String term)
Search for reviews where the name, description, state or permaId contain the specified term.

Parameters:
term - a String term
Returns:
a List of ReviewData matching the term

searchForReviewsByJiraKey

java.util.List<ReviewData> searchForReviewsByJiraKey(java.lang.String key)
Get a list of all reviews that have been linked to the specified JIRA issue key.

Parameters:
key - a JIRA issue key (generally of the form ABC-123)
Returns:
a List of reviews linked to the specified key