|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.portlet.GenericPortlet
com.vaadin.server.VaadinPortlet
public class VaadinPortlet
Portlet 2.0 base class. This replaces the servlet in servlet/portlet 1.0 deployments and handles various portlet requests from the browser. TODO Document me!
| Nested Class Summary | |
|---|---|
protected static class |
VaadinPortlet.RequestType
Deprecated. As of 7.0. This is no longer used and only provided for backwards compatibility. Each RequestHandler can
individually decide whether it wants to handle a request or
not. |
static class |
VaadinPortlet.VaadinGateinRequest
|
static class |
VaadinPortlet.VaadinHttpAndPortletRequest
|
static class |
VaadinPortlet.VaadinLiferayRequest
|
| Field Summary | |
|---|---|
static java.lang.String |
PORTAL_PARAMETER_VAADIN_THEME
Deprecated. As of 7.0. Will likely change or be removed in a future version |
static java.lang.String |
PORTLET_PARAMETER_STYLE
Deprecated. As of 7.0. Will likely change or be removed in a future version |
static java.lang.String |
RESOURCE_URL_ID
Deprecated. As of 7.0. Will likely change or be removed in a future version |
static java.lang.String |
WRITE_AJAX_PAGE_SCRIPT_WIDGETSET_SHOULD_WRITE
Deprecated. As of 7.0. Will likely change or be removed in a future version |
| Constructor Summary | |
|---|---|
VaadinPortlet()
|
|
| Method Summary | |
|---|---|
protected DeploymentConfiguration |
createDeploymentConfiguration(java.util.Properties initParameters)
|
protected VaadinPortletService |
createPortletService(DeploymentConfiguration deploymentConfiguration)
|
protected VaadinPortletRequest |
createVaadinRequest(javax.portlet.PortletRequest request)
Wraps the request in a (possibly portal specific) Vaadin portlet request. |
protected void |
doDispatch(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
static VaadinPortlet |
getCurrent()
Gets the currently used Vaadin portlet. |
protected VaadinPortlet.RequestType |
getRequestType(VaadinPortletRequest vaadinRequest)
Deprecated. As of 7.0. This is no longer used and only provided for backwards compatibility. Each RequestHandler can
individually decide whether it wants to handle a request or
not. |
protected VaadinPortletService |
getService()
|
protected void |
handleRequest(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Deprecated. As of 7.0. Will likely change or be removed in a future version |
void |
init(javax.portlet.PortletConfig config)
|
protected void |
portletInitialized()
|
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
|
void |
processEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response)
|
void |
serveResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
|
| Methods inherited from class javax.portlet.GenericPortlet |
|---|
destroy, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Deprecated public static final java.lang.String RESOURCE_URL_ID
@Deprecated public static final java.lang.String PORTLET_PARAMETER_STYLE
@Deprecated public static final java.lang.String PORTAL_PARAMETER_VAADIN_THEME
@Deprecated public static final java.lang.String WRITE_AJAX_PAGE_SCRIPT_WIDGETSET_SHOULD_WRITE
| Constructor Detail |
|---|
public VaadinPortlet()
| Method Detail |
|---|
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
init in interface javax.portlet.Portletinit in class javax.portlet.GenericPortletjavax.portlet.PortletException
protected void portletInitialized()
throws javax.portlet.PortletException
javax.portlet.PortletExceptionprotected DeploymentConfiguration createDeploymentConfiguration(java.util.Properties initParameters)
protected VaadinPortletService createPortletService(DeploymentConfiguration deploymentConfiguration)
throws ServiceException
ServiceException@Deprecated protected VaadinPortlet.RequestType getRequestType(VaadinPortletRequest vaadinRequest)
RequestHandler can
individually decide whether it wants to handle a request or
not.
vaadinRequest -
@Deprecated
protected void handleRequest(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
throws javax.portlet.PortletException,
java.io.IOException
request - response -
javax.portlet.PortletException
java.io.IOExceptionprotected VaadinPortletRequest createVaadinRequest(javax.portlet.PortletRequest request)
request - The original PortletRequest
protected VaadinPortletService getService()
public void processEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response)
throws javax.portlet.PortletException,
java.io.IOException
processEvent in interface javax.portlet.EventPortletprocessEvent in class javax.portlet.GenericPortletjavax.portlet.PortletException
java.io.IOException
public void processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException,
java.io.IOException
processAction in interface javax.portlet.PortletprocessAction in class javax.portlet.GenericPortletjavax.portlet.PortletException
java.io.IOException
protected void doDispatch(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
doDispatch in class javax.portlet.GenericPortletjavax.portlet.PortletException
java.io.IOException
public void serveResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
throws javax.portlet.PortletException,
java.io.IOException
serveResource in interface javax.portlet.ResourceServingPortletserveResource in class javax.portlet.GenericPortletjavax.portlet.PortletException
java.io.IOExceptionpublic static VaadinPortlet getCurrent()
InheritableThreadLocal). In other cases,
(e.g. from background threads started in some other way), the current
portlet is not automatically defined.
The current portlet is derived from the current service using
VaadinService.getCurrent()
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||