KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portletcontainer > pci > model > PortletApp


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 package org.exoplatform.services.portletcontainer.pci.model;
6
7 import java.util.*;
8
9 /**
10  * Jul 11, 2004
11  * @author: Tuan Nguyen
12  * @email: tuan08@users.sourceforge.net
13  * @version: $Id: PortletApp.java,v 1.1 2004/07/13 02:31:13 tuan08 Exp $
14  */

15 public class PortletApp {
16     private List portlet ;
17   private String JavaDoc version ;
18   private List customWindowState ;
19   private List customPortletMode ;
20   private List securityConstraint ;
21   private List userAttribute ;
22   private String JavaDoc id ;
23   
24   public PortletApp() {
25     portlet = new ArrayList() ;
26     customWindowState = new ArrayList() ;
27     customPortletMode = new ArrayList() ;
28     securityConstraint = new ArrayList() ;
29     userAttribute = new ArrayList() ;
30   }
31   
32   public List getPortlet() { return this.portlet ; }
33   public void addPortlet(Portlet p) { this.portlet.add(p) ; }
34   
35   public String JavaDoc getVersion() { return this.version ; }
36   public void setVersion(String JavaDoc value) { this.version = value ; }
37
38
39   public List getCustomWindowState() { return this.customWindowState ; }
40   public void addCustomWindowState(CustomWindowState value) {
41     this.customWindowState.add(value) ;
42   }
43
44   public List getCustomPortletMode() { return this.customPortletMode ;}
45   public void addCustomPortletMode(CustomPortletMode mode) {
46     this.customPortletMode.add(mode) ;
47   }
48
49   public List getSecurityConstraint() { return this.securityConstraint ; }
50   public void addSecurityConstraint(SecurityConstraint sc) {
51     this.securityConstraint.add(sc) ;
52   }
53   
54   public List getUserAttribute() { return userAttribute ; }
55   public void addUserAttribute(UserAttribute att) {
56     this.userAttribute.add(att) ;
57   }
58
59   public String JavaDoc getId() { return this.id ; }
60
61   public void setId(String JavaDoc value) { this.id = value ; }
62 }
Popular Tags