com.atlassian.jira.issue.pager
Class PagerManager
java.lang.Object
com.atlassian.jira.issue.pager.PagerManager
public class PagerManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagerManager
public PagerManager(ApplicationProperties applicationProperties)
clearPager
public void clearPager(Map<String,Object> session)
- Removes the pager from the session.
- Parameters:
session
- The session map containing the pager.
updatePager
public void updatePager(NextPreviousPager pager,
SearchRequest searchRequest,
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(Map<String,Object> session)
- Returns pager stored in the session or a new pager if pager not found in the session.
- Parameters:
session
- The session map containing the pager.
- Returns:
- pager from session if found, otherwise new pager
Copyright © 2002-2009 Atlassian. All Rights Reserved.