org.apache.pluto.internal
Interface InternalPortletWindow

All Superinterfaces:
PortletWindow
All Known Implementing Classes:
InternalPortletWindowImpl

public interface InternalPortletWindow
extends PortletWindow

The internal portlet window represents a single window of a portlet instance as it can be shown only once on a single page. There is a one-to-one relation between portlet windows and portlet entities. Adding the same portlet e.g. twice on a page results in two different windows.

Since:
1.1.0

Method Summary
 PortletWindow getOriginalPortletWindow()
          Retrieve the original portlet window with which the container was invoked.
 PortletEntity getPortletEntity()
          Returns the portlet entity.
 javax.servlet.ServletContext getServletContext()
          The Context from which this window can be serviced.
 
Methods inherited from interface org.apache.pluto.PortletWindow
getContextPath, getId, getPortletMode, getPortletName, getWindowState
 

Method Detail

getServletContext

public javax.servlet.ServletContext getServletContext()
The Context from which this window can be serviced.

Returns:
the associated servlet context.

getPortletEntity

public PortletEntity getPortletEntity()
Returns the portlet entity. The return value cannot be NULL.

Returns:
the portlet entity

getOriginalPortletWindow

public PortletWindow getOriginalPortletWindow()
Retrieve the original portlet window with which the container was invoked.

Returns:
the original portlet window.


Copyright © 2003-2008 Apache Software Foundation. All Rights Reserved.