Interface UserService<U extends de.digitalcollections.model.api.security.User>
- Type Parameters:
U- domain object
- All Superinterfaces:
org.springframework.security.core.userdetails.UserDetailsService
- All Known Implementing Classes:
UserServiceImpl
public interface UserService<U extends de.digitalcollections.model.api.security.User>
extends org.springframework.security.core.userdetails.UserDetailsService
Service for User.
-
Method Summary
Modifier and Type Method Description Uactivate(java.util.UUID uuid)longcount()Ucreate()Ucreate(U user, java.lang.String password1, java.lang.String password2, org.springframework.validation.Errors results)UcreateAdminUser()Udeactivate(java.util.UUID uuid)booleandoesActiveAdminUserExist()de.digitalcollections.model.api.paging.PageResponse<U>find(de.digitalcollections.model.api.paging.PageRequest pageRequest)java.util.List<U>findAll()UfindByEmail(java.lang.String email)UfindOne(java.util.UUID uuid)Uupdate(U user, java.lang.String password1, java.lang.String password2, org.springframework.validation.Errors results)Methods inherited from interface org.springframework.security.core.userdetails.UserDetailsService
loadUserByUsername
-
Method Details
-
count
long count() -
activate
- Throws:
ServiceException
-
create
U create() -
create
U create(U user, java.lang.String password1, java.lang.String password2, org.springframework.validation.Errors results) throws ServiceException- Throws:
ServiceException
-
createAdminUser
U createAdminUser() -
deactivate
- Throws:
ServiceException
-
doesActiveAdminUserExist
- Throws:
ServiceException
-
find
de.digitalcollections.model.api.paging.PageResponse<U> find(de.digitalcollections.model.api.paging.PageRequest pageRequest) throws ServiceException- Throws:
ServiceException
-
findAll
- Throws:
ServiceException
-
findByEmail
- Throws:
ServiceException
-
findOne
- Throws:
ServiceException
-
update
U update(U user, java.lang.String password1, java.lang.String password2, org.springframework.validation.Errors results) throws ServiceException- Throws:
ServiceException
-