Created
December 9, 2013 01:39
-
-
Save taywils/7866235 to your computer and use it in GitHub Desktop.
spark_storage_step_1_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
import java.util.ArrayList; | |
public interface ArticleDbService<T> { | |
public Boolean create(T entity); | |
public T readOne(int id); | |
public ArrayList<T> readAll(); | |
public Boolean update(int id, String title, String summary, String content); | |
public Boolean delete(int id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment