@PublicApi
public interface ProjectSuggestionProvider
Modifier and Type | Method and Description |
---|---|
List<SuggestionGroupBean> |
getProjectPickerSuggestions(Optional<Long> selectedProject,
boolean includeRecent)
Returns a list of SuggestionGroupBeans containing all projects.
|
List<SuggestionGroupBean> |
getProjectPickerSuggestions(ProjectPermissionKey permission,
Optional<Long> selectedProject,
boolean includeRecent)
Returns a list of SuggestionGroupBeans containing all the projects the current user can access with the provided
permission.
|
List<SuggestionGroupBean> getProjectPickerSuggestions(Optional<Long> selectedProject, boolean includeRecent)
selectedProject
- Used to highlight the currently selected projectincludeRecent
- True if the result should contain a separate group for the most recent projects firstList<SuggestionGroupBean> getProjectPickerSuggestions(ProjectPermissionKey permission, Optional<Long> selectedProject, boolean includeRecent)
permission
- the permission to use to retrieve projects for the current userselectedProject
- Used to highlight the currently selected projectincludeRecent
- True if the result should contain a separate group for the most recent projects firstCopyright © 2002-2019 Atlassian. All Rights Reserved.