1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.pluto.services.information;
21
22 import javax.portlet.PortletMode;
23 import javax.portlet.WindowState;
24
25 /***
26 * Handle operations that the portlet may perform in an action method.
27 * This service is request based.
28 */
29 public interface PortletActionProvider {
30
31
32 /***
33 * Changes the portlet mode to be displayed next.
34 *
35 * @param mode the portlet mode defining in which mode the portlet should be shown next.
36 */
37 public void changePortletMode(PortletMode mode);
38
39 /***
40 * Changes the portlet window state to be displayed next.
41 *
42 * @param state the portlet window state in which the portlet should be shown next.
43 */
44 public void changePortletWindowState(WindowState state);
45
46 }