Skip to content

Instantly share code, notes, and snippets.

@nazartm
Created March 18, 2013 18:10
Show Gist options
  • Save nazartm/5189398 to your computer and use it in GitHub Desktop.
Save nazartm/5189398 to your computer and use it in GitHub Desktop.
Business interface of a service
public interface BlogService {
List<MyPost> getPosts();
MyPost getPost(int id);
int addPost(MyPost post);
boolean updatePost(int id, MyPost post);
boolean deletePost(int id);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment