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 Details

    • getUsers

      Collection<User> getUsers()
    • getUserById

      Optional<User> getUserById(long id)
    • getUserByEmail

      Optional<User> getUserByEmail(String email)
    • getUserByEmail

      Optional<User> getUserByEmail(String email, UserDirectory userDirectory)
    • getUserByUsername

      Optional<User> getUserByUsername(String username)
    • getUserByUsername

      Optional<User> getUserByUsername(String username, UserDirectory userDirectory)
    • save

      User save(User user)
    • delete

      void delete(long id)
    • saveProperties

      void saveProperties(UserProperties userProperties)
    • deleteProperties

      void deleteProperties(User user)
    • deleteProperties

      void deleteProperties(long userId)
    • getProperties

      UserProperties getProperties(User user)
    • getUsersWithPropertyValue

      Collection<User> getUsersWithPropertyValue(String propertyName, Object propertyValue)
    • findOne

      Optional<User> findOne(com.querydsl.core.types.Predicate predicate)
      Specified by:
      findOne in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<User>
    • findAll

      Collection<User> findAll(com.querydsl.core.types.Predicate predicate)
      Specified by:
      findAll in interface org.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 interface org.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 interface org.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 interface org.springframework.data.querydsl.QuerydslPredicateExecutor<User>
    • findAll

      Iterable<User> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
      Specified by:
      findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<User>
    • count

      long count(com.querydsl.core.types.Predicate predicate)
      Specified by:
      count in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<User>
    • exists

      boolean exists(com.querydsl.core.types.Predicate predicate)
      Specified by:
      exists in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<User>