Last active
August 29, 2015 14:08
-
-
Save JorgeCastilloPrz/a13f129743fd7a4d6b60 to your computer and use it in GitHub Desktop.
Medium - Dependency injection - 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface BookRepository { | |
public List<Book> getAllBooks(); | |
public List<Book> getAllBooksFromUser(int userId); | |
public List<Book> getAllBooksByCategory(BookCategory category); | |
public Book getBook(int bookId); | |
public Book getBookByName(String bookName); | |
public void removeBook(int bookId); | |
public void markAsCompleted(int bookId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment