|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.action.util.portal.PortalPageSessionUtil
public class PortalPageSessionUtil
Class that abstracts away the details of where the PortalPage id is stored in the session.
Method Summary | |
---|---|
static java.lang.Long |
getPageIdFromSession(java.util.Map session)
Return the current pageId as currently stored in the session. |
static boolean |
isConfiguringFromSession(java.util.Map session)
|
static void |
resetPortalPageSessionState(java.util.Map session)
Called to reset the PortalPage information that is contained within the session |
static void |
setConfiguringInSession(java.util.Map session,
boolean configuring)
|
static void |
setPageIdInSession(java.util.Map session,
java.lang.Long portalPageId)
Sets the passed pageId in the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Long getPageIdFromSession(java.util.Map session)
session
- the session to get pageId from.
public static void setPageIdInSession(java.util.Map session, java.lang.Long portalPageId)
session
- the HTTP session mapportalPageId
- the id to add to the session.public static void resetPortalPageSessionState(java.util.Map session)
session
- the Session map to clearpublic static boolean isConfiguringFromSession(java.util.Map session)
public static void setConfiguringInSession(java.util.Map session, boolean configuring)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |