1 64 65 package com.jcorporate.expresso.core.security; 66 67 import com.jcorporate.expresso.core.db.DBException; 68 import com.jcorporate.expresso.core.dbobj.LookupInterface; 69 70 import java.util.Vector ; 71 72 73 79 public interface UserInfo extends LookupInterface { 80 85 public void add() throws DBException; 86 87 92 public void delete() throws DBException; 93 94 100 public boolean find() throws DBException; 101 102 108 public String getAccountStatus() throws DBException; 109 110 116 public Vector getAllUsers() throws DBException; 117 118 124 public String getCreateDate() throws DBException; 125 126 132 public String getEmail() throws DBException; 133 134 140 public String getEmailAuthCode() throws DBException; 141 142 148 public String getEmailValCode() throws DBException; 149 150 158 public String getField(String fieldName) throws DBException; 159 160 166 public Vector getGroups() throws DBException; 167 168 174 public String getLoginName() throws DBException; 175 176 182 public String getPassword() throws DBException; 183 184 191 public boolean getRegComplete() throws DBException; 192 193 200 public String getRegistrationDomain() throws DBException; 201 202 208 public int getUid() throws DBException; 209 210 216 public String getUpdateDate() throws DBException; 217 218 224 public String getUserName() throws DBException; 225 226 236 public boolean passwordEquals(String testPassword) throws DBException; 237 238 243 public void retrieve() throws DBException; 244 245 248 public void sendAuthEmail() throws DBException; 249 250 253 public void sendFollowUpEmail() throws DBException; 254 255 261 public void setAccountStatus(String accountStatus) throws DBException; 262 263 269 public void setDBName(String newDBName) throws DBException; 270 271 276 public String getDBName(); 277 278 281 public String getDataContext(); 282 283 289 public void setEmail(String email) throws DBException; 290 291 292 298 public void setEmailValCode(String code) throws DBException; 299 300 301 307 public void setLoginName(String loginName) throws DBException; 308 309 315 public void setPassword(String password) throws DBException; 316 317 323 public void setRegComplete(boolean status) throws DBException; 324 325 332 public void setRegistrationDomain(String id) throws DBException; 333 334 340 public void setUid(int uid) throws DBException; 341 342 348 public void setUserName(String name) throws DBException; 349 350 355 public void update() throws DBException; 356 357 363 public String getPrimaryGroup() throws DBException; 364 365 370 public String hashEncodePassword(String password) throws DBException; 371 } 372 | Popular Tags |