public class SuggestChangeReviewers extends SuggestReviewers implements RestReadView<ChangeResource>
dbProvider, identifiedUserFactory, limit, maxSuggestedReviewers, query, reviewersUtil
Modifier and Type | Method and Description |
---|---|
java.util.List<SuggestedReviewerInfo> |
apply(ChangeResource rsrc)
Process the view operation by reading from the resource.
|
getLimit, getMaxAllowed, getMaxAllowedWithoutConfirmation, getQuery, getSuggestAccounts, setLimit, setQuery
public java.util.List<SuggestedReviewerInfo> apply(ChangeResource rsrc) throws AuthException, BadRequestException, com.google.gwtorm.server.OrmException, java.io.IOException
RestReadView
apply
in interface RestReadView<ChangeResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.com.google.gwtorm.server.OrmException
java.io.IOException