@Deprecated public class NextPreviousPager extends Object implements Serializable
Constructor and Description |
---|
NextPreviousPager(ApplicationProperties applicationProperties)
Deprecated.
|
NextPreviousPager(NextPreviousPager that)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getCurrentKey()
Deprecated.
|
int |
getCurrentPosition()
Deprecated.
|
int |
getCurrentSize()
Deprecated.
|
String |
getNextKey()
Deprecated.
|
String |
getPreviousKey()
Deprecated.
|
boolean |
isHasCurrentKey()
Deprecated.
|
void |
update(SearchRequest searchRequest,
ApplicationUser user,
String currentKey)
Deprecated.
As of JIRA 6.0, issue pager is no longer generated on the server side. This method will do nothing.
|
public NextPreviousPager(NextPreviousPager that)
public NextPreviousPager(ApplicationProperties applicationProperties)
public boolean isHasCurrentKey()
public String getCurrentKey()
public int getCurrentPosition()
public int getCurrentSize()
public String getNextKey()
public String getPreviousKey()
public void update(SearchRequest searchRequest, ApplicationUser user, String currentKey) throws IOException, SearchException
This method keeps track of the current position in a search list and allows the user to easily navigate from issue to another.
searchRequest
- The search request to keep track of.user
- The user performing the searchcurrentKey
- the current issue that the user is browsing.IOException
- if there is a problem while trying to read from the indexSearchException
- thrown if there is an exception thrown during the searchCopyright © 2002-2021 Atlassian. All Rights Reserved.