Class DbUserStore
java.lang.Object
eu.rarogsoftware.rarog.platform.core.user.management.DbUserStore
- All Implemented Interfaces:
UserStore
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDbUserStore(eu.rarogsoftware.commons.database.connection.DatabaseConnectionProvider databaseConnectionProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteUser(String username) voidstoreUser(SimpleUser user) voidupdatePassword(long id, String newPassword) voidupdatePassword(String username, String newPassword) booleanuserExists(Long id) booleanuserExists(String username)
-
Constructor Details
-
DbUserStore
public DbUserStore(eu.rarogsoftware.commons.database.connection.DatabaseConnectionProvider databaseConnectionProvider)
-
-
Method Details
-
storeUser
public Long storeUser(SimpleUser user) throws UserManagementException, eu.rarogsoftware.commons.database.connection.DatabaseConnectionException - Specified by:
storeUserin interfaceUserStore- Throws:
UserManagementExceptioneu.rarogsoftware.commons.database.connection.DatabaseConnectionException
-
overrideUserByUsername
- Specified by:
overrideUserByUsernamein interfaceUserStore- Throws:
UserManagementException
-
updatePassword
- Specified by:
updatePasswordin interfaceUserStore- Throws:
UserManagementException
-
updatePassword
- Specified by:
updatePasswordin interfaceUserStore- Throws:
UserManagementException
-
getUser
- Specified by:
getUserin interfaceUserStore- Throws:
UserManagementException
-
getUser
- Specified by:
getUserin interfaceUserStore- Throws:
UserManagementException
-
deleteUser
- Specified by:
deleteUserin interfaceUserStore- Throws:
UserManagementException
-
userExists
- Specified by:
userExistsin interfaceUserStore
-
userExists
- Specified by:
userExistsin interfaceUserStore
-