Class TransactionLogic


  • public class TransactionLogic
    extends java.lang.Object
    Transaction logic.
    Author:
    Daniel Sagenschneider
    • Constructor Detail

      • TransactionLogic

        public TransactionLogic()
    • Method Detail

      • rollback

        public java.lang.IllegalArgumentException rollback​(Post post,
                                                           PostRepository repository)
      • commit

        public java.io.EOFException commit​(Post post,
                                           PostRepository repository)
                                    throws java.io.EOFException
        Throws:
        java.io.EOFException