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