|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDataServiceInterface
This is the interface specification for all the User Data Services.
Method Summary | |
---|---|
boolean |
addUser(User user)
Add a new User in the data repository. |
boolean |
checkUserExists(java.lang.String username,
java.lang.String password)
Check if User exists in the data repository. |
User |
getUserById(java.lang.String id)
Find User by ID and Group in the data repository. |
User |
getUserByUsername(java.lang.String username,
java.lang.String password)
Find User by Username and Password in the data repository. |
boolean |
isStartupOk()
Return if startup without errors or exceptions. |
boolean |
updateUser(User user)
Update a User in the data repository. |
Method Detail |
---|
boolean isStartupOk()
boolean addUser(User user) throws DataRepositoryException
user
- User to add.
DataRepositoryException
- Thrown if exception from repository.boolean updateUser(User user) throws DataRepositoryException
user
- User to update.
DataRepositoryException
- Thrown if exception from repository.User getUserById(java.lang.String id) throws DataRepositoryException
id
- User ID to search for.
DataRepositoryException
- Thrown if exception from repository.User getUserByUsername(java.lang.String username, java.lang.String password) throws DataRepositoryException
username
- User Name to search for.password
- User Password to search for.
DataRepositoryException
- Thrown if exception from repository.boolean checkUserExists(java.lang.String username, java.lang.String password) throws DataRepositoryException
username
- User Name to search for.password
- User Password to search for.
DataRepositoryException
- Thrown if exception from repository.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |