public interface RapidViewHistoryService
Modifier and Type | Method and Description |
---|---|
List<RapidView> |
getAllRecentViews(com.atlassian.crowd.embedded.api.User user)
Get the most recent rapid views, ordered by most recently visited
|
RapidView |
getMostRecent(com.atlassian.crowd.embedded.api.User user)
Get the most recent rapid view
|
com.atlassian.fugue.Option<RapidView> |
getMostRecentRapidViewFromList(com.atlassian.crowd.embedded.api.User user,
Collection<RapidView> rapidViews)
Returns the rapid view from the given list of rapid views which the user visited most recently
|
List<RapidView> |
getRecentViews(com.atlassian.crowd.embedded.api.User user,
int count)
Get the number of recent views for the specified user
|
void |
storeRapidView(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
Store a rapid view in the history
|
void storeRapidView(@Nullable com.atlassian.crowd.embedded.api.User user, RapidView rapidView)
user
- the user to find; may be null@NotNull List<RapidView> getAllRecentViews(@Nullable com.atlassian.crowd.embedded.api.User user)
user
- the user to find; may be null@NotNull List<RapidView> getRecentViews(@Nullable com.atlassian.crowd.embedded.api.User user, int count)
user
- the user to find; may be nullcount
- the number of recent views to returnRapidView getMostRecent(com.atlassian.crowd.embedded.api.User user)
user
- the user to find; may be nullcom.atlassian.fugue.Option<RapidView> getMostRecentRapidViewFromList(com.atlassian.crowd.embedded.api.User user, Collection<RapidView> rapidViews)
user
- the user to find; may be nullrapidViews
- Collection of rapid views to testCopyright © 2007–2015 Atlassian. All rights reserved.