com.mf.roundhouse.portal.util
Class PortalSessionCollaborator

java.lang.Object
  extended bycom.mf.roundhouse.portal.util.PortalSessionCollaborator

public class PortalSessionCollaborator
extends java.lang.Object


Field Summary
static java.lang.String PORTAL_SESSION_COLLABORATOR_KEY
           
 
Constructor Summary
PortalSessionCollaborator()
           
 
Method Summary
 void cacheLayouts(java.util.Collection layouts)
           
 void cacheResponse(PortletWindowInstance instance, PortletResponseImpl response)
           
 void cacheURL(PortletURLImpl url)
           
 void clearAllCaches()
           
 PortalPageLayout findLayout(java.lang.String layoutId)
           
 java.util.Collection getCachedLayouts()
           
 PortletResponseImpl getCachedResponse(PortletWindowInstance instance)
           
 PortletURLImpl getCachedURL(java.lang.String urlId)
           
 PortletWindowInstance getMaximizedWindow()
           
 java.security.Principal getPortalOwner()
           
 PortletConfig getPortletConfig(PortletDefinition def, PortletContextImpl context)
           
 PortletSessionImpl getPortletSession()
           
 PortletWindowInstance getPortletWindowInstance(PortletDefinition def, PortalColumn column, int ordinal, PortletContextImpl contextImpl)
           
 PortletPreferencesImpl getPreferences(PortletDefinition def)
           
 java.util.Collection getWindowInstances()
           
 void putPreferences(PortletDefinition def, PortletPreferencesImpl prefs)
           
 void setMaximizedWindow(PortletWindowInstance instance)
           
 void setPortalOwner(java.security.Principal principal)
           
 void setPortletSession(PortletSessionImpl impl)
           
 void uncache(PortletWindowInstance instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORTAL_SESSION_COLLABORATOR_KEY

public static final java.lang.String PORTAL_SESSION_COLLABORATOR_KEY
See Also:
Constant Field Values
Constructor Detail

PortalSessionCollaborator

public PortalSessionCollaborator()
Method Detail

getWindowInstances

public java.util.Collection getWindowInstances()

cacheURL

public void cacheURL(PortletURLImpl url)

getCachedURL

public PortletURLImpl getCachedURL(java.lang.String urlId)

getPreferences

public PortletPreferencesImpl getPreferences(PortletDefinition def)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

findLayout

public PortalPageLayout findLayout(java.lang.String layoutId)

getCachedLayouts

public java.util.Collection getCachedLayouts()

cacheLayouts

public void cacheLayouts(java.util.Collection layouts)

putPreferences

public void putPreferences(PortletDefinition def,
                           PortletPreferencesImpl prefs)

getPortletConfig

public PortletConfig getPortletConfig(PortletDefinition def,
                                      PortletContextImpl context)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getPortletWindowInstance

public PortletWindowInstance getPortletWindowInstance(PortletDefinition def,
                                                      PortalColumn column,
                                                      int ordinal,
                                                      PortletContextImpl contextImpl)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

getCachedResponse

public PortletResponseImpl getCachedResponse(PortletWindowInstance instance)

cacheResponse

public void cacheResponse(PortletWindowInstance instance,
                          PortletResponseImpl response)

uncache

public void uncache(PortletWindowInstance instance)

getPortalOwner

public java.security.Principal getPortalOwner()
Returns:

setPortalOwner

public void setPortalOwner(java.security.Principal principal)
Parameters:
principal -

getPortletSession

public PortletSessionImpl getPortletSession()
Returns:

setPortletSession

public void setPortletSession(PortletSessionImpl impl)
Parameters:
impl -

getMaximizedWindow

public PortletWindowInstance getMaximizedWindow()
Returns:

setMaximizedWindow

public void setMaximizedWindow(PortletWindowInstance instance)
Parameters:
instance -

clearAllCaches

public void clearAllCaches()


Copyright © 2004 Media Fortress, LLC. Licensed for commercial use under the Apache 2.0 License.