Class CosmosDbLogic
- java.lang.Object
-
- net.officefloor.tutorial.cosmosdbhttpserver.CosmosDbLogic
-
public class CosmosDbLogic extends java.lang.Object
CosmosDatabase
logic.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description CosmosDbLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
retrieveAllPosts(CosmosEntities entities, ObjectResponse<Post[]> response)
void
retrievePost(java.lang.String identifier, CosmosEntities entities, ObjectResponse<Post> response)
void
savePost(Post post, CosmosEntities entities, ObjectResponse<Post> response)
-
-
-
Method Detail
-
savePost
public void savePost(Post post, CosmosEntities entities, ObjectResponse<Post> response)
-
retrievePost
public void retrievePost(@HttpPathParameter("id") java.lang.String identifier, CosmosEntities entities, ObjectResponse<Post> response)
-
retrieveAllPosts
public void retrieveAllPosts(CosmosEntities entities, ObjectResponse<Post[]> response)
-
-