public class ChangeFinder extends Object
Modifier and Type | Method and Description |
---|---|
List<ChangeControl> |
find(com.google.gerrit.reviewdb.client.Change.Id id,
CurrentUser user) |
List<ChangeControl> |
find(String id,
CurrentUser user)
Find changes matching the given identifier.
|
ChangeControl |
findOne(com.google.gerrit.reviewdb.client.Change.Id id,
CurrentUser user) |
public List<ChangeControl> find(String id, CurrentUser user) throws com.google.gwtorm.server.OrmException
id
- change identifier, either a numeric ID, a Change-Id, or
project~branch~id triplet.user
- user to wrap in controls.com.google.gwtorm.server.OrmException
- if an error occurred querying the database.public ChangeControl findOne(com.google.gerrit.reviewdb.client.Change.Id id, CurrentUser user) throws com.google.gwtorm.server.OrmException, NoSuchChangeException
com.google.gwtorm.server.OrmException
NoSuchChangeException
public List<ChangeControl> find(com.google.gerrit.reviewdb.client.Change.Id id, CurrentUser user) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException