Class SearchResource


  • @Singleton
    public class SearchResource
    extends Object
    • Method Detail

      • searchAuthors

        public SearchResultsList searchAuthors​(String searchTerm,
                                               boolean unlinkedOnly,
                                               @Context
                                               javax.ws.rs.core.UriInfo uriInfo)
      • searchPlans

        public SearchResultsList searchPlans​(String searchTerm,
                                             boolean fuzzySearch,
                                             String planType,
                                             String requiredPermission,
                                             @Context
                                             javax.ws.rs.core.UriInfo uriInfo,
                                             @Context
                                             javax.ws.rs.core.HttpHeaders httpHeaders,
                                             @Context
                                             com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • searchJobs

        public SearchResultsList searchJobs​(String planKey,
                                            String searchTerm,
                                            @Context
                                            javax.ws.rs.core.UriInfo uriInfo,
                                            @Context
                                            javax.ws.rs.core.HttpHeaders httpHeaders,
                                            @Context
                                            com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • searchStages

        public SearchResultsList searchStages​(String planKey,
                                              String stageId,
                                              String searchTerm,
                                              @Context
                                              javax.ws.rs.core.UriInfo uriInfo,
                                              @Context
                                              javax.ws.rs.core.HttpHeaders httpHeaders,
                                              @Context
                                              com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • searchBranches

        public SearchResultsList searchBranches​(String masterPlanKeyStr,
                                                boolean includeMasterBranch,
                                                Long releasedInDeployment,
                                                String searchTerm,
                                                boolean fuzzySearch,
                                                boolean searchByBranchNameOnly,
                                                @Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                @Context
                                                javax.ws.rs.core.HttpHeaders httpHeaders,
                                                @Context
                                                com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • searchProjects

        public SearchResultsList searchProjects​(String searchTerm,
                                                String requiredPermission,
                                                @Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                @Context
                                                javax.ws.rs.core.HttpHeaders httpHeaders,
                                                @Context
                                                com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • searchDeployments

        public SearchResultsList searchDeployments​(String searchTerm,
                                                   String requiredPermission,
                                                   @Context
                                                   javax.ws.rs.core.UriInfo uriInfo,
                                                   @Context
                                                   javax.ws.rs.core.HttpHeaders httpHeaders,
                                                   @Context
                                                   com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • searchVersions

        public SearchResultsList searchVersions​(String searchTerm,
                                                long deploymentProjectId,
                                                String branchKey,
                                                boolean chronologicalOrder,
                                                @Context
                                                javax.ws.rs.core.UriInfo uriInfo,
                                                @Context
                                                javax.ws.rs.core.HttpHeaders httpHeaders,
                                                @Context
                                                com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
      • filterPlans

        protected Predicate<ImmutablePlan> filterPlans​(String searchTerm,
                                                       boolean fuzzySearch,
                                                       boolean searchAtShortPlanNameOnly)