|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.springmvc.CmsItemPrivateSessionImpl
public class CmsItemPrivateSessionImpl
Provide an virtual Private http Session for an CmsItemBase Class.
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
LOG
|
| Constructor Summary | |
|---|---|
CmsItemPrivateSessionImpl(javax.servlet.http.HttpServletRequest request,
java.lang.String componentId)
Contruct a CmsItemPrivateSession instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAttribute(java.lang.String key)
get the attribute value with the given key from the "Virtual Private Session" |
java.lang.String |
getGxInternalAttribute(java.lang.String key)
get a GX framework internal attrubute from the "Virtual private Session" |
java.lang.String |
getInstanceAttribute(java.lang.String instanceId,
java.lang.String key)
get the attribute value with the given key from the "Virtual Private Session" from this specific instanceId. |
void |
setAttribute(java.lang.String key,
java.lang.String value)
store a String attribute on the "Virtual Private Session" with the given key |
void |
setGxInternalAttribute(java.lang.String key,
java.lang.String value)
set a GX framework internal attrubute from the "Virtual private Session". |
void |
setInstanceAttribute(java.lang.String instanceId,
java.lang.String key,
java.lang.String value)
store a String attribute on the "Virtual Private Session" with the given key only visual for the given instanceId. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger LOG
| Constructor Detail |
|---|
public CmsItemPrivateSessionImpl(javax.servlet.http.HttpServletRequest request,
java.lang.String componentId)
privateSessionsMap - hold the values for this private session
must be synchronized| Method Detail |
|---|
public void setAttribute(java.lang.String key,
java.lang.String value)
setAttribute in interface CmsItemPrivateSessionkey - key may not start GX_ (framework internal)value - value to storepublic java.lang.String getAttribute(java.lang.String key)
getAttribute in interface CmsItemPrivateSessionkey -
public void setInstanceAttribute(java.lang.String instanceId,
java.lang.String key,
java.lang.String value)
setInstanceAttribute in interface CmsItemPrivateSessioninstanceId - instanceId may not start with GX_ (framework internal)key - key may not start with GX_ (framework internal)value - value to store
public java.lang.String getInstanceAttribute(java.lang.String instanceId,
java.lang.String key)
getInstanceAttribute in interface CmsItemPrivateSessioninstanceId - key -
public java.lang.String getGxInternalAttribute(java.lang.String key)
key - key will be prefixed by this method for uniqueness
public void setGxInternalAttribute(java.lang.String key,
java.lang.String value)
key - key will be prefixed by this method for uniquenessvalue - to store
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||