Interface UserService<U extends de.digitalcollections.model.security.User>
-
- Type Parameters:
U- domain object
- All Known Implementing Classes:
UserServiceImpl
public interface UserService<U extends de.digitalcollections.model.security.User>Service for User.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcount()Ucreate()Ucreate(U user, String password1, String password2, org.springframework.validation.Errors results)UcreateAdminUser()booleandoesActiveAdminUserExist()de.digitalcollections.model.list.paging.PageResponse<U>find(de.digitalcollections.model.list.paging.PageRequest pageRequest)List<U>findAll()UgetByEmail(String email)UgetByUuid(UUID uuid)booleansetStatus(UUID uuid, boolean enabled)Uupdate(U user, String password1, String password2, org.springframework.validation.Errors results)
-
-
-
Method Detail
-
count
long count() throws ServiceException- Throws:
ServiceException
-
create
U create() throws ServiceException
- Throws:
ServiceException
-
create
U create(U user, String password1, String password2, org.springframework.validation.Errors results) throws ServiceException
- Throws:
ServiceException
-
createAdminUser
U createAdminUser() throws ServiceException
- Throws:
ServiceException
-
doesActiveAdminUserExist
boolean doesActiveAdminUserExist() throws ServiceException- Throws:
ServiceException
-
find
de.digitalcollections.model.list.paging.PageResponse<U> find(de.digitalcollections.model.list.paging.PageRequest pageRequest) throws ServiceException
- Throws:
ServiceException
-
findAll
List<U> findAll() throws ServiceException
- Throws:
ServiceException
-
getByEmail
U getByEmail(String email) throws ServiceException
- Throws:
ServiceException
-
getByUuid
U getByUuid(UUID uuid) throws ServiceException
- Throws:
ServiceException
-
setStatus
boolean setStatus(UUID uuid, boolean enabled)
-
update
U update(U user, String password1, String password2, org.springframework.validation.Errors results) throws ServiceException
- Throws:
ServiceException
-
-