public class DefaultSearchRequestAdminManager extends Object implements SearchRequestAdminManager
Constructor and Description |
---|
DefaultSearchRequestAdminManager(SearchRequestStore searchRequestStore,
SearchRequestManager searchRequestManager,
ShareManager shareManager) |
Modifier and Type | Method and Description |
---|---|
void |
delete(Long searchRequestId)
Delete a SearchRequest.
|
SearchRequest |
getSearchRequestById(Long id)
Called from upgrade task 321.
|
EnclosedIterable |
getSearchRequests(com.atlassian.crowd.embedded.api.Group group)
Called from the admin section.
|
EnclosedIterable |
getSearchRequests(Project project)
Called from the admin section.
|
SearchRequest |
update(SearchRequest request)
Update a SearchRequest.
|
public DefaultSearchRequestAdminManager(SearchRequestStore searchRequestStore, SearchRequestManager searchRequestManager, ShareManager shareManager)
public EnclosedIterable getSearchRequests(Project project)
getSearchRequests
in interface SearchRequestAdminManager
project
- Project that is associate with the filtersSearchRequest
that have their project set to the given projectpublic EnclosedIterable getSearchRequests(com.atlassian.crowd.embedded.api.Group group)
getSearchRequests
in interface SearchRequestAdminManager
group
- The group associated with the SearchRequestsSearchRequest
objects that are shared with the given grouppublic SearchRequest getSearchRequestById(Long id)
getSearchRequestById
in interface SearchRequestAdminManager
id
- The id of the filterpublic SearchRequest update(SearchRequest request)
SearchRequestAdminManager
update
in interface SearchRequestAdminManager
public void delete(Long searchRequestId)
SearchRequestAdminManager
delete
in interface SearchRequestAdminManager
Copyright © 2002-2017 Atlassian. All Rights Reserved.