001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.wsrp.core;
023:
024: import java.io.Serializable;
025:
026: /**
027: * [R] Handle portletHandle [R] MarkupType markupTypes[] [O] ID groupID [O] LocalizedString description [O]
028: * LocalizedString shortTitle [O] LocalizedString title [O] LocalizedString displayName [O] LocalizedString keywords[]
029: * [O] string userCategories[] [O] string userProfileItems[] [O] boolean usesMethodGet [O] boolean defaultMarkupSecure
030: * [O] boolean onlySecure [O] boolean userContextStoredInSession [O] boolean templatesStoredInSession [O]
031: * boolean hasUserSpecificState [O] boolean doesUrlTemplateProcessing [O] Extension extensions
032: */
033: public class PortletDescription implements Serializable {
034: protected java.lang.String portletHandle;
035: protected org.jboss.portal.wsrp.core.MarkupType[] markupTypes;
036: protected java.lang.String groupID;
037: protected org.jboss.portal.wsrp.core.LocalizedString description;
038: protected org.jboss.portal.wsrp.core.LocalizedString shortTitle;
039: protected org.jboss.portal.wsrp.core.LocalizedString title;
040: protected org.jboss.portal.wsrp.core.LocalizedString displayName;
041: protected org.jboss.portal.wsrp.core.LocalizedString[] keywords;
042: protected java.lang.String[] userCategories;
043: protected java.lang.String[] userProfileItems;
044: protected java.lang.Boolean usesMethodGet;
045: protected java.lang.Boolean defaultMarkupSecure;
046: protected java.lang.Boolean onlySecure;
047: protected java.lang.Boolean userContextStoredInSession;
048: protected java.lang.Boolean templatesStoredInSession;
049: protected java.lang.Boolean hasUserSpecificState;
050: protected java.lang.Boolean doesUrlTemplateProcessing;
051: protected org.jboss.portal.wsrp.core.Extension[] extensions;
052:
053: public PortletDescription() {
054: }
055:
056: public PortletDescription(java.lang.String portletHandle,
057: org.jboss.portal.wsrp.core.MarkupType[] markupTypes,
058: java.lang.String groupID,
059: org.jboss.portal.wsrp.core.LocalizedString description,
060: org.jboss.portal.wsrp.core.LocalizedString shortTitle,
061: org.jboss.portal.wsrp.core.LocalizedString title,
062: org.jboss.portal.wsrp.core.LocalizedString displayName,
063: org.jboss.portal.wsrp.core.LocalizedString[] keywords,
064: java.lang.String[] userCategories,
065: java.lang.String[] userProfileItems,
066: java.lang.Boolean usesMethodGet,
067: java.lang.Boolean defaultMarkupSecure,
068: java.lang.Boolean onlySecure,
069: java.lang.Boolean userContextStoredInSession,
070: java.lang.Boolean templatesStoredInSession,
071: java.lang.Boolean hasUserSpecificState,
072: java.lang.Boolean doesUrlTemplateProcessing,
073: org.jboss.portal.wsrp.core.Extension[] extensions) {
074: this .portletHandle = portletHandle;
075: this .markupTypes = markupTypes;
076: this .groupID = groupID;
077: this .description = description;
078: this .shortTitle = shortTitle;
079: this .title = title;
080: this .displayName = displayName;
081: this .keywords = keywords;
082: this .userCategories = userCategories;
083: this .userProfileItems = userProfileItems;
084: this .usesMethodGet = usesMethodGet;
085: this .defaultMarkupSecure = defaultMarkupSecure;
086: this .onlySecure = onlySecure;
087: this .userContextStoredInSession = userContextStoredInSession;
088: this .templatesStoredInSession = templatesStoredInSession;
089: this .hasUserSpecificState = hasUserSpecificState;
090: this .doesUrlTemplateProcessing = doesUrlTemplateProcessing;
091: this .extensions = extensions;
092: }
093:
094: public java.lang.String getPortletHandle() {
095: return portletHandle;
096: }
097:
098: public void setPortletHandle(java.lang.String portletHandle) {
099: this .portletHandle = portletHandle;
100: }
101:
102: public org.jboss.portal.wsrp.core.MarkupType[] getMarkupTypes() {
103: return markupTypes;
104: }
105:
106: public void setMarkupTypes(
107: org.jboss.portal.wsrp.core.MarkupType[] markupTypes) {
108: this .markupTypes = markupTypes;
109: }
110:
111: public java.lang.String getGroupID() {
112: return groupID;
113: }
114:
115: public void setGroupID(java.lang.String groupID) {
116: this .groupID = groupID;
117: }
118:
119: public org.jboss.portal.wsrp.core.LocalizedString getDescription() {
120: return description;
121: }
122:
123: public void setDescription(
124: org.jboss.portal.wsrp.core.LocalizedString description) {
125: this .description = description;
126: }
127:
128: public org.jboss.portal.wsrp.core.LocalizedString getShortTitle() {
129: return shortTitle;
130: }
131:
132: public void setShortTitle(
133: org.jboss.portal.wsrp.core.LocalizedString shortTitle) {
134: this .shortTitle = shortTitle;
135: }
136:
137: public org.jboss.portal.wsrp.core.LocalizedString getTitle() {
138: return title;
139: }
140:
141: public void setTitle(
142: org.jboss.portal.wsrp.core.LocalizedString title) {
143: this .title = title;
144: }
145:
146: public org.jboss.portal.wsrp.core.LocalizedString getDisplayName() {
147: return displayName;
148: }
149:
150: public void setDisplayName(
151: org.jboss.portal.wsrp.core.LocalizedString displayName) {
152: this .displayName = displayName;
153: }
154:
155: public org.jboss.portal.wsrp.core.LocalizedString[] getKeywords() {
156: return keywords;
157: }
158:
159: public void setKeywords(
160: org.jboss.portal.wsrp.core.LocalizedString[] keywords) {
161: this .keywords = keywords;
162: }
163:
164: public java.lang.String[] getUserCategories() {
165: return userCategories;
166: }
167:
168: public void setUserCategories(java.lang.String[] userCategories) {
169: this .userCategories = userCategories;
170: }
171:
172: public java.lang.String[] getUserProfileItems() {
173: return userProfileItems;
174: }
175:
176: public void setUserProfileItems(java.lang.String[] userProfileItems) {
177: this .userProfileItems = userProfileItems;
178: }
179:
180: public java.lang.Boolean getUsesMethodGet() {
181: return usesMethodGet;
182: }
183:
184: public void setUsesMethodGet(java.lang.Boolean usesMethodGet) {
185: this .usesMethodGet = usesMethodGet;
186: }
187:
188: public java.lang.Boolean getDefaultMarkupSecure() {
189: return defaultMarkupSecure;
190: }
191:
192: public void setDefaultMarkupSecure(
193: java.lang.Boolean defaultMarkupSecure) {
194: this .defaultMarkupSecure = defaultMarkupSecure;
195: }
196:
197: public java.lang.Boolean getOnlySecure() {
198: return onlySecure;
199: }
200:
201: public void setOnlySecure(java.lang.Boolean onlySecure) {
202: this .onlySecure = onlySecure;
203: }
204:
205: public java.lang.Boolean getUserContextStoredInSession() {
206: return userContextStoredInSession;
207: }
208:
209: public void setUserContextStoredInSession(
210: java.lang.Boolean userContextStoredInSession) {
211: this .userContextStoredInSession = userContextStoredInSession;
212: }
213:
214: public java.lang.Boolean getTemplatesStoredInSession() {
215: return templatesStoredInSession;
216: }
217:
218: public void setTemplatesStoredInSession(
219: java.lang.Boolean templatesStoredInSession) {
220: this .templatesStoredInSession = templatesStoredInSession;
221: }
222:
223: public java.lang.Boolean getHasUserSpecificState() {
224: return hasUserSpecificState;
225: }
226:
227: public void setHasUserSpecificState(
228: java.lang.Boolean hasUserSpecificState) {
229: this .hasUserSpecificState = hasUserSpecificState;
230: }
231:
232: public java.lang.Boolean getDoesUrlTemplateProcessing() {
233: return doesUrlTemplateProcessing;
234: }
235:
236: public void setDoesUrlTemplateProcessing(
237: java.lang.Boolean doesUrlTemplateProcessing) {
238: this .doesUrlTemplateProcessing = doesUrlTemplateProcessing;
239: }
240:
241: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
242: return extensions;
243: }
244:
245: public void setExtensions(
246: org.jboss.portal.wsrp.core.Extension[] extensions) {
247: this.extensions = extensions;
248: }
249: }
|