Interface UserRepositoryCustom

All Known Subinterfaces:
UserRepository
All Known Implementing Classes:
UserRepositoryImpl

public interface UserRepositoryCustom
  • Method Details

    • findUserByUsername

      User findUserByUsername​(java.lang.String userName)
    • findUsersByName

      java.util.List<User> findUsersByName​(java.lang.String firstName, java.lang.String lastName)
    • findAllFriends

      java.util.List<java.lang.Long> findAllFriends​(User currentUser)
    • addFriend

      void addFriend​(User currentUser, User newFriend)
    • removeFriend

      void removeFriend​(User currentUser, User toBeDeletedFriend)
    • loginUserToPlayground

      void loginUserToPlayground​(User user, Playground playground)
    • logoutUserFromPlayground

      void logoutUserFromPlayground​(User user)