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, NoSuchProjectException, java.io.IOException
AuthException - if this user is not allowed to remove this approval.PermissionBackendExceptionNoSuchProjectExceptionjava.io.IOExceptionpublic void checkRemoveReviewer(ChangeNotes notes, CurrentUser currentUser, Account.Id reviewer) throws PermissionBackendException, AuthException, NoSuchProjectException, java.io.IOException
AuthException - if this user is not allowed to remove this approval.PermissionBackendExceptionNoSuchProjectExceptionjava.io.IOExceptionpublic boolean testRemoveReviewer(ChangeData cd, CurrentUser currentUser, Account.Id reviewer, int value) throws PermissionBackendException, NoSuchProjectException, com.google.gwtorm.server.OrmException, java.io.IOException
PermissionBackendExceptionNoSuchProjectExceptioncom.google.gwtorm.server.OrmExceptionjava.io.IOException