Interface UserService
- All Superinterfaces:
org.springframework.data.querydsl.QuerydslPredicateExecutor<User>
- All Known Implementing Classes:
UserServiceImpl
public interface UserService
extends org.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
Method Summary
Modifier and TypeMethodDescriptionlong
count
(com.querydsl.core.types.Predicate predicate) void
delete
(long id) void
deleteProperties
(long userId) void
deleteProperties
(User user) boolean
exists
(com.querydsl.core.types.Predicate predicate) findAll
(com.querydsl.core.types.OrderSpecifier<?>... orders) findAll
(com.querydsl.core.types.Predicate predicate) findAll
(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers) org.springframework.data.domain.Page<User>
findAll
(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable) findAll
(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort) findOne
(com.querydsl.core.types.Predicate predicate) getProperties
(User user) getUserByEmail
(String email) getUserByEmail
(String email, UserDirectory userDirectory) getUserById
(long id) getUserByUsername
(String username) getUserByUsername
(String username, UserDirectory userDirectory) getUsers()
getUsersWithPropertyValue
(String propertyName, Object propertyValue) void
saveProperties
(UserProperties userProperties) Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor
findBy
-
Method Details
-
getUsers
Collection<User> getUsers() -
getUserById
-
getUserByEmail
-
getUserByEmail
-
getUserByUsername
-
getUserByUsername
-
save
-
delete
void delete(long id) -
saveProperties
-
deleteProperties
-
deleteProperties
void deleteProperties(long userId) -
getProperties
-
getUsersWithPropertyValue
-
findOne
- Specified by:
findOne
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
findAll
- Specified by:
findAll
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
findAll
Collection<User> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orderSpecifiers) - Specified by:
findAll
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
findAll
Iterable<User> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort) - Specified by:
findAll
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
findAll
org.springframework.data.domain.Page<User> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable) - Specified by:
findAll
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
findAll
- Specified by:
findAll
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
count
long count(com.querydsl.core.types.Predicate predicate) - Specified by:
count
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-
exists
boolean exists(com.querydsl.core.types.Predicate predicate) - Specified by:
exists
in interfaceorg.springframework.data.querydsl.QuerydslPredicateExecutor<User>
-