Class DynamoDbLogic
- java.lang.Object
-
- net.officefloor.tutorial.dynamodbhttpserver.DynamoDbLogic
-
public class DynamoDbLogic extends java.lang.Object
DynamoDBMapper
logic.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description DynamoDbLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
retrieveAllPosts(com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper dynamo, ObjectResponse<Post[]> response)
void
retrievePost(java.lang.String identifier, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper dynamo, ObjectResponse<Post> response)
void
savePost(Post post, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper dynamo)
-
-
-
Method Detail
-
savePost
public void savePost(Post post, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper dynamo)
-
retrievePost
public void retrievePost(@HttpPathParameter("id") java.lang.String identifier, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper dynamo, ObjectResponse<Post> response)
-
retrieveAllPosts
public void retrieveAllPosts(com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper dynamo, ObjectResponse<Post[]> response)
-
-