org.jasig.portal.portlet.session
Class ScopingPortletSessionImpl

java.lang.Object
  extended by org.apache.pluto.internal.impl.PortletSessionImpl
      extended by org.jasig.portal.portlet.session.ScopingPortletSessionImpl
All Implemented Interfaces:
PortletSession, HttpSession

public class ScopingPortletSessionImpl
extends org.apache.pluto.internal.impl.PortletSessionImpl

Custom portlet session impl, uses the entityId instead of the windowId for the session namespace

Version:
$Revision: 19776 $
Author:
Eric Dalquist

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Fields inherited from class org.apache.pluto.internal.impl.PortletSessionImpl
DEFAULT_SCOPE, ID_NAME_SEPARATOR, PORTLET_SCOPE_NAMESPACE
 
Fields inherited from interface javax.portlet.PortletSession
APPLICATION_SCOPE, PORTLET_SCOPE
 
Constructor Summary
ScopingPortletSessionImpl(IPortletEntityId portletEntityId, PortletContext portletContext, org.apache.pluto.internal.InternalPortletWindow internalPortletWindow, HttpSession httpSession)
           
 
Method Summary
protected  String createPortletScopedId(String name)
           
protected  boolean isInCurrentPortletScope(String name)
           
 
Methods inherited from class org.apache.pluto.internal.impl.PortletSessionImpl
getAttribute, getAttribute, getAttributeNames, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getPortletContext, getServletContext, getSessionContext, getValue, getValueNames, invalidate, isNew, putValue, removeAttribute, removeAttribute, removeValue, setAttribute, setAttribute, setMaxInactiveInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

ScopingPortletSessionImpl

public ScopingPortletSessionImpl(IPortletEntityId portletEntityId,
                                 PortletContext portletContext,
                                 org.apache.pluto.internal.InternalPortletWindow internalPortletWindow,
                                 HttpSession httpSession)
Method Detail

createPortletScopedId

protected String createPortletScopedId(String name)
Overrides:
createPortletScopedId in class org.apache.pluto.internal.impl.PortletSessionImpl

isInCurrentPortletScope

protected boolean isInCurrentPortletScope(String name)
Overrides:
isInCurrentPortletScope in class org.apache.pluto.internal.impl.PortletSessionImpl


Copyright © 2010 Jasig. All Rights Reserved.