public static class ReviewDbWrapper.PatchSetAccessWrapper extends java.lang.Object implements PatchSetAccess
Modifier and Type | Field and Description |
---|---|
protected PatchSetAccess |
delegate |
Modifier | Constructor and Description |
---|---|
protected |
PatchSetAccessWrapper(PatchSetAccess delegate) |
Modifier and Type | Method and Description |
---|---|
com.google.gwtorm.server.ResultSet<PatchSet> |
all() |
PatchSet |
atomicUpdate(PatchSet.Id key,
com.google.gwtorm.server.AtomicUpdate<PatchSet> update) |
void |
beginTransaction(PatchSet.Id key) |
com.google.gwtorm.server.ResultSet<PatchSet> |
byChange(Change.Id id) |
void |
delete(java.lang.Iterable<PatchSet> instances) |
void |
deleteKeys(java.lang.Iterable<PatchSet.Id> keys) |
com.google.gwtorm.server.ResultSet<PatchSet> |
get(java.lang.Iterable<PatchSet.Id> keys) |
PatchSet |
get(PatchSet.Id id) |
com.google.common.util.concurrent.CheckedFuture<PatchSet,com.google.gwtorm.server.OrmException> |
getAsync(PatchSet.Id key) |
int |
getRelationID() |
java.lang.String |
getRelationName() |
void |
insert(java.lang.Iterable<PatchSet> instances) |
com.google.gwtorm.server.ResultSet<PatchSet> |
iterateAllEntities() |
PatchSet.Id |
primaryKey(PatchSet entity) |
java.util.Map<PatchSet.Id,PatchSet> |
toMap(java.lang.Iterable<PatchSet> c) |
void |
update(java.lang.Iterable<PatchSet> instances) |
void |
upsert(java.lang.Iterable<PatchSet> instances) |
protected final PatchSetAccess delegate
protected PatchSetAccessWrapper(PatchSetAccess delegate)
public java.lang.String getRelationName()
getRelationName
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
public int getRelationID()
getRelationID
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
public com.google.gwtorm.server.ResultSet<PatchSet> iterateAllEntities() throws com.google.gwtorm.server.OrmException
iterateAllEntities
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public PatchSet.Id primaryKey(PatchSet entity)
primaryKey
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
public java.util.Map<PatchSet.Id,PatchSet> toMap(java.lang.Iterable<PatchSet> c)
toMap
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
public com.google.common.util.concurrent.CheckedFuture<PatchSet,com.google.gwtorm.server.OrmException> getAsync(PatchSet.Id key)
getAsync
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
public com.google.gwtorm.server.ResultSet<PatchSet> get(java.lang.Iterable<PatchSet.Id> keys) throws com.google.gwtorm.server.OrmException
get
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public void insert(java.lang.Iterable<PatchSet> instances) throws com.google.gwtorm.server.OrmException
insert
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public void update(java.lang.Iterable<PatchSet> instances) throws com.google.gwtorm.server.OrmException
update
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public void upsert(java.lang.Iterable<PatchSet> instances) throws com.google.gwtorm.server.OrmException
upsert
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public void deleteKeys(java.lang.Iterable<PatchSet.Id> keys) throws com.google.gwtorm.server.OrmException
deleteKeys
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public void delete(java.lang.Iterable<PatchSet> instances) throws com.google.gwtorm.server.OrmException
delete
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public void beginTransaction(PatchSet.Id key) throws com.google.gwtorm.server.OrmException
beginTransaction
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public PatchSet atomicUpdate(PatchSet.Id key, com.google.gwtorm.server.AtomicUpdate<PatchSet> update) throws com.google.gwtorm.server.OrmException
atomicUpdate
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public PatchSet get(PatchSet.Id id) throws com.google.gwtorm.server.OrmException
get
in interface PatchSetAccess
get
in interface com.google.gwtorm.server.Access<PatchSet,PatchSet.Id>
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchSet> byChange(Change.Id id) throws com.google.gwtorm.server.OrmException
byChange
in interface PatchSetAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchSet> all() throws com.google.gwtorm.server.OrmException
all
in interface PatchSetAccess
com.google.gwtorm.server.OrmException