Package com.atlassian.jira.web.session
Class AbstractSessionSearchObjectManager<T>
java.lang.Object
com.atlassian.jira.web.session.AbstractSessionSearchObjectManager<T>
- All Implemented Interfaces:
SessionSearchObjectManager<T>
- Direct Known Subclasses:
DefaultSessionNextPreviousPagerManager,DefaultSessionPagerFilterManager,DefaultSessionSearchRequestManager,DefaultSessionSelectedIssueManager
@Deprecated
@NonInjectableComponent
public abstract class AbstractSessionSearchObjectManager<T>
extends Object
implements SessionSearchObjectManager<T>
Deprecated.
since 7.1 Storing information on the httpsession is obsoleted. Please move this functionality to the frontend or other type of storage. This class will be removed in 8.0.
A very basic implementation of
SessionSearchObjectManager which only allows a single object to be set session-wide.
Developers note: to see our failed attempt at providing an object-per-window implementation, consult the SVN history.
- Since:
- v4.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.since 7.1 Storing information in server side HttpSession is not Vertigo alignedstatic classDeprecated.since 7.1 Storing information in server side HttpSession is not Vertigo aligned -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final jakarta.servlet.http.HttpServletRequestDeprecated.protected final AbstractSessionSearchObjectManager.SessionDeprecated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSessionSearchObjectManager(jakarta.servlet.http.HttpServletRequest request, AbstractSessionSearchObjectManager.Session session) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.protected abstract StringDeprecated.voidsetCurrentObject(T object) Deprecated.Associates the specified object to the current user's session.
-
Field Details
-
request
protected final jakarta.servlet.http.HttpServletRequest requestDeprecated. -
session
Deprecated.
-
-
Constructor Details
-
AbstractSessionSearchObjectManager
protected AbstractSessionSearchObjectManager(jakarta.servlet.http.HttpServletRequest request, AbstractSessionSearchObjectManager.Session session) Deprecated.
-
-
Method Details
-
getCurrentObject
Deprecated.- Specified by:
getCurrentObjectin interfaceSessionSearchObjectManager<T>- Returns:
- the current object for the current user session-wide. Null signifies that there is no current object.
-
setCurrentObject
Deprecated.Description copied from interface:SessionSearchObjectManagerAssociates the specified object to the current user's session.- Specified by:
setCurrentObjectin interfaceSessionSearchObjectManager<T>- Parameters:
object- the object
-
getLastViewedSessionKey
Deprecated.- Returns:
- the key which will be used to store the last viewed object in the session.
-