com.atlassian.jira.issue.pager
Class PagerManager

java.lang.Object
  extended by com.atlassian.jira.issue.pager.PagerManager

public class PagerManager
extends java.lang.Object


Constructor Summary
PagerManager(ApplicationProperties applicationProperties, SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory)
           
 
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.opensymphony.user.User user, java.lang.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
 

Constructor Detail

PagerManager

public PagerManager(ApplicationProperties applicationProperties,
                    SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory)
Method Detail

updatePager

public void updatePager(NextPreviousPager pager,
                        SearchRequest searchRequest,
                        com.opensymphony.user.User user,
                        java.lang.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 update
searchRequest - The current search request in the application
user - The current remote user
currentKey - 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-2010 Atlassian. All Rights Reserved.