public class ChangeFinder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ChangeFinder.ChangeIdType |
Modifier and Type | Method and Description |
---|---|
java.util.List<ChangeNotes> |
find(Change.Id id) |
java.util.List<ChangeNotes> |
find(java.lang.String id)
Find changes matching the given identifier.
|
java.util.List<ChangeNotes> |
find(java.lang.String id,
boolean enforceDeprecation)
Find changes matching the given identifier.
|
ChangeNotes |
findOne(Change.Id id) |
ChangeNotes |
findOne(java.lang.String id) |
static com.google.inject.Module |
module() |
public static com.google.inject.Module module()
public ChangeNotes findOne(java.lang.String id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public java.util.List<ChangeNotes> find(java.lang.String id) throws com.google.gwtorm.server.OrmException
id
- change identifier.com.google.gwtorm.server.OrmException
- if an error occurred querying the database.public java.util.List<ChangeNotes> find(java.lang.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 java.util.List<ChangeNotes> find(Change.Id id) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException