001: /*
002: * (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
003: *
004: * This program is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU General Public License
006: * as published by the Free Software Foundation; either version 2
007: * of the License, or (at your option) any later version.
008: *
009: * This program is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012: * GNU General Public License for more details.
013: *
014: * You should have received a copy of the GNU General Public License
015: * along with this program; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
017: *
018: */
019:
020: //
021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
022: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
023: // Any modifications to this file will be lost upon recompilation of the source schema.
024: // Generated on: 2005.03.04 at 10:20:40 PST
025: //
026:
027: package com.nabhinc.portal.config;
028:
029: /**
030: * The portlet element contains the declarative data of a portlet.
031: * Used in: portlet-app
032: *
033: * Java content class for portletType complex type.
034: * <p>The following schema fragment specifies the expected content contained within this java content object. (defined at file:/C:/Sun/jwsdp-1.5/jaxb/lib/portlet-app_1_0.xsd line 219)
035: * <p>
036: * <pre>
037: * <complexType name="portletType">
038: * <complexContent>
039: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
040: * <sequence>
041: * <element name="description" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
042: * <element name="portlet-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-nameType"/>
043: * <element name="display-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
044: * <element name="portlet-class" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-classType"/>
045: * <element name="init-param" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}init-paramType" maxOccurs="unbounded" minOccurs="0"/>
046: * <element name="expiration-cache" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}expiration-cacheType" minOccurs="0"/>
047: * <element name="supports" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}supportsType" maxOccurs="unbounded"/>
048: * <element name="supported-locale" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}supported-localeType" maxOccurs="unbounded" minOccurs="0"/>
049: * <choice>
050: * <sequence>
051: * <element name="resource-bundle" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}resource-bundleType"/>
052: * <element name="portlet-info" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-infoType" minOccurs="0"/>
053: * </sequence>
054: * <element name="portlet-info" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-infoType"/>
055: * </choice>
056: * <element name="portlet-preferences" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-preferencesType" minOccurs="0"/>
057: * <element name="security-role-ref" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
058: * </sequence>
059: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
060: * </restriction>
061: * </complexContent>
062: * </complexType>
063: * </pre>
064: *
065: */
066: public interface PortletType {
067:
068: /**
069: * Gets the value of the DisplayName property.
070: *
071: * <p>
072: * This accessor method returns a reference to the live list,
073: * not a snapshot. Therefore any modification you make to the
074: * returned list will be present inside the JAXB object.
075: * This is why there is not a <CODE>set</CODE> method for the DisplayName property.
076: *
077: * <p>
078: * For example, to add a new item, do as follows:
079: * <pre>
080: * getDisplayName().add(newItem);
081: * </pre>
082: *
083: *
084: * <p>
085: * Objects of the following type(s) are allowed in the list
086: * {@link com.nabhinc.portal.config.DisplayNameType}
087: *
088: */
089: java.util.List getDisplayName();
090:
091: /**
092: * Gets the value of the SecurityRoleRef property.
093: *
094: * <p>
095: * This accessor method returns a reference to the live list,
096: * not a snapshot. Therefore any modification you make to the
097: * returned list will be present inside the JAXB object.
098: * This is why there is not a <CODE>set</CODE> method for the SecurityRoleRef property.
099: *
100: * <p>
101: * For example, to add a new item, do as follows:
102: * <pre>
103: * getSecurityRoleRef().add(newItem);
104: * </pre>
105: *
106: *
107: * <p>
108: * Objects of the following type(s) are allowed in the list
109: * {@link com.nabhinc.portal.config.SecurityRoleRefType}
110: *
111: */
112: java.util.List getSecurityRoleRef();
113:
114: /**
115: * Gets the value of the InitParam property.
116: *
117: * <p>
118: * This accessor method returns a reference to the live list,
119: * not a snapshot. Therefore any modification you make to the
120: * returned list will be present inside the JAXB object.
121: * This is why there is not a <CODE>set</CODE> method for the InitParam property.
122: *
123: * <p>
124: * For example, to add a new item, do as follows:
125: * <pre>
126: * getInitParam().add(newItem);
127: * </pre>
128: *
129: *
130: * <p>
131: * Objects of the following type(s) are allowed in the list
132: * {@link com.nabhinc.portal.config.InitParamType}
133: *
134: */
135: java.util.List getInitParam();
136:
137: /**
138: * Gets the value of the portletInfo property.
139: *
140: * @return
141: * possible object is
142: * {@link com.nabhinc.portal.config.PortletInfoType}
143: * {@link com.nabhinc.portal.config.PortletInfoType}
144: */
145: com.nabhinc.portal.config.PortletInfoType getPortletInfo();
146:
147: /**
148: * Sets the value of the portletInfo property.
149: *
150: * @param value
151: * allowed object is
152: * {@link com.nabhinc.portal.config.PortletInfoType}
153: * {@link com.nabhinc.portal.config.PortletInfoType}
154: */
155: void setPortletInfo(com.nabhinc.portal.config.PortletInfoType value);
156:
157: /**
158: * Gets the value of the portletClass property.
159: *
160: * @return
161: * possible object is
162: * {@link java.lang.String}
163: */
164: java.lang.String getPortletClass();
165:
166: /**
167: * Sets the value of the portletClass property.
168: *
169: * @param value
170: * allowed object is
171: * {@link java.lang.String}
172: */
173: void setPortletClass(java.lang.String value);
174:
175: /**
176: * Gets the value of the Supports property.
177: *
178: * <p>
179: * This accessor method returns a reference to the live list,
180: * not a snapshot. Therefore any modification you make to the
181: * returned list will be present inside the JAXB object.
182: * This is why there is not a <CODE>set</CODE> method for the Supports property.
183: *
184: * <p>
185: * For example, to add a new item, do as follows:
186: * <pre>
187: * getSupports().add(newItem);
188: * </pre>
189: *
190: *
191: * <p>
192: * Objects of the following type(s) are allowed in the list
193: * {@link com.nabhinc.portal.config.SupportsType}
194: *
195: */
196: java.util.List getSupports();
197:
198: /**
199: * Gets the value of the Description property.
200: *
201: * <p>
202: * This accessor method returns a reference to the live list,
203: * not a snapshot. Therefore any modification you make to the
204: * returned list will be present inside the JAXB object.
205: * This is why there is not a <CODE>set</CODE> method for the Description property.
206: *
207: * <p>
208: * For example, to add a new item, do as follows:
209: * <pre>
210: * getDescription().add(newItem);
211: * </pre>
212: *
213: *
214: * <p>
215: * Objects of the following type(s) are allowed in the list
216: * {@link com.nabhinc.portal.config.DescriptionType}
217: *
218: */
219: java.util.List getDescription();
220:
221: /**
222: * Gets the value of the expirationCache property.
223: *
224: * @return
225: * possible object is
226: * {@link com.nabhinc.portal.config.ExpirationCacheType}
227: */
228: com.nabhinc.portal.config.ExpirationCacheType getExpirationCache();
229:
230: /**
231: * Sets the value of the expirationCache property.
232: *
233: * @param value
234: * allowed object is
235: * {@link com.nabhinc.portal.config.ExpirationCacheType}
236: */
237: void setExpirationCache(
238: com.nabhinc.portal.config.ExpirationCacheType value);
239:
240: /**
241: * Gets the value of the portletName property.
242: *
243: * @return
244: * possible object is
245: * {@link com.nabhinc.portal.config.PortletNameType}
246: */
247: com.nabhinc.portal.config.PortletNameType getPortletName();
248:
249: /**
250: * Sets the value of the portletName property.
251: *
252: * @param value
253: * allowed object is
254: * {@link com.nabhinc.portal.config.PortletNameType}
255: */
256: void setPortletName(com.nabhinc.portal.config.PortletNameType value);
257:
258: /**
259: * Gets the value of the SupportedLocale property.
260: *
261: * <p>
262: * This accessor method returns a reference to the live list,
263: * not a snapshot. Therefore any modification you make to the
264: * returned list will be present inside the JAXB object.
265: * This is why there is not a <CODE>set</CODE> method for the SupportedLocale property.
266: *
267: * <p>
268: * For example, to add a new item, do as follows:
269: * <pre>
270: * getSupportedLocale().add(newItem);
271: * </pre>
272: *
273: *
274: * <p>
275: * Objects of the following type(s) are allowed in the list
276: * {@link com.nabhinc.portal.config.SupportedLocaleType}
277: *
278: */
279: java.util.List getSupportedLocale();
280:
281: /**
282: * Gets the value of the portletPreferences property.
283: *
284: * @return
285: * possible object is
286: * {@link com.nabhinc.portal.config.PortletPreferencesType}
287: */
288: com.nabhinc.portal.config.PortletPreferencesType getPortletPreferences();
289:
290: /**
291: * Sets the value of the portletPreferences property.
292: *
293: * @param value
294: * allowed object is
295: * {@link com.nabhinc.portal.config.PortletPreferencesType}
296: */
297: void setPortletPreferences(
298: com.nabhinc.portal.config.PortletPreferencesType value);
299:
300: /**
301: * Gets the value of the resourceBundle property.
302: *
303: * @return
304: * possible object is
305: * {@link com.nabhinc.portal.config.ResourceBundleType}
306: */
307: com.nabhinc.portal.config.ResourceBundleType getResourceBundle();
308:
309: /**
310: * Sets the value of the resourceBundle property.
311: *
312: * @param value
313: * allowed object is
314: * {@link com.nabhinc.portal.config.ResourceBundleType}
315: */
316: void setResourceBundle(
317: com.nabhinc.portal.config.ResourceBundleType value);
318:
319: /**
320: * Gets the value of the id property.
321: *
322: * @return
323: * possible object is
324: * {@link java.lang.String}
325: */
326: java.lang.String getId();
327:
328: /**
329: * Sets the value of the id property.
330: *
331: * @param value
332: * allowed object is
333: * {@link java.lang.String}
334: */
335: void setId(java.lang.String value);
336:
337: }
|