Class ReviewDbWrapper

    • Field Detail

      • delegate

        protected final ReviewDb delegate
    • Constructor Detail

      • ReviewDbWrapper

        protected ReviewDbWrapper​(ReviewDb delegate)
    • Method Detail

      • unwrapJbdcSchema

        public static com.google.gwtorm.jdbc.JdbcSchema unwrapJbdcSchema​(ReviewDb db)
      • unsafeGetDelegate

        public ReviewDb unsafeGetDelegate()
      • inTransaction

        public boolean inTransaction()
      • beginTransaction

        public void beginTransaction()
      • commit

        public void commit()
                    throws com.google.gwtorm.server.OrmException
        Specified by:
        commit in interface com.google.gwtorm.server.Schema
        Throws:
        com.google.gwtorm.server.OrmException
      • rollback

        public void rollback()
                      throws com.google.gwtorm.server.OrmException
        Specified by:
        rollback in interface com.google.gwtorm.server.Schema
        Throws:
        com.google.gwtorm.server.OrmException
      • updateSchema

        public void updateSchema​(com.google.gwtorm.server.StatementExecutor e)
                          throws com.google.gwtorm.server.OrmException
        Specified by:
        updateSchema in interface com.google.gwtorm.server.Schema
        Throws:
        com.google.gwtorm.server.OrmException
      • pruneSchema

        public void pruneSchema​(com.google.gwtorm.server.StatementExecutor e)
                         throws com.google.gwtorm.server.OrmException
        Specified by:
        pruneSchema in interface com.google.gwtorm.server.Schema
        Throws:
        com.google.gwtorm.server.OrmException
      • allRelations

        public com.google.gwtorm.server.Access<?,​?>[] allRelations()
        Specified by:
        allRelations in interface com.google.gwtorm.server.Schema
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface com.google.gwtorm.server.Schema
      • nextAccountId

        public int nextAccountId()
                          throws com.google.gwtorm.server.OrmException
        Description copied from interface: ReviewDb
        Next unique id for a Account.
        Specified by:
        nextAccountId in interface ReviewDb
        Throws:
        com.google.gwtorm.server.OrmException
      • nextAccountGroupId

        public int nextAccountGroupId()
                               throws com.google.gwtorm.server.OrmException
        Description copied from interface: ReviewDb
        Next unique id for a AccountGroup.
        Specified by:
        nextAccountGroupId in interface ReviewDb
        Throws:
        com.google.gwtorm.server.OrmException
      • nextChangeId

        public int nextChangeId()
                         throws com.google.gwtorm.server.OrmException
        Description copied from interface: ReviewDb
        Next unique id for a Change.
        Specified by:
        nextChangeId in interface ReviewDb
        Throws:
        com.google.gwtorm.server.OrmException