public interface Setup
Modifier and Type | Method and Description |
---|---|
void |
deleteAllUsers()
Deletes all users.
|
void |
deleteUser(UserAccountInfo user)
Deletes a user.
|
List<UserAccountInfo> |
getUsers()
Gets a list of users.
|
void |
saveUser(UserAccountInfo user)
Saves a user.
|
void |
saveUsers(List<UserAccountInfo> users)
Saves a list of Users
|
void |
updateUser(UserAccountInfo user)
Updates a user
|
void saveUsers(List<UserAccountInfo> users)
users
- a list of usersfile
- the file for persistenceList<UserAccountInfo> getUsers()
file
- the file for persistencevoid deleteUser(UserAccountInfo user)
user
- the user to deletefile
- the file for persistencevoid updateUser(UserAccountInfo user)
user
- the user to updatefile
- the file for persistencevoid deleteAllUsers()
file
- the file for persistencevoid saveUser(UserAccountInfo user)
user
- the user to savefile
- the file for persistenceCopyright © 2018 universAAL Consortium. All rights reserved.