KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portal > impl > NewPortalConfig


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.portal.impl;
6
7 import java.util.* ;
8 /**
9  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
10  * @since Oct 27, 2004
11  * @version $Id: NewPortalConfig.java,v 1.1 2004/10/28 15:39:41 tuan08 Exp $
12  */

13 public class NewPortalConfig {
14   private HashSet predefinedUser = new HashSet(5);
15   private String JavaDoc templateUser ;
16   private String JavaDoc templateLocation ;
17   
18   public HashSet getPredefinedUser() { return predefinedUser; }
19   public void setPredefinedUser(HashSet s) { this.predefinedUser = s; }
20   
21   public String JavaDoc getTemplateLocation() { return templateLocation; }
22   public void setTemplateLocation(String JavaDoc s) { this.templateLocation = s; }
23   
24   public String JavaDoc getTemplateUser() { return templateUser;}
25   public void setTemplateUser(String JavaDoc s) { this.templateUser = s; }
26   
27   public boolean isPredefinedUser(String JavaDoc user) { return predefinedUser.contains(user) ; }
28 }
Popular Tags