com.atlassian.jira.issue.pager
Class PagerManager
java.lang.Object
com.atlassian.jira.issue.pager.PagerManager
public class PagerManager
- extends Object
Method Summary |
void |
clearPager()
Removes the pager from the session. |
NextPreviousPager |
getPager()
Returns pager stored in the session or a new pager if pager not found in the session. |
void |
updatePager(NextPreviousPager pager,
SearchRequest searchRequest,
com.atlassian.crowd.embedded.api.User user,
String currentKey)
Update a pager if the search request passed is different from the searchrequest that is already there. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagerManager
public PagerManager(ApplicationProperties applicationProperties,
SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory)
updatePager
public void updatePager(NextPreviousPager pager,
SearchRequest searchRequest,
com.atlassian.crowd.embedded.api.User user,
String currentKey)
- Update a pager if the search request passed is different from the searchrequest that is already there.
- Parameters:
pager
- The current pager to updatesearchRequest
- The current search request in the applicationuser
- The current remote usercurrentKey
- The current issue key that we are viewing
getPager
public NextPreviousPager getPager()
- Returns pager stored in the session or a new pager if pager not found in the session.
- Returns:
- pager from session if found, otherwise new pager
clearPager
public void clearPager()
- Removes the pager from the session.
Copyright © 2002-2012 Atlassian. All Rights Reserved.