|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.server.VaadinSession
com.vaadin.server.VaadinPortletSession
@Deprecated public class VaadinPortletSession
TODO Write documentation, fix JavaDoc tags.
This is automatically registered as a HttpSessionBindingListener
when
PortletSession#setAttribute()
is called with the context as value.
Nested Class Summary | |
---|---|
static interface |
VaadinPortletSession.PortletListener
Deprecated. |
Nested classes/interfaces inherited from class com.vaadin.server.VaadinSession |
---|
VaadinSession.FutureAccess, VaadinSession.State |
Field Summary |
---|
Fields inherited from class com.vaadin.server.VaadinSession |
---|
browser, UI_PARAMETER |
Constructor Summary | |
---|---|
VaadinPortletSession(VaadinPortletService service)
Deprecated. Create a portlet service session for the given portlet service |
Method Summary | |
---|---|
void |
addPortletListener(VaadinPortletSession.PortletListener listener)
Deprecated. |
void |
firePortletActionRequest(UI uI,
javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
Deprecated. |
void |
firePortletEventRequest(UI uI,
javax.portlet.EventRequest request,
javax.portlet.EventResponse response)
Deprecated. |
void |
firePortletRenderRequest(UI uI,
javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Deprecated. |
void |
firePortletResourceRequest(UI uI,
javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
Deprecated. |
javax.portlet.PortletURL |
generateActionURL(java.lang.String action)
Deprecated. Creates a new action URL. |
javax.portlet.PortletConfig |
getPortletConfig()
Deprecated. |
javax.portlet.PortletSession |
getPortletSession()
Deprecated. |
void |
removePortletListener(VaadinPortletSession.PortletListener listener)
Deprecated. |
void |
sendPortletEvent(UI uI,
javax.xml.namespace.QName name,
java.io.Serializable value)
Deprecated. Sends a portlet event to the indicated destination. |
void |
setPortletMode(UI uI,
javax.portlet.PortletMode portletMode)
Deprecated. Sets the portlet mode. |
void |
setSharedRenderParameter(UI uI,
java.lang.String name,
java.lang.String value)
Deprecated. Sets a shared portlet parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VaadinPortletSession(VaadinPortletService service)
service
- the portlet service to which the new session belongsMethod Detail |
---|
public javax.portlet.PortletSession getPortletSession()
public javax.portlet.PortletConfig getPortletConfig()
public void addPortletListener(VaadinPortletSession.PortletListener listener)
public void removePortletListener(VaadinPortletSession.PortletListener listener)
public void firePortletRenderRequest(UI uI, javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
public void firePortletActionRequest(UI uI, javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
public void firePortletEventRequest(UI uI, javax.portlet.EventRequest request, javax.portlet.EventResponse response)
public void firePortletResourceRequest(UI uI, javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response)
public javax.portlet.PortletURL generateActionURL(java.lang.String action)
action
-
public void sendPortletEvent(UI uI, javax.xml.namespace.QName name, java.io.Serializable value) throws java.lang.IllegalStateException
uI
- a window in which a temporary action URL can be opened if
necessaryname
- event namevalue
- event value object that is Serializable and, if appropriate,
has a valid JAXB annotation
java.lang.IllegalStateException
public void setSharedRenderParameter(UI uI, java.lang.String name, java.lang.String value) throws java.lang.IllegalStateException
uI
- a window in which a temporary action URL can be opened if
necessaryname
- parameter identifiervalue
- parameter value
java.lang.IllegalStateException
public void setPortletMode(UI uI, javax.portlet.PortletMode portletMode) throws java.lang.IllegalStateException, javax.portlet.PortletModeException
uI
- a window in which the render URL can be opened if necessaryportletMode
- the portlet mode to switch to
javax.portlet.PortletModeException
- if the portlet mode is not allowed for some reason
(configuration, permissions etc.)
java.lang.IllegalStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |