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