KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Created on 7 janv. 2004
6  */

7 package org.exoplatform.services.portletcontainer.pci;
8
9 import java.util.List JavaDoc;
10
11 /**
12  * @author Mestrallet Benjamin
13  * benjmestrallet@users.sourceforge.net
14  */

15 public class CustomModeWithDescription {
16   
17   private javax.portlet.PortletMode portletMode;
18   private List JavaDoc descriptions;
19   
20   public CustomModeWithDescription(javax.portlet.PortletMode portletMode,
21                                    List JavaDoc descriptions){
22     this.portletMode = portletMode;
23     this.descriptions = descriptions;
24   }
25   
26   /**
27    * @return a List of LocalisedDescription objects
28    */

29   public List JavaDoc getDescriptions() {
30     return descriptions;
31   }
32
33   public javax.portlet.PortletMode getPortletMode() {
34     return portletMode;
35   }
36   
37
38
39 }
40
Popular Tags