|
||||||||||
| 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 | |
|---|---|
static class |
VaadinPortlet.AbstractApplicationPortletWrapper
|
static class |
VaadinPortlet.PortletService
|
class |
VaadinPortlet.RequestError
|
protected static class |
VaadinPortlet.RequestType
Deprecated. might be refactored or removed before 7.0.0 |
static class |
VaadinPortlet.WrappedGateinRequest
|
static class |
VaadinPortlet.WrappedHttpAndPortletRequest
|
static class |
VaadinPortlet.WrappedLiferayRequest
|
| Field Summary | |
|---|---|
static java.lang.String |
PORTAL_PARAMETER_VAADIN_THEME
Deprecated. might be refactored or removed before 7.0.0 |
static java.lang.String |
PORTLET_PARAMETER_STYLE
Deprecated. might be refactored or removed before 7.0.0 |
static java.lang.String |
RESOURCE_URL_ID
Deprecated. might be refactored or removed before 7.0.0 |
static java.lang.String |
WRITE_AJAX_PAGE_SCRIPT_WIDGETSET_SHOULD_WRITE
Deprecated. might be refactored or removed before 7.0.0 |
| Constructor Summary | |
|---|---|
VaadinPortlet()
|
|
| Method Summary | |
|---|---|
protected DeploymentConfiguration |
createDeploymentConfiguration(java.util.Properties initParameters)
|
protected VaadinPortlet.PortletService |
createPortletService(DeploymentConfiguration deploymentConfiguration)
|
protected WrappedPortletRequest |
createWrappedRequest(javax.portlet.PortletRequest request)
Wraps the request in a (possibly portal specific) wrapped portlet request. |
void |
destroy()
|
protected void |
doDispatch(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
|
protected VaadinPortlet.RequestType |
getRequestType(WrappedPortletRequest wrappedRequest)
Deprecated. might be refactored or removed before 7.0.0 |
protected VaadinPortlet.PortletService |
getVaadinService()
|
protected void |
handleRequest(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Deprecated. might be refactored or removed before 7.0.0 |
void |
init(javax.portlet.PortletConfig config)
|
protected void |
onVaadinSessionStarted(WrappedPortletRequest request,
VaadinPortletSession session)
|
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 |
|---|
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.PortletExceptionprotected DeploymentConfiguration createDeploymentConfiguration(java.util.Properties initParameters)
protected VaadinPortlet.PortletService createPortletService(DeploymentConfiguration deploymentConfiguration)
public void destroy()
destroy in interface javax.portlet.Portletdestroy in class javax.portlet.GenericPortlet@Deprecated protected VaadinPortlet.RequestType getRequestType(WrappedPortletRequest wrappedRequest)
wrappedRequest -
@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 WrappedPortletRequest createWrappedRequest(javax.portlet.PortletRequest request)
request - The original PortletRequest
protected VaadinPortlet.PortletService getVaadinService()
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.IOException
protected void onVaadinSessionStarted(WrappedPortletRequest request,
VaadinPortletSession session)
throws javax.portlet.PortletException
javax.portlet.PortletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||