public class ChangeFinder extends Object
Modifier and Type | Method and Description |
---|---|
List<ChangeNotes> |
find(Change.Id id) |
List<ChangeNotes> |
find(String id)
Find changes matching the given identifier.
|
ChangeNotes |
findOne(Change.Id id) |
ChangeNotes |
findOne(String id) |
static com.google.inject.Module |
module() |
public static com.google.inject.Module module()
public ChangeNotes findOne(String id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<ChangeNotes> find(String id) throws com.google.gwtorm.server.OrmException
id
- change identifier, either a numeric ID, a Change-Id, or project~branch~id triplet.com.google.gwtorm.server.OrmException
- if an error occurred querying the database.public ChangeNotes findOne(Change.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public List<ChangeNotes> find(Change.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException