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.UserDetailsServiceService for User.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Uactivate(UUID uuid)longcount()Ucreate()Ucreate(U user, String password1, String password2, org.springframework.validation.Errors results)UcreateAdminUser()Udeactivate(UUID uuid)booleandoesActiveAdminUserExist()de.digitalcollections.model.api.paging.PageResponse<U>find(de.digitalcollections.model.api.paging.PageRequest pageRequest)List<U>findAll()UfindByEmail(String email)UfindOne(UUID uuid)Uupdate(U user, String password1, String password2, org.springframework.validation.Errors results)
-
-
-
Method Detail
-
count
long count()
-
activate
U activate(UUID uuid) throws ServiceException
- Throws:
ServiceException
-
create
U create()
-
create
U create(U user, String password1, String password2, org.springframework.validation.Errors results) throws ServiceException
- Throws:
ServiceException
-
createAdminUser
U createAdminUser()
-
deactivate
U deactivate(UUID uuid) throws ServiceException
- Throws:
ServiceException
-
doesActiveAdminUserExist
boolean doesActiveAdminUserExist() throws ServiceException- Throws:
ServiceException
-
find
de.digitalcollections.model.api.paging.PageResponse<U> find(de.digitalcollections.model.api.paging.PageRequest pageRequest) throws ServiceException
- Throws:
ServiceException
-
findAll
List<U> findAll() throws ServiceException
- Throws:
ServiceException
-
findByEmail
U findByEmail(String email) throws ServiceException
- Throws:
ServiceException
-
findOne
U findOne(UUID uuid) throws ServiceException
- Throws:
ServiceException
-
update
U update(U user, String password1, String password2, org.springframework.validation.Errors results) throws ServiceException
- Throws:
ServiceException
-
-