public interface UserService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
changePassword(String userId,
String oldPassword,
String newPassword) |
boolean |
changeState(String userId,
byte state) |
long |
countUser(org.hswebframework.ezorm.core.param.QueryParam queryParam) |
List<UserEntity> |
findById(Collection<String> ids) |
Optional<UserEntity> |
findById(String id) |
Optional<UserEntity> |
findByUsername(@NotEmpty String username) |
Optional<UserEntity> |
findByUsernameAndPassword(@NotEmpty String username,
@NotEmpty String plainPassword) |
List<UserEntity> |
findUser(org.hswebframework.ezorm.core.param.QueryParam queryParam) |
PagerResult<UserEntity> |
findUserPager(org.hswebframework.ezorm.core.param.QueryParam param) |
boolean |
saveUser(UserEntity userEntity) |
boolean saveUser(UserEntity userEntity)
Optional<UserEntity> findByUsername(@NotEmpty @NotEmpty String username)
Optional<UserEntity> findByUsernameAndPassword(@NotEmpty @NotEmpty String username, @NotEmpty @NotEmpty String plainPassword)
Optional<UserEntity> findById(String id)
List<UserEntity> findById(Collection<String> ids)
boolean changeState(String userId, byte state)
List<UserEntity> findUser(org.hswebframework.ezorm.core.param.QueryParam queryParam)
long countUser(org.hswebframework.ezorm.core.param.QueryParam queryParam)
PagerResult<UserEntity> findUserPager(org.hswebframework.ezorm.core.param.QueryParam param)
Copyright © 2016–2021. All rights reserved.