public static interface BaseServiceImplementation.Action<T>
Modifier and Type | Method and Description |
---|---|
T |
run(com.google.gerrit.reviewdb.server.ReviewDb db)
Perform this action, returning the onSuccess value.
|
T run(com.google.gerrit.reviewdb.server.ReviewDb db) throws com.google.gwtorm.server.OrmException, BaseServiceImplementation.Failure, NoSuchProjectException, com.google.gerrit.common.errors.NoSuchGroupException, com.google.gerrit.common.errors.InvalidQueryException
db
- an open database handle to be used by this connection.AsyncCallback.onSuccess(Object)
.com.google.gwtorm.server.OrmException
- any schema based action failed.BaseServiceImplementation.Failure
- cause is given to
AsyncCallback.onFailure(Throwable)
.NoSuchProjectException
com.google.gerrit.common.errors.NoSuchGroupException
com.google.gerrit.common.errors.InvalidQueryException