org.infoglue.deliver.portal
Class PortalController
java.lang.Object
org.infoglue.deliver.portal.PortalController
public class PortalController
- extends java.lang.Object
- Author:
- robert lerner, jan danils, jöran stark
|
Field Summary |
static java.lang.String |
NAME
|
|
Constructor Summary |
PortalController(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
|
Method Summary |
PortletWindowIG |
getPortletWindow(java.lang.String portletID,
java.lang.String windowID)
Gets a PortletWindowIG for a portlet instance. |
java.lang.String |
renderFragment(java.lang.String portletID,
java.lang.String windowID)
Render portlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
PortalController
public PortalController(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
renderFragment
public java.lang.String renderFragment(java.lang.String portletID,
java.lang.String windowID)
throws javax.naming.NameNotFoundException,
PortalException
- Render portlet
- Parameters:
portletID - Unique identifier (myPortlet.MyPortletName of the portlet to
be renderedwindowId - Unique identifier of the window that is to be rendered, if a
PortletWindow with windowId don't exist in the registry it's
created and added to the registry.
- Returns:
- the content the portlet produces
- Throws:
PortalException
javax.naming.NameNotFoundException
getPortletWindow
public PortletWindowIG getPortletWindow(java.lang.String portletID,
java.lang.String windowID)
throws javax.naming.NameNotFoundException,
PortalException
- Gets a PortletWindowIG for a portlet instance.
- Parameters:
portletID - identifies the portlet instance.windowId - Unique identifier of the window that is to be rendered, if a
PortletWindow with windowId don't exist in the registry it's
created and added to the registry.
- Returns:
- a PortletWindowIG for a portlet instance
- Throws:
javax.naming.NameNotFoundException - thrown if the identifier is not bound to a portlet instance
PortalException - thrown in case of an exception while initializing the
portlet.
Copyright © 2005 InfoGlue.org All Rights Reserved.