Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamoDbLogic

        public DynamoDbLogic()
    • 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)