@Deprecated public class

NextPreviousPager

extends Object
implements Serializable
java.lang.Object
   ↳ com.atlassian.jira.issue.pager.NextPreviousPager

Summary

Public Constructors
NextPreviousPager(NextPreviousPager that)
NextPreviousPager(ApplicationProperties applicationProperties)
Public Methods
String getCurrentKey()
int getCurrentPosition()
int getCurrentSize()
String getNextKey()
String getPreviousKey()
boolean isHasCurrentKey()
void update(SearchRequest searchRequest, User user, String currentKey)
This method is deprecated. As of JIRA 6.0, issue pager is no longer generated on the server side. This method will do nothing.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NextPreviousPager (NextPreviousPager that)

public NextPreviousPager (ApplicationProperties applicationProperties)

Public Methods

public String getCurrentKey ()

public int getCurrentPosition ()

public int getCurrentSize ()

public String getNextKey ()

public String getPreviousKey ()

public boolean isHasCurrentKey ()

public void update (SearchRequest searchRequest, User user, String currentKey)

This method is deprecated.
As of JIRA 6.0, issue pager is no longer generated on the server side. This method will do nothing.

IMPORTANT!! This method must be called before current, previous or next issue is called. Otherwise they will return null.

This method keeps track of the current position in a search list and allows the user to easily navigate from issue to another.

Parameters
searchRequest The search request to keep track of.
user The user performing the search
currentKey the current issue that the user is browsing.
Throws
IOException if there is a problem while trying to read from the index
SearchException thrown if there is an exception thrown during the search