com.atlassian.greenhopper.service.rapid
Class RapidViewHistoryServiceImpl
java.lang.Object
com.atlassian.greenhopper.global.AbstractLoggable
com.atlassian.greenhopper.service.rapid.RapidViewHistoryServiceImpl
- All Implemented Interfaces:
- RapidViewHistoryService
@Service
public class RapidViewHistoryServiceImpl
- extends AbstractLoggable
- implements RapidViewHistoryService
Implementation of RapidViewHistoryService
Users UserHistoryManager under the covers
- Since:
- 5.10.3
Method Summary |
java.util.List<RapidView> |
getAllRecentViews(com.atlassian.crowd.embedded.api.User user)
Get the most recent rapid view id |
RapidView |
getMostRecent(com.atlassian.crowd.embedded.api.User user)
Get the most recent rapid view |
java.util.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RapidViewHistoryServiceImpl
public RapidViewHistoryServiceImpl()
storeRapidView
public void storeRapidView(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView)
- Description copied from interface:
RapidViewHistoryService
- Store a rapid view in the history
- Specified by:
storeRapidView
in interface RapidViewHistoryService
- Parameters:
user
- the user to find; may be null
getAllRecentViews
public java.util.List<RapidView> getAllRecentViews(@Nullable
com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
RapidViewHistoryService
- Get the most recent rapid view id
- Specified by:
getAllRecentViews
in interface RapidViewHistoryService
- Parameters:
user
- the user to find; may be null
- Returns:
- a list of views
getRecentViews
public java.util.List<RapidView> getRecentViews(com.atlassian.crowd.embedded.api.User user,
int count)
- Description copied from interface:
RapidViewHistoryService
- Get the number of recent views for the specified user
- Specified by:
getRecentViews
in interface RapidViewHistoryService
- Parameters:
user
- the user to find; may be nullcount
- the number of recent views to return
- Returns:
- a list of views
getMostRecent
public RapidView getMostRecent(com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
RapidViewHistoryService
- Get the most recent rapid view
- Specified by:
getMostRecent
in interface RapidViewHistoryService
- Parameters:
user
- the user to find; may be null
- Returns:
- a view or null if none found
Copyright © 2007-2012 Atlassian. All Rights Reserved.