public class ChangeFinder extends Object
Modifier and Type | Method and Description |
---|---|
List<ChangeControl> |
find(Change.Id id,
CurrentUser user) |
List<ChangeControl> |
find(String id,
CurrentUser user)
Find changes matching the given identifier.
|
ChangeControl |
findOne(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(Change.Id id, CurrentUser user) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<ChangeControl> find(Change.Id id, CurrentUser user) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException