|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.portlet.session.SubSession
A subsession keep tracks of the content of a given portlet session.
Field Summary | |
private boolean |
activated
Signals that the session has been activated. |
private java.lang.String |
id
The id. |
private static org.jboss.logging.Logger |
log
. |
private java.util.Map |
map
The session content. |
private static long |
serialVersionUID
The serialVersionUID |
private boolean |
trace
. |
Constructor Summary | |
SubSession()
|
|
SubSession(java.lang.String id)
|
Method Summary | |
void |
create()
|
void |
destroy()
|
java.lang.Object |
getAttribute(java.lang.String name)
|
java.util.Set |
getAttributeNames()
|
java.lang.String |
getId()
|
boolean |
isActivated()
|
private void |
log(java.lang.String prefix)
|
void |
readExternal(java.io.ObjectInput in)
|
void |
setActivated(boolean activated)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
void |
synchronizeWithDispatchedSession(javax.servlet.http.HttpServletRequest dispatchedRequest)
Synchronize the content with the session held by the dispatched request. |
void |
synchronizeWithPortalSession(javax.servlet.http.HttpServletRequest portalRequest,
java.util.List modifications,
java.lang.String key)
|
private void |
trace(java.lang.String message)
|
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private static final org.jboss.logging.Logger log
private boolean trace
private boolean activated
private java.util.Map map
private java.lang.String id
Constructor Detail |
public SubSession(java.lang.String id)
public SubSession()
Method Detail |
public java.lang.String getId()
public boolean isActivated()
public void setActivated(boolean activated)
public java.util.Set getAttributeNames()
public java.lang.Object getAttribute(java.lang.String name)
public void setAttribute(java.lang.String name, java.lang.Object value)
public void create()
public void destroy()
public void synchronizeWithPortalSession(javax.servlet.http.HttpServletRequest portalRequest, java.util.List modifications, java.lang.String key)
portalRequest
- key
- public void synchronizeWithDispatchedSession(javax.servlet.http.HttpServletRequest dispatchedRequest)
dispatchedRequest
- public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
private void log(java.lang.String prefix)
private void trace(java.lang.String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |