com.atlassian.jira.web.session
Interface SessionSearchObjectManager<T>

All Known Subinterfaces:
SessionNextPreviousPagerManager, SessionPagerFilterManager, SessionSearchRequestManager, SessionSelectedIssueManager
All Known Implementing Classes:
AbstractSessionSearchObjectManager, DefaultSessionNextPreviousPagerManager, DefaultSessionPagerFilterManager, DefaultSessionSearchRequestManager, DefaultSessionSelectedIssueManager

public interface SessionSearchObjectManager<T>

Provides a common access point for the setting and getting of current search related objects within the current session.

Candidates for this are objects which are related to searching. For example: SearchRequest, NextPreviousPager, PagerFilter, or the selected issue.

Since:
v4.2

Method Summary
 T getCurrentObject()
           
 void setCurrentObject(T object)
          Associates the specified object to the current user's session.
 

Method Detail

getCurrentObject

T getCurrentObject()
Returns:
the current object for the current user session-wide. Null signifies that there is no current object.

setCurrentObject

void setCurrentObject(T object)
Associates the specified object to the current user's session.

Parameters:
object - the object


Copyright © 2002-2012 Atlassian. All Rights Reserved.