com.silverpeas.portlets.portal
Class PortletContent

java.lang.Object
  extended by com.silverpeas.portlets.portal.PortletContent

public class PortletContent
extends Object

PortletContent is responsible for getting the portlet content and execting action on the portlet. It delegates the calls to PortletWindowInvoker.


Constructor Summary
PortletContent(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 URL executeAction()
           
 CharSequence getContent()
           
 String getDefaultTitle()
           
 com.sun.portal.container.ChannelMode getPortletWindowMode()
           
 String getPortletWindowName()
           
 com.sun.portal.container.ChannelState getPortletWindowState()
           
 void getResources()
           
 ResponseProperties getResponseProperties()
           
 String getTitle()
           
protected  WindowInvoker getWindowInvoker(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 boolean isInMaximizedWindowState()
           
 boolean isInMinimizedWindowState()
           
 boolean isInNormalWindowState()
           
 void setPortletWindowMode(com.sun.portal.container.ChannelMode portletWindowMode)
           
 void setPortletWindowName(String portletWindowName)
           
 void setPortletWindowState(com.sun.portal.container.ChannelState portletWindowState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletContent

public PortletContent(javax.servlet.ServletContext context,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws InvokerException
Throws:
InvokerException
Method Detail

setPortletWindowMode

public void setPortletWindowMode(com.sun.portal.container.ChannelMode portletWindowMode)

setPortletWindowName

public void setPortletWindowName(String portletWindowName)

setPortletWindowState

public void setPortletWindowState(com.sun.portal.container.ChannelState portletWindowState)

getPortletWindowMode

public com.sun.portal.container.ChannelMode getPortletWindowMode()

getPortletWindowState

public com.sun.portal.container.ChannelState getPortletWindowState()

isInNormalWindowState

public boolean isInNormalWindowState()

isInMaximizedWindowState

public boolean isInMaximizedWindowState()

isInMinimizedWindowState

public boolean isInMinimizedWindowState()

getPortletWindowName

public String getPortletWindowName()

getContent

public CharSequence getContent()

getTitle

public String getTitle()

getResponseProperties

public ResponseProperties getResponseProperties()

getDefaultTitle

public String getDefaultTitle()
                       throws InvokerException
Throws:
InvokerException

executeAction

public URL executeAction()
                  throws InvokerException
Throws:
InvokerException

getResources

public void getResources()
                  throws InvokerException
Throws:
InvokerException

getWindowInvoker

protected final WindowInvoker getWindowInvoker(javax.servlet.ServletContext context,
                                               javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
                                        throws InvokerException
Throws:
InvokerException


Copyright © 2016 Silverpeas. All Rights Reserved.