public interface UserRepository extends JpaRepository {
Optional<User> findOneByActivationKey(String activationKey);
List<User> findAllByActivatedIsFalseAndCreatedDateBefore(DateTime dateTime);
Optional<User> findOneByEmail(String email);
Optional<User> findOneByLogin(String login);
void delete(User t);
}
Aucun commentaire:
Enregistrer un commentaire