Skip to content

Instantly share code, notes, and snippets.

@taywils
Created December 9, 2013 01:39
Show Gist options
  • Save taywils/7866235 to your computer and use it in GitHub Desktop.
Save taywils/7866235 to your computer and use it in GitHub Desktop.
spark_storage_step_1_1
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