|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provide information from the portal to portlet container that are request dependend.
Method Summary | |
PortletActionProvider |
getPortletActionProvider(PortletWindow portletWindow)
Returns the portlet action provider for the given portlet window |
javax.portlet.PortletMode |
getPortletMode(PortletWindow portletWindow)
Returns the current PortletMode of the given portlet window. |
PortletURLProvider |
getPortletURLProvider(PortletWindow portletWindow)
Returns an URL pointing to the given portlet window |
ResourceURLProvider |
getResourceURLProvider(PortletWindow portletWindow)
Returns the ResourceURLProvider to create URLs pointing to a resource in a web application. |
java.lang.String |
getResponseContentType()
Returns the content type the portlet should use in its response The content type only includes the content type, not the character set. |
java.util.Iterator |
getResponseContentTypes()
Gets a list of mime types which the portal accepts for the response. |
javax.portlet.WindowState |
getWindowState(PortletWindow portletWindow)
Returns the WindowState of the given portlet window. |
boolean |
isPortletModeAllowed(javax.portlet.PortletMode mode)
Returns true if the portal supports the requested portlet mode. |
boolean |
isWindowStateAllowed(javax.portlet.WindowState state)
Returns true if the portal supports the requested window state. |
Method Detail |
public java.lang.String getResponseContentType()
public java.util.Iterator getResponseContentTypes()
The content type only includes the content type, not the character set.
public PortletURLProvider getPortletURLProvider(PortletWindow portletWindow)
portletWindow
- the portlet Window
public ResourceURLProvider getResourceURLProvider(PortletWindow portletWindow)
portletWindow
- the portlet Window
public PortletActionProvider getPortletActionProvider(PortletWindow portletWindow)
portletWindow
- the portlet Window
public javax.portlet.PortletMode getPortletMode(PortletWindow portletWindow)
PortletMode
of the given portlet window.
portletWindow
- the portlet Window
public javax.portlet.WindowState getWindowState(PortletWindow portletWindow)
WindowState
of the given portlet window.
portletWindow
- the portlet window
public boolean isPortletModeAllowed(javax.portlet.PortletMode mode)
mode
- portlet mode requested to support
public boolean isWindowStateAllowed(javax.portlet.WindowState state)
state
- window state requested to support
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |