Package com.atlassian.jira.issue.pager
Class NextPreviousPager
java.lang.Object
com.atlassian.jira.issue.pager.NextPreviousPager
- All Implemented Interfaces:
Serializable
Deprecated.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNextPreviousPager
(ApplicationProperties applicationProperties) Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.int
Deprecated.int
Deprecated.Deprecated.Deprecated.boolean
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.
-
Constructor Details
-
NextPreviousPager
Deprecated. -
NextPreviousPager
Deprecated.
-
-
Method Details
-
isHasCurrentKey
public boolean isHasCurrentKey()Deprecated. -
getCurrentKey
Deprecated. -
getCurrentPosition
public int getCurrentPosition()Deprecated. -
getCurrentSize
public int getCurrentSize()Deprecated. -
getNextKey
Deprecated. -
getPreviousKey
Deprecated. -
update
public void update(SearchRequest searchRequest, ApplicationUser user, String currentKey) throws IOException, SearchException 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 searchcurrentKey
- the current issue that the user is browsing.- Throws:
IOException
- if there is a problem while trying to read from the indexSearchException
- thrown if there is an exception thrown during the search
-