|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.util.PortletSessionState
Defines standard utility functions on session attributes
Field Summary | |
static java.lang.String |
CONFIG_CHANGED
Portlet attribute to save config state. |
Constructor Summary | |
PortletSessionState()
|
Method Summary | |
static void |
clearAttribute(Portlet portlet,
org.apache.turbine.util.RunData rundata,
java.lang.String attrName)
Clears the parameter for this name from Temp Uses the portlet parameter to generate a unique key. |
static void |
clearAttribute(org.apache.turbine.util.RunData rundata,
java.lang.String attrName)
Clears the parameter for this name from Temp Uses the portlet parameter to generate a unique key. |
static void |
clearAttribute(VelocityPortlet portlet,
org.apache.turbine.util.RunData rundata,
java.lang.String attrName)
Clears the parameter for this name from Temp Uses the portlet parameter to generate a unique key. |
protected static java.lang.String |
generateKey(Portlet portlet,
java.lang.String name)
Uses the portlet parameter to generate a unique key, using the portlet.getId. |
static java.lang.Object |
getAttribute(Portlet portlet,
org.apache.turbine.util.RunData rundata,
java.lang.String attrName)
Returns the parameter for this name from the Temp - session object Uses the portlet parameter to generate a unique key. |
static java.lang.Object |
getAttribute(org.apache.turbine.util.RunData rundata,
java.lang.String attrName)
Returns the parameter for this name from the Temp - session object |
static java.lang.Object |
getAttribute(org.apache.turbine.util.RunData rundata,
java.lang.String attrName,
java.lang.Object defValue)
|
static java.lang.Object |
getAttribute(VelocityPortlet portlet,
org.apache.turbine.util.RunData rundata,
java.lang.String attrName)
Returns the parameter for this name from the Temp - session object Uses the portlet parameter to generate a unique key. |
static java.lang.Object |
getAttributeWithFallback(Portlet portlet,
org.apache.turbine.util.RunData rundata,
java.lang.String attrName)
Returns the attribute for this name using the following search path: request parameter session attribute instance attribute config parameter Uses the portlet parameter to generate a unique key. |
static boolean |
getPortletConfigChanged(Portlet portlet,
org.apache.turbine.util.RunData rundata)
Returns current state of portlet config and resets it if set. |
static boolean |
isMyRequest(org.apache.turbine.util.RunData rundata,
Portlet portlet)
Returns true if the request pertains to current portlet instance. |
static void |
setAttribute(Portlet portlet,
org.apache.turbine.util.RunData rundata,
java.lang.String attrName,
java.lang.Object attrValue)
Sets the parameter for this name in Temp Uses the portlet parameter to generate a unique key. |
static void |
setAttribute(org.apache.turbine.util.RunData rundata,
java.lang.String attrName,
java.lang.Object attrValue)
Sets the parameter for this name in Temp Uses the portlet parameter to generate a unique key. |
static void |
setAttribute(VelocityPortlet portlet,
org.apache.turbine.util.RunData rundata,
java.lang.String attrName,
java.lang.Object attrValue)
Sets the parameter for this name in Temp Uses the portlet parameter to generate a unique key. |
static void |
setPortletConfigChanged(Portlet portlet,
org.apache.turbine.util.RunData rundata)
The portlet config has changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CONFIG_CHANGED
Constructor Detail |
public PortletSessionState()
Method Detail |
public static java.lang.Object getAttribute(org.apache.turbine.util.RunData rundata, java.lang.String attrName)
public static java.lang.Object getAttribute(org.apache.turbine.util.RunData rundata, java.lang.String attrName, java.lang.Object defValue)
public static void setAttribute(org.apache.turbine.util.RunData rundata, java.lang.String attrName, java.lang.Object attrValue)
public static void clearAttribute(org.apache.turbine.util.RunData rundata, java.lang.String attrName)
public static java.lang.Object getAttribute(Portlet portlet, org.apache.turbine.util.RunData rundata, java.lang.String attrName)
public static java.lang.Object getAttributeWithFallback(Portlet portlet, org.apache.turbine.util.RunData rundata, java.lang.String attrName)
portlet
- rundata
- attrName
-
public static boolean isMyRequest(org.apache.turbine.util.RunData rundata, Portlet portlet)
rundata
-
public static void setAttribute(Portlet portlet, org.apache.turbine.util.RunData rundata, java.lang.String attrName, java.lang.Object attrValue)
public static void clearAttribute(Portlet portlet, org.apache.turbine.util.RunData rundata, java.lang.String attrName)
protected static java.lang.String generateKey(Portlet portlet, java.lang.String name)
public static java.lang.Object getAttribute(VelocityPortlet portlet, org.apache.turbine.util.RunData rundata, java.lang.String attrName)
public static void setAttribute(VelocityPortlet portlet, org.apache.turbine.util.RunData rundata, java.lang.String attrName, java.lang.Object attrValue)
public static void clearAttribute(VelocityPortlet portlet, org.apache.turbine.util.RunData rundata, java.lang.String attrName)
public static void setPortletConfigChanged(Portlet portlet, org.apache.turbine.util.RunData rundata)
portlet
- rundata
- public static boolean getPortletConfigChanged(Portlet portlet, org.apache.turbine.util.RunData rundata)
portlet
- rundata
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |