org.apache.pluto.portalImpl.om.window.impl
Class PortletWindowImpl

java.lang.Object
  extended by org.apache.pluto.portalImpl.om.window.impl.PortletWindowImpl
All Implemented Interfaces:
org.apache.pluto.om.Controller, org.apache.pluto.om.Model, org.apache.pluto.om.window.PortletWindow, org.apache.pluto.om.window.PortletWindowCtrl

public class PortletWindowImpl
extends java.lang.Object
implements org.apache.pluto.om.window.PortletWindow, org.apache.pluto.om.window.PortletWindowCtrl


Constructor Summary
PortletWindowImpl(java.lang.String id)
           
 
Method Summary
 org.apache.pluto.om.common.ObjectID getId()
          Returns the identifier of this portlet instance window as object id
 java.lang.String getParameter(java.lang.String paramName)
           
 java.lang.String[] getParameterValues(java.lang.String paramName)
           
 org.apache.pluto.om.entity.PortletEntity getPortletEntity()
          Returns the portlet entity
 javax.portlet.PortletMode getPortletMode()
           
 javax.portlet.PortletMode getPrevPortletMode()
          Return the previous portlet mode
 javax.portlet.WindowState getPrevWindowState()
          Return the previous window state
 java.util.Map getRenderParameters()
           
 javax.portlet.WindowState getWindowState()
           
 void restoreValues()
           
 void saveValues()
           
 void setId(java.lang.String id)
          binds an identifier to this portlet window
 void setPortletEntity(org.apache.pluto.om.entity.PortletEntity portletEntity)
          binds a portlet instance to this portlet window
 void setPortletMode(javax.portlet.PortletMode portletMode)
           
 void setRenderParameter(java.util.Map parameters)
           
 void setWindowState(javax.portlet.WindowState windowState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletWindowImpl

public PortletWindowImpl(java.lang.String id)
Method Detail

getRenderParameters

public java.util.Map getRenderParameters()

getParameter

public java.lang.String getParameter(java.lang.String paramName)

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String paramName)

setRenderParameter

public void setRenderParameter(java.util.Map parameters)

setPortletMode

public void setPortletMode(javax.portlet.PortletMode portletMode)

getPortletMode

public javax.portlet.PortletMode getPortletMode()

setWindowState

public void setWindowState(javax.portlet.WindowState windowState)

getWindowState

public javax.portlet.WindowState getWindowState()

getId

public org.apache.pluto.om.common.ObjectID getId()
Returns the identifier of this portlet instance window as object id

Specified by:
getId in interface org.apache.pluto.om.window.PortletWindow
Returns:
the object identifier

getPortletEntity

public org.apache.pluto.om.entity.PortletEntity getPortletEntity()
Returns the portlet entity

Specified by:
getPortletEntity in interface org.apache.pluto.om.window.PortletWindow
Returns:
the portlet entity

setId

public void setId(java.lang.String id)
binds an identifier to this portlet window

Specified by:
setId in interface org.apache.pluto.om.window.PortletWindowCtrl
Parameters:
id - the new identifier

setPortletEntity

public void setPortletEntity(org.apache.pluto.om.entity.PortletEntity portletEntity)
binds a portlet instance to this portlet window

Specified by:
setPortletEntity in interface org.apache.pluto.om.window.PortletWindowCtrl
Parameters:
portletEntity - a portlet entity object

saveValues

public void saveValues()

restoreValues

public void restoreValues()

getPrevPortletMode

public javax.portlet.PortletMode getPrevPortletMode()
Return the previous portlet mode

Returns:
the previous portlet mode

getPrevWindowState

public javax.portlet.WindowState getPrevWindowState()
Return the previous window state

Returns:
the previous window state


Copyright © 2008 Mairie de Paris. All Rights Reserved.