com.liferay.portal.servlet
Class PortalSessionListener

java.lang.Object
  extended by com.liferay.portal.servlet.PortalSessionListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener

public class PortalSessionListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionListener

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
PortalSessionListener()
           
 
Method Summary
protected  long getCompanyId(long userId)
           
 void sessionCreated(javax.servlet.http.HttpSessionEvent event)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalSessionListener

public PortalSessionListener()
Method Detail

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener

getCompanyId

protected long getCompanyId(long userId)
                     throws java.lang.Exception
Throws:
java.lang.Exception