|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for loading and saving UserStore to the database.
Method Summary | |
void |
addUser(java.lang.String userId,
PropertyEntry[] properties)
Adds user to the database. |
void |
deleteUser(java.lang.String userId)
Deletes user from database. |
void |
editUser(java.lang.String userId,
PropertyEntry[] properties)
Saves changes to the database. |
void |
load(UserStore userstore,
java.lang.String password)
Initializes the UserStore. |
Method Detail |
public void load(UserStore userstore, java.lang.String password) throws BadPasswordException
userstore
- the UserStore to be initializedpassword
- the password to access to the database
BadPasswordException
- bad passwordpublic void addUser(java.lang.String userId, PropertyEntry[] properties) throws UserStoreException
userId
- user to be added to databaseproperties
- properties of the user
UserStoreException
- error when processingpublic void editUser(java.lang.String userId, PropertyEntry[] properties) throws UserStoreException
userId
- user to be added to databaseproperties
- properties of the user
UserStoreException
- error when processingpublic void deleteUser(java.lang.String userId) throws UserStoreException
userId
- the id string of the user.
UserStoreException
- error when processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |