Package com.atlassian.jira.issue.search
Interface SearchRequestAdminManager
- All Known Implementing Classes:
DefaultSearchRequestAdminManager
public interface SearchRequestAdminManager
SearchRequestAdminManager is for the admin section only.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a SearchRequest.Return the search request as stored in the database.getSearchRequests(com.atlassian.crowd.embedded.api.Group group) Gets allSearchRequests that are explicitly shared with a group.getSearchRequests(Project project) Get all SearchRequests associate with a given project.update(SearchRequest request) Update a SearchRequest.
-
Method Details
-
getSearchRequestById
Return the search request as stored in the database. NOTE: This method does not perform permission checks to see if the current user has permission to see the requested search request. This method should not be used unless you know you have to.- Parameters:
id- The id of the filter- Returns:
- The SearchRequest, or null if the request id does not exist
-
getSearchRequests
Get all SearchRequests associate with a given project.Note: Permissions are NOT set for these objects.
- Parameters:
project- Project that is associate with the filters- Returns:
- Collection of
SearchRequestthat have their project set to the given project
-
getSearchRequests
Gets allSearchRequests that are explicitly shared with a group.Note: Permissions are NOT set for these objects.
- Parameters:
group- The group associated with the SearchRequests- Returns:
- The
SearchRequestobjects that are shared with the given group
-
update
Update a SearchRequest. Useful for upgrading. -
delete
Delete a SearchRequest.
-