org.sakaiproject.portal.render.portlet
Class PortletRegistry

java.lang.Object
  extended by org.sakaiproject.portal.render.portlet.PortletRegistry

public class PortletRegistry
extends Object

A cache of all portlets windows.

Since:
Sakai 2.2.4
Version:
$Rev: 110562 $

Nested Class Summary
 class PortletRegistry.SakaiPortletConfig
           
 
Constructor Summary
PortletRegistry()
           
 
Method Summary
 SakaiPortletWindow getOrCreatePortletWindow(org.sakaiproject.tool.api.Placement placement)
          Retrieve the portlet window for the specified placement.
 SakaiPortletWindow getPortletWindow(String placementId)
          Retrieve the PortletWindow for the given id.
 boolean isPortletApplication(org.sakaiproject.tool.api.Placement placement)
           
 void reset(org.sakaiproject.site.api.ToolConfiguration configuration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletRegistry

public PortletRegistry()
Method Detail

getOrCreatePortletWindow

public SakaiPortletWindow getOrCreatePortletWindow(org.sakaiproject.tool.api.Placement placement)
                                            throws ToolRenderException
Retrieve the portlet window for the specified placement.

Parameters:
placement -
Returns:
Throws:
ToolRenderException

getPortletWindow

public SakaiPortletWindow getPortletWindow(String placementId)
Retrieve the PortletWindow for the given id.

Parameters:
placementId -
Returns:

isPortletApplication

public boolean isPortletApplication(org.sakaiproject.tool.api.Placement placement)

reset

public void reset(org.sakaiproject.site.api.ToolConfiguration configuration)


Copyright © 2003-2012 Sakai Project. All Rights Reserved.