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 TypeMethodDescriptionvoid
deleteUser
(String username) void
storeUser
(SimpleUser user) void
updatePassword
(long id, String newPassword) void
updatePassword
(String username, String newPassword) boolean
userExists
(Long id) boolean
userExists
(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:
storeUser
in interfaceUserStore
- Throws:
UserManagementException
eu.rarogsoftware.commons.database.connection.DatabaseConnectionException
-
overrideUserByUsername
- Specified by:
overrideUserByUsername
in interfaceUserStore
- Throws:
UserManagementException
-
updatePassword
- Specified by:
updatePassword
in interfaceUserStore
- Throws:
UserManagementException
-
updatePassword
- Specified by:
updatePassword
in interfaceUserStore
- Throws:
UserManagementException
-
getUser
- Specified by:
getUser
in interfaceUserStore
- Throws:
UserManagementException
-
getUser
- Specified by:
getUser
in interfaceUserStore
- Throws:
UserManagementException
-
deleteUser
- Specified by:
deleteUser
in interfaceUserStore
- Throws:
UserManagementException
-
userExists
- Specified by:
userExists
in interfaceUserStore
-
userExists
- Specified by:
userExists
in interfaceUserStore
-