public class RemoveReviewerControl extends Object
Modifier and Type | Method and Description |
---|---|
void |
checkRemoveReviewer(ChangeNotes notes,
CurrentUser currentUser,
PatchSetApproval approval) |
boolean |
testRemoveReviewer(ChangeData cd,
CurrentUser currentUser,
Account.Id reviewer,
int value) |
public void checkRemoveReviewer(ChangeNotes notes, CurrentUser currentUser, PatchSetApproval approval) throws PermissionBackendException, AuthException, NoSuchChangeException, com.google.gwtorm.server.OrmException
AuthException
- if this user is not allowed to remove this approval.PermissionBackendException
NoSuchChangeException
com.google.gwtorm.server.OrmException
public boolean testRemoveReviewer(ChangeData cd, CurrentUser currentUser, Account.Id reviewer, int value) throws PermissionBackendException, NoSuchChangeException, com.google.gwtorm.server.OrmException
PermissionBackendException
NoSuchChangeException
com.google.gwtorm.server.OrmException