KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portletcontainer > pci > Input


1 /**
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  **/

5
6 /**
7  * Created by The eXo Platform SARL
8  * Author : Mestrallet Benjamin
9  * benjmestrallet@users.sourceforge.net
10  * Date: Jul 27, 2003
11  * Time: 9:17:39 PM
12  */

13 package org.exoplatform.services.portletcontainer.pci;
14
15
16 import java.util.List JavaDoc;
17
18 import javax.portlet.PortletMode;
19 import javax.portlet.WindowState;
20 import org.exoplatform.services.portletcontainer.persistence.PortletPreferencesPersister;
21
22 import java.util.Collection JavaDoc;
23 import java.util.Map JavaDoc;
24
25 /**
26  * This objects must be created by the Portal that access this
27  * portlet container.
28  * <p/>
29  * The windowID is a unique id that references a portlet window
30  * in the user scope.
31  */

32 public class Input {
33
34   private PortletURLFactory portletURLFactory;
35   private PortletMode portletMode;
36   private WindowState windowState;
37   private String JavaDoc markup;
38   private String JavaDoc baseURL;
39   private Map JavaDoc userAttributes;
40   private boolean stateSaveOnClient;
41   private byte[] portletState;
42   private WindowID windowID;
43   private PortletPreferencesPersister portletPreferencesPersister;
44   private List JavaDoc locales;
45
46   public boolean isStateSaveOnClient() {
47     return stateSaveOnClient;
48   }
49
50   public void setStateSaveOnClient(boolean stateSaveOnClient) {
51     this.stateSaveOnClient = stateSaveOnClient;
52   }
53
54   public PortletURLFactory getPortletURLFactory() {
55     return portletURLFactory;
56   }
57
58   public void setPortletURLFactory(PortletURLFactory portletURLFactory) {
59     this.portletURLFactory = portletURLFactory;
60   }
61
62   public WindowID getWindowID() {
63     return windowID;
64   }
65
66   public void setWindowID(WindowID windowID) {
67     this.windowID = windowID;
68   }
69
70   public PortletMode getPortletMode() {
71     return portletMode;
72   }
73
74   public void setPortletMode(PortletMode portletMode) {
75     this.portletMode = portletMode;
76   }
77
78   public WindowState getWindowState() {
79     return windowState;
80   }
81
82   public void setWindowState(WindowState windowState) {
83     this.windowState = windowState;
84   }
85
86   public String JavaDoc getMarkup() {
87     return markup;
88   }
89
90   public void setMarkup(String JavaDoc markup) {
91     this.markup = markup;
92   }
93
94   public String JavaDoc getBaseURL() {
95     return baseURL;
96   }
97
98   public void setBaseURL(String JavaDoc baseURL) {
99     this.baseURL = baseURL;
100   }
101
102   public Map JavaDoc getUserAttributes() {
103     return userAttributes;
104   }
105
106   public void setUserAttributes(Map JavaDoc userAttributes) {
107     this.userAttributes = userAttributes;
108   }
109
110   public byte[] getPortletState() {
111     return portletState;
112   }
113
114   public void setPortletState(byte[] portletState) {
115     this.portletState = portletState;
116   }
117
118
119   public PortletPreferencesPersister getPortletPreferencesPersister() {
120     return portletPreferencesPersister;
121   }
122
123   public void setPortletPreferencesPersister(PortletPreferencesPersister portletPreferencesPersister) {
124     this.portletPreferencesPersister = portletPreferencesPersister;
125   }
126   
127   
128   public List JavaDoc getLocales() {
129     return locales;
130   }
131   public void setLocales(List JavaDoc locales) {
132     this.locales = locales;
133   }
134 }
135
Popular Tags