Class PostLogic
- java.lang.Object
-
- net.officefloor.tutorial.transactionhttpserver.PostLogic
-
public class PostLogic extends java.lang.Object
Logic for the post page.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description PostLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(Post post, PostRepository repository, ObjectResponse<Post> responder)
void
getPosts(PostRepository repository, ObjectResponse<java.util.List<Post>> responder)
-
-
-
Method Detail
-
getPosts
public void getPosts(PostRepository repository, ObjectResponse<java.util.List<Post>> responder)
-
create
public void create(Post post, PostRepository repository, ObjectResponse<Post> responder)
-
-