public class RemoveReviewerControl
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
void | 
checkRemoveReviewer(ChangeNotes notes,
                   CurrentUser currentUser,
                   Account.Id reviewer)
Checks if removing the given reviewer is OK. 
 | 
void | 
checkRemoveReviewer(ChangeNotes notes,
                   CurrentUser currentUser,
                   PatchSetApproval approval)
Checks if removing the given reviewer and patch set approval is OK. 
 | 
boolean | 
testRemoveReviewer(ChangeData cd,
                  CurrentUser currentUser,
                  Account.Id reviewer,
                  int value)  | 
public void checkRemoveReviewer(ChangeNotes notes, CurrentUser currentUser, PatchSetApproval approval) throws PermissionBackendException, AuthException
AuthException - if this user is not allowed to remove this approval.PermissionBackendException - on failure of permission checks.public void checkRemoveReviewer(ChangeNotes notes, CurrentUser currentUser, Account.Id reviewer) throws PermissionBackendException, AuthException
AuthException - if this user is not allowed to remove this approval.PermissionBackendException - on failure of permission checks.public boolean testRemoveReviewer(ChangeData cd, CurrentUser currentUser, Account.Id reviewer, int value) throws PermissionBackendException, com.google.gwtorm.server.OrmException
PermissionBackendExceptioncom.google.gwtorm.server.OrmException