1 41 42 package org.jahia.services.usermanager; 43 44 45 import java.io.Serializable ; 46 import java.security.Principal ; 47 import java.util.Properties ; 48 import java.util.Vector ; 49 50 51 62 public interface JahiaUser extends Principal , Serializable { 63 64 70 public String getName (); 71 72 77 public String getUsername (); 78 79 84 public String getUserKey (); 85 86 91 public int getSiteID (); 92 93 98 public void setSiteID (int siteID); 99 100 106 public abstract int getHomepageID (); 107 108 115 public abstract boolean setHomepageID (int id); 116 117 126 public int hashCode (); 127 128 129 137 public Properties getProperties (); 138 139 147 public UserProperties getUserProperties(); 148 149 157 public String getProperty (String key); 158 159 165 public UserProperty getUserProperty(String key); 166 167 173 public boolean removeProperty (String key); 174 175 176 184 public boolean setProperty (String key, String value); 185 186 187 192 public abstract String toString (); 193 194 195 204 public boolean equals (Object another); 205 206 207 211 public boolean isPasswordReadOnly(); 212 213 221 public boolean setPassword (String password); 222 223 224 232 public boolean isMemberOfGroup (int siteID, String name); 233 234 235 241 public boolean isAdminMember (int siteID); 242 243 249 public boolean isRoot (); 250 251 260 public boolean verifyPassword (String password); 261 262 270 public Vector getLanguageCodes (); 271 272 281 public void setLanguageCodes (Vector userLanguages); 282 283 290 public boolean isMixLanguagesActive (); 291 292 298 public void setMixLanguagesActive (boolean mixLanguagesActive); 299 300 309 public boolean isUserLanguagesOnlyActive (); 310 311 319 public void setUserLanguagesOnlyActive (boolean userLanguagesOnlyActive); 320 321 326 public String getProviderName (); 327 328 329 } 330 | Popular Tags |