public class ChangeFinder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ChangeFinder.ChangeIdType |
Modifier and Type | Method and Description |
---|---|
List<ChangeNotes> |
find(Change.Id id) |
List<ChangeNotes> |
find(String id)
Find changes matching the given identifier.
|
List<ChangeNotes> |
find(String id,
boolean enforceDeprecation)
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.com.google.gwtorm.server.OrmException
- if an error occurred querying the database.public List<ChangeNotes> find(String id, boolean enforceDeprecation) throws com.google.gwtorm.server.OrmException, DeprecatedIdentifierException
id
- change identifier.enforceDeprecation
- boolean to see if we should throw DeprecatedIdentifierException
in case the identifier is deprecatedcom.google.gwtorm.server.OrmException
- if an error occurred querying the databaseDeprecatedIdentifierException
- if the identifier is deprecated.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