Class PortletContent
- java.lang.Object
-
- org.silverpeas.web.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
Constructors Constructor Description PortletContent(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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
-
-