org.apache.pluto.driver.core
Class PortletWindowImpl

java.lang.Object
  extended by org.apache.pluto.driver.core.PortletWindowImpl
All Implemented Interfaces:
PortletWindow

public class PortletWindowImpl
extends java.lang.Object
implements PortletWindow

Implementation of PortletWindow interface.


Constructor Summary
PortletWindowImpl(PortletWindowConfig config, PortalURL portalURL)
          Constructs an instance.
 
Method Summary
 java.lang.String getContextPath()
          Retrieve the context path in which the Portlet resides.
 PortletWindowID getId()
          Retrieve this windows unique id which will be used to communicate back to the referencing portal.
 PortletMode getPortletMode()
          Retrieve the current portlet mode for this window.
 java.lang.String getPortletName()
          Retrieve the name of the portlet as configured in the portlet.xml.
 WindowState getWindowState()
          Retrieve the current window state for this window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletWindowImpl

public PortletWindowImpl(PortletWindowConfig config,
                         PortalURL portalURL)
Constructs an instance.

Parameters:
config - the portlet window configuration.
portalURL - the portal URL.
Method Detail

getContextPath

public java.lang.String getContextPath()
Description copied from interface: PortletWindow
Retrieve the context path in which the Portlet resides.

Specified by:
getContextPath in interface PortletWindow
Returns:
context path

getPortletName

public java.lang.String getPortletName()
Description copied from interface: PortletWindow
Retrieve the name of the portlet as configured in the portlet.xml.

Specified by:
getPortletName in interface PortletWindow
Returns:
the name of the portlet.

getWindowState

public WindowState getWindowState()
Description copied from interface: PortletWindow
Retrieve the current window state for this window.

Specified by:
getWindowState in interface PortletWindow
Returns:
the current window state.

getPortletMode

public PortletMode getPortletMode()
Description copied from interface: PortletWindow
Retrieve the current portlet mode for this window.

Specified by:
getPortletMode in interface PortletWindow
Returns:
the current portlet mode.

getId

public PortletWindowID getId()
Description copied from interface: PortletWindow
Retrieve this windows unique id which will be used to communicate back to the referencing portal.

Specified by:
getId in interface PortletWindow
Returns:
unique id.


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