Class ReviewDbWrapper.PatchSetAccessWrapper

    • Constructor Detail

      • PatchSetAccessWrapper

        protected PatchSetAccessWrapper​(PatchSetAccess delegate)
    • Method Detail

      • getRelationName

        public String getRelationName()
        Specified by:
        getRelationName in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
      • getRelationID

        public int getRelationID()
        Specified by:
        getRelationID in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
      • iterateAllEntities

        public com.google.gwtorm.server.ResultSet<PatchSet> iterateAllEntities()
                                                                        throws com.google.gwtorm.server.OrmException
        Specified by:
        iterateAllEntities in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • getAsync

        public com.google.common.util.concurrent.CheckedFuture<PatchSet,​com.google.gwtorm.server.OrmException> getAsync​(PatchSet.Id key)
        Specified by:
        getAsync in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
      • get

        public com.google.gwtorm.server.ResultSet<PatchSet> get​(Iterable<PatchSet.Id> keys)
                                                         throws com.google.gwtorm.server.OrmException
        Specified by:
        get in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • insert

        public void insert​(Iterable<PatchSet> instances)
                    throws com.google.gwtorm.server.OrmException
        Specified by:
        insert in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • update

        public void update​(Iterable<PatchSet> instances)
                    throws com.google.gwtorm.server.OrmException
        Specified by:
        update in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • upsert

        public void upsert​(Iterable<PatchSet> instances)
                    throws com.google.gwtorm.server.OrmException
        Specified by:
        upsert in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • deleteKeys

        public void deleteKeys​(Iterable<PatchSet.Id> keys)
                        throws com.google.gwtorm.server.OrmException
        Specified by:
        deleteKeys in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • delete

        public void delete​(Iterable<PatchSet> instances)
                    throws com.google.gwtorm.server.OrmException
        Specified by:
        delete in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • beginTransaction

        public void beginTransaction​(PatchSet.Id key)
                              throws com.google.gwtorm.server.OrmException
        Specified by:
        beginTransaction in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • atomicUpdate

        public PatchSet atomicUpdate​(PatchSet.Id key,
                                     com.google.gwtorm.server.AtomicUpdate<PatchSet> update)
                              throws com.google.gwtorm.server.OrmException
        Specified by:
        atomicUpdate in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Throws:
        com.google.gwtorm.server.OrmException
      • get

        public PatchSet get​(PatchSet.Id id)
                     throws com.google.gwtorm.server.OrmException
        Specified by:
        get in interface com.google.gwtorm.server.Access<PatchSet,​PatchSet.Id>
        Specified by:
        get in interface PatchSetAccess
        Throws:
        com.google.gwtorm.server.OrmException
      • byChange

        public com.google.gwtorm.server.ResultSet<PatchSet> byChange​(Change.Id id)
                                                              throws com.google.gwtorm.server.OrmException
        Specified by:
        byChange in interface PatchSetAccess
        Throws:
        com.google.gwtorm.server.OrmException
      • all

        public com.google.gwtorm.server.ResultSet<PatchSet> all()
                                                         throws com.google.gwtorm.server.OrmException
        Specified by:
        all in interface PatchSetAccess
        Throws:
        com.google.gwtorm.server.OrmException