public class GetRelated extends Object implements RestReadView<RevisionResource>
Modifier and Type | Method and Description |
---|---|
RelatedChangesInfo |
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.
|
static Set<String> |
getAllGroups(ChangeNotes notes,
ReviewDb db,
PatchSetUtil psUtil) |
public RelatedChangesInfo apply(RevisionResource rsrc) throws org.eclipse.jgit.errors.RepositoryNotFoundException, IOException, com.google.gwtorm.server.OrmException, NoSuchProjectException, PermissionBackendException
RestReadView
apply
in interface RestReadView<RevisionResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.org.eclipse.jgit.errors.RepositoryNotFoundException
IOException
com.google.gwtorm.server.OrmException
NoSuchProjectException
PermissionBackendException
public static Set<String> getAllGroups(ChangeNotes notes, ReviewDb db, PatchSetUtil psUtil) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException