com.atlassian.jira.web.action.issue
Class SearchActionHelperImpl

java.lang.Object
  extended by com.atlassian.jira.web.action.issue.SearchActionHelperImpl
All Implemented Interfaces:
SearchActionHelper

public final class SearchActionHelperImpl
extends Object
implements SearchActionHelper

Some utility code shared between the searching actions.

Since:
v4.0

Constructor Summary
SearchActionHelperImpl(SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory, UserPreferencesManager userPreferencesManager, JiraAuthenticationContext authContext)
           
 
Method Summary
 PagerFilter getPagerFilter()
          Store the current pager in the session.
 PagerFilter getPagerFilter(Integer tempMax)
          Store the current pager in the session.
 PagerFilter resetPager()
          Restart the pager in the session.
 void resetPagerTempMax()
           
 void resetPagerTempMax(Integer tempMax)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchActionHelperImpl

public SearchActionHelperImpl(SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory,
                              UserPreferencesManager userPreferencesManager,
                              JiraAuthenticationContext authContext)
Method Detail

getPagerFilter

public PagerFilter getPagerFilter()
Description copied from interface: SearchActionHelper
Store the current pager in the session. The pager handles paging through the issue list.

Specified by:
getPagerFilter in interface SearchActionHelper
Returns:
the page currently in the session.

getPagerFilter

public PagerFilter getPagerFilter(Integer tempMax)
Description copied from interface: SearchActionHelper
Store the current pager in the session. The pager handles paging through the issue list.

Specified by:
getPagerFilter in interface SearchActionHelper
Parameters:
tempMax - temporary max results per page
Returns:
the page currently in the session.

resetPager

public PagerFilter resetPager()
Description copied from interface: SearchActionHelper
Restart the pager in the session.

Specified by:
resetPager in interface SearchActionHelper
Returns:
the new PagerFilter that was created

resetPagerTempMax

public void resetPagerTempMax()
Specified by:
resetPagerTempMax in interface SearchActionHelper

resetPagerTempMax

public void resetPagerTempMax(Integer tempMax)
Specified by:
resetPagerTempMax in interface SearchActionHelper


Copyright © 2002-2014 Atlassian. All Rights Reserved.