1 9 package org.jboss.portal.core.model; 10 11 import java.util.Date ; 12 import java.util.Set ; 13 14 import org.jboss.portal.server.plugins.preferences.PreferenceStore; 15 16 23 public interface User 24 { 25 30 Integer getID(); 31 32 37 String getUserName(); 38 39 44 String getGivenName(); 45 46 void setGivenName(String givenName); 47 48 53 String getFamilyName(); 54 55 void setFamilyName(String familyName); 56 57 60 String getRealEmail(); 61 62 void setRealEmail(String realEmail); 63 64 String getFakeEmail(); 65 66 void setFakeEmail(String fakeEmail); 67 68 Date getRegistrationDate(); 69 70 void setRegistrationDate(Date registrationDate); 71 72 boolean getViewRealEmail(); 73 74 void setViewRealEmail(boolean viewRealEmail); 75 76 String getPassword(); 77 78 void setPassword(String password); 79 80 boolean getEnabled(); 81 82 void setEnabled(boolean enable); 83 84 87 Date getLastVisitDate(); 88 89 92 Set getRoles(); 93 94 97 void setRoles(Set roles); 98 99 102 Set getRoleNames(); 103 104 107 PropertyMap getProperties(); 108 109 112 PreferenceStore getPreferenceStore(); 113 114 117 String getSignature(); 118 } 119 | Popular Tags |