1 5 6 package org.exoplatform.services.cms.impl; 7 8 import java.util.ArrayList ; 9 import java.util.List ; 10 11 15 public class NewUserConfig { 16 private String contentLocation ; 17 private String defaultLocale ; 18 private String workspace; 19 private String template; 20 private String jcrPath; 21 private String createHome; 22 private List definedLocales = new ArrayList (5); 23 private List users = new ArrayList (5); 24 25 public String getContentLocation() { return contentLocation; } 26 public void setContentLocation(String s) { this.contentLocation = s; } 27 28 public String getDefaultLocale() { return defaultLocale; } 29 public void setDefaultLocale(String s) { this.defaultLocale = s; } 30 31 public String getWorkspace() { return workspace; } 32 public void setWorkspace(String s) { this.workspace = s; } 33 34 public String getJcrPath() { return jcrPath; } 35 public void setJcrPath(String s) { this.jcrPath = s; } 36 37 public String getCreateHome() { return createHome; } 38 public void setCreateHome(String s) { this.createHome = s; } 39 public boolean isCreateHome(){ 40 if("true".equals(this.createHome)) 41 return true; 42 else 43 return false; 44 } 45 46 public String getTemplate() { return template; } 47 public void setTemplate(String template) { this.template = template; } 48 49 public List getDefinedLocales() { return definedLocales; } 50 public void setDefinedLocales(List s) { this.definedLocales = s; } 51 52 public List getUsers() { return users; } 53 public void setUsers(List s) { this.users = s; } 54 55 static public class User { 56 private String userName ; 57 private List referencedFiles ; 58 59 public User() { 60 referencedFiles = new ArrayList (5) ; 61 } 62 63 public String getUserName() { return userName; } 64 public void setUserName(String userName) { this.userName = userName; } 65 66 public List getReferencedFiles() { return referencedFiles; } 67 public void setReferencedFiles(List referencedFiles) { this.referencedFiles = referencedFiles; } 68 } 69 } 70 | Popular Tags |