|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wsrp4j.producer.provider.pluto.driver.DynamicInformationProviderImpl
Provides access to information required for portlet rendering.
| Field Summary | |
private boolean |
isSecure
|
private java.lang.String[] |
mimeTypes
|
private javax.portlet.PortletMode |
mode
|
private oasis.names.tc.wsrp.v1.types.PortletContext |
portletContext
|
private Provider |
provider
|
private oasis.names.tc.wsrp.v1.types.RegistrationContext |
regContext
|
private oasis.names.tc.wsrp.v1.types.RuntimeContext |
runtimeContext
|
private javax.servlet.http.HttpServletRequest |
servletRequest
|
private oasis.names.tc.wsrp.v1.types.UserContext |
userContext
|
private javax.portlet.WindowState |
winState
|
private java.lang.String |
wsrpWinState
|
| Fields inherited from interface org.apache.wsrp4j.producer.provider.pluto.WSRPDynamicInformationProvider |
PROVIDER, RENDER_PARAMS, REQUEST |
| Constructor Summary | |
DynamicInformationProviderImpl(javax.servlet.http.HttpServletRequest request)
Constructor Creates a new DynamicInformationProviderImpl using the information provided by the servlet request and servlet config. |
|
| Method Summary | |
void |
changePortletMode(javax.portlet.PortletMode mode)
Set the portlet mode |
void |
changePortletWindowState(javax.portlet.WindowState state)
Set the portlet window state |
java.lang.String |
getBasePortalURL()
Returns the base portal URL excluding the context root as it is accessed by the browser, like http://www.company.com:81 |
org.apache.pluto.services.information.PortletActionProvider |
getPortletActionProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
|
javax.portlet.PortletMode |
getPortletMode(org.apache.pluto.om.window.PortletWindow portletWindow)
Return the portlet mode |
org.apache.pluto.services.information.PortletURLProvider |
getPortletURL(org.apache.pluto.om.window.PortletWindow portletWindow)
Return a PortletURLProvider for a given portlet window |
org.apache.pluto.services.information.PortletURLProvider |
getPortletURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
|
javax.portlet.PortletMode |
getPreviousPortletMode(org.apache.pluto.om.window.PortletWindow portletWindow)
Return the previous portlet mode |
javax.portlet.WindowState |
getPreviousWindowState(org.apache.pluto.om.window.PortletWindow portletWindow)
Return the previous portlet window state |
java.lang.String |
getRequestMimeType()
Return the default MIME type of the request |
org.apache.pluto.services.information.ResourceURLProvider |
getResourceURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
|
java.lang.String |
getResponseContentType()
|
java.util.Iterator |
getResponseContentTypes()
|
java.lang.String |
getResponseMimeType()
Return the default MIME type of the response |
java.util.Iterator |
getResponseMimeTypes()
Return all MIME type of the request |
java.util.Iterator |
getSupportedPortletModes()
Return the supported Portlet Modes. |
java.util.Iterator |
getSupportedWindowStates()
Return the supported Window States |
javax.portlet.WindowState |
getWindowState(org.apache.pluto.om.window.PortletWindow portletWindow)
Return the portlet window state |
boolean |
isPortletModeAllowed(javax.portlet.PortletMode portletMode)
Check if a mode is allowed As of now we consider the the mode allowed if it is part of the portlet definition |
boolean |
isWindowStateAllowed(javax.portlet.WindowState windowState)
Check if a window state is allowed As of now we consider the the window state allowed if it is part of the portlet definition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private javax.servlet.http.HttpServletRequest servletRequest
private Provider provider
private oasis.names.tc.wsrp.v1.types.RegistrationContext regContext
private oasis.names.tc.wsrp.v1.types.RuntimeContext runtimeContext
private oasis.names.tc.wsrp.v1.types.UserContext userContext
private javax.portlet.PortletMode mode
private javax.portlet.WindowState winState
private java.lang.String wsrpWinState
private boolean isSecure
private oasis.names.tc.wsrp.v1.types.PortletContext portletContext
private java.lang.String[] mimeTypes
| Constructor Detail |
public DynamicInformationProviderImpl(javax.servlet.http.HttpServletRequest request)
request - HttpServletRequest| Method Detail |
public org.apache.pluto.services.information.PortletURLProvider getPortletURL(org.apache.pluto.om.window.PortletWindow portletWindow)
portletWindow - portlet window
public void changePortletMode(javax.portlet.PortletMode mode)
mode - portlte modepublic void changePortletWindowState(javax.portlet.WindowState state)
state - portlet window statepublic java.lang.String getRequestMimeType()
public java.lang.String getResponseMimeType()
public java.util.Iterator getResponseMimeTypes()
public javax.portlet.PortletMode getPortletMode(org.apache.pluto.om.window.PortletWindow portletWindow)
getPortletMode in interface org.apache.pluto.services.information.DynamicInformationProviderportletWindow - portlet window
public javax.portlet.PortletMode getPreviousPortletMode(org.apache.pluto.om.window.PortletWindow portletWindow)
portletWindow - portlet window
public javax.portlet.WindowState getWindowState(org.apache.pluto.om.window.PortletWindow portletWindow)
getWindowState in interface org.apache.pluto.services.information.DynamicInformationProviderportletWindow - portlet window
public javax.portlet.WindowState getPreviousWindowState(org.apache.pluto.om.window.PortletWindow portletWindow)
portletWindow - portlet window
public java.util.Iterator getSupportedPortletModes()
public java.lang.String getBasePortalURL()
public java.util.Iterator getSupportedWindowStates()
public boolean isPortletModeAllowed(javax.portlet.PortletMode portletMode)
isPortletModeAllowed in interface org.apache.pluto.services.information.DynamicInformationProviderpublic boolean isWindowStateAllowed(javax.portlet.WindowState windowState)
isWindowStateAllowed in interface org.apache.pluto.services.information.DynamicInformationProviderpublic java.lang.String getResponseContentType()
getResponseContentType in interface org.apache.pluto.services.information.DynamicInformationProviderpublic java.util.Iterator getResponseContentTypes()
getResponseContentTypes in interface org.apache.pluto.services.information.DynamicInformationProviderpublic org.apache.pluto.services.information.PortletURLProvider getPortletURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
getPortletURLProvider in interface org.apache.pluto.services.information.DynamicInformationProviderpublic org.apache.pluto.services.information.ResourceURLProvider getResourceURLProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
getResourceURLProvider in interface org.apache.pluto.services.information.DynamicInformationProviderpublic org.apache.pluto.services.information.PortletActionProvider getPortletActionProvider(org.apache.pluto.om.window.PortletWindow portletWindow)
getPortletActionProvider in interface org.apache.pluto.services.information.DynamicInformationProvider
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||