public static class ReviewDbWrapper.PatchLineCommentAccessWrapper extends Object implements PatchLineCommentAccess
Modifier and Type | Field and Description |
---|---|
protected PatchLineCommentAccess |
delegate |
Modifier | Constructor and Description |
---|---|
protected |
PatchLineCommentAccessWrapper(PatchLineCommentAccess delegate) |
protected PatchLineCommentAccess delegate
protected PatchLineCommentAccessWrapper(PatchLineCommentAccess delegate)
public String getRelationName()
getRelationName
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
public int getRelationID()
getRelationID
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
public com.google.gwtorm.server.ResultSet<PatchLineComment> iterateAllEntities() throws com.google.gwtorm.server.OrmException
iterateAllEntities
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public PatchLineComment.Key primaryKey(PatchLineComment entity)
primaryKey
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
public Map<PatchLineComment.Key,PatchLineComment> toMap(Iterable<PatchLineComment> c)
toMap
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
public com.google.common.util.concurrent.CheckedFuture<PatchLineComment,com.google.gwtorm.server.OrmException> getAsync(PatchLineComment.Key key)
getAsync
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
public com.google.gwtorm.server.ResultSet<PatchLineComment> get(Iterable<PatchLineComment.Key> keys) throws com.google.gwtorm.server.OrmException
get
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public void insert(Iterable<PatchLineComment> instances) throws com.google.gwtorm.server.OrmException
insert
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public void update(Iterable<PatchLineComment> instances) throws com.google.gwtorm.server.OrmException
update
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public void upsert(Iterable<PatchLineComment> instances) throws com.google.gwtorm.server.OrmException
upsert
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public void deleteKeys(Iterable<PatchLineComment.Key> keys) throws com.google.gwtorm.server.OrmException
deleteKeys
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public void delete(Iterable<PatchLineComment> instances) throws com.google.gwtorm.server.OrmException
delete
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public void beginTransaction(PatchLineComment.Key key) throws com.google.gwtorm.server.OrmException
beginTransaction
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public PatchLineComment atomicUpdate(PatchLineComment.Key key, com.google.gwtorm.server.AtomicUpdate<PatchLineComment> update) throws com.google.gwtorm.server.OrmException
atomicUpdate
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public PatchLineComment get(PatchLineComment.Key id) throws com.google.gwtorm.server.OrmException
get
in interface PatchLineCommentAccess
get
in interface com.google.gwtorm.server.Access<PatchLineComment,PatchLineComment.Key>
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> byChange(Change.Id id) throws com.google.gwtorm.server.OrmException
byChange
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> byPatchSet(PatchSet.Id id) throws com.google.gwtorm.server.OrmException
byPatchSet
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> publishedByChangeFile(Change.Id id, String file) throws com.google.gwtorm.server.OrmException
publishedByChangeFile
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> publishedByPatchSet(PatchSet.Id patchset) throws com.google.gwtorm.server.OrmException
publishedByPatchSet
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> draftByPatchSetAuthor(PatchSet.Id patchset, Account.Id author) throws com.google.gwtorm.server.OrmException
draftByPatchSetAuthor
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> draftByChangeFileAuthor(Change.Id id, String file, Account.Id author) throws com.google.gwtorm.server.OrmException
draftByChangeFileAuthor
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> draftByAuthor(Account.Id author) throws com.google.gwtorm.server.OrmException
draftByAuthor
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException
public com.google.gwtorm.server.ResultSet<PatchLineComment> all() throws com.google.gwtorm.server.OrmException
all
in interface PatchLineCommentAccess
com.google.gwtorm.server.OrmException