Interface UserRepository
- All Known Implementing Classes:
UserDao
public interface UserRepository
Interface that defines a "contract" for which methods the class that implements it has
to contiain.
Is created for UserDao class, to define which methods needs to be implemented.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByEmail(String email) booleanexistsByUsername(String username) findByEmail(String email) findByLogin(String login) findByUsername(String username) void
-
Method Details
-
findByUsername
-
findByEmail
-
findByLogin
-
existsByEmail
-
existsByUsername
-
insert
-