org.jboss.portal.core.impl.api
Class PortalRuntimeContextImpl
java.lang.Object
org.jboss.portal.core.impl.api.PortalRuntimeContextImpl
- All Implemented Interfaces:
- PortalRuntimeContext
public class PortalRuntimeContextImpl
- extends java.lang.Object
- implements PortalRuntimeContext
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalRuntimeContextImpl
public PortalRuntimeContextImpl(HttpSession session)
PortalRuntimeContextImpl
public PortalRuntimeContextImpl(HttpSession session,
java.lang.String userId)
getUserId
public java.lang.String getUserId()
- Description copied from interface:
PortalRuntimeContext
- Return the user id or null if no user is associated with the context.
- Specified by:
getUserId
in interface PortalRuntimeContext
- Returns:
- the user id
getSession
public PortalSession getSession()
- Description copied from interface:
PortalRuntimeContext
- Return the portal session or null if no session is associated with the context.
- Specified by:
getSession
in interface PortalRuntimeContext
- Returns:
- the portal session
getNavigationalStateContext
public NavigationalStateContext getNavigationalStateContext()
- Description copied from interface:
PortalRuntimeContext
- Returns the navigational state context or null if no navigational state is associated with the context.
- Specified by:
getNavigationalStateContext
in interface PortalRuntimeContext
- Returns:
- the navigational state context
getURLFactory
public PortalNodeURLFactory getURLFactory()