1 16 17 package org.apache.jetspeed.om.profile; 18 19 import org.apache.jetspeed.om.security.JetspeedUser; 20 import org.apache.jetspeed.om.security.Role; 21 import org.apache.jetspeed.om.security.Group; 22 23 import java.io.Serializable ; 24 33 34 public interface ProfileLocator extends Serializable , Cloneable 35 { 36 47 public void createFromPath(String path); 48 49 59 public String getId(); 60 61 73 public String getPath(); 74 75 80 String getName(); 81 82 87 void setName(String name); 88 89 95 public String getMediaType(); 96 97 103 public void setMediaType(String mediaType); 104 105 112 public String getLanguage(); 113 114 121 public void setLanguage(String language); 122 123 130 public String getCountry(); 131 132 139 public void setCountry(String country); 140 141 146 public JetspeedUser getUser(); 147 148 public String getUserName(); 149 150 155 public void setUser(JetspeedUser user); 156 157 162 public boolean getAnonymous(); 163 164 169 public void setAnonymous(boolean anonymous); 170 171 176 public Role getRole(); 177 178 public String getRoleName(); 179 180 181 186 public void setRole( Role role ); 187 188 public void setRoleByName(String roleName); 189 190 195 public Group getGroup(); 196 197 public String getGroupName(); 198 199 204 public void setGroup( Group group ); 205 206 public void setGroupByName( String groupName ); 207 208 212 public Object clone() throws java.lang.CloneNotSupportedException ; 213 214 } 215 | Popular Tags |