Part of lp.code.interfaces.codereviewvote View In Hierarchy
Known subclasses: lp.code.interfaces.webservice.ICodeReviewVoteReference
Method | validateClaimReview | Implements the validation for claiming a review. |
Method | claimReview | Change a pending review into a review for claimant. |
Method | validateReasignReview | Implements the validation for reassignment. |
Method | reassignReview | Reassign a pending review to someone else. |
Method | delete | Delete the pending review. |
Raises | ClaimReviewFailed | If the claimant already has a personal review, if the reviewer is not a team, if the claimant is not in the reviewer team, or if the review is not pending. |
Pending team reviews can be claimed by members of that team. This allows reviews to be moved of the general team todo list, and onto a personal todo list.
Parameters | claimant | The person claiming the team review. |
Raises | ClaimReviewFailed | If the claimant already has a personal review, if the reviewer is not a team, if the claimant is not in the reviewer team, or if the review is not pending. |
Raises | ReviewNotPending | If the review is not pending. |
ReassignReviewFailed | If the reviewer is an individual and already has a personal review. |
Pending reviews can be reassigned to someone else.
Parameters | reviewer | The person to assign the pending review to. |
Raises | ReviewNotPending | If the review is not pending. |
ReassignReviewFailed | If the reviewer is an individual and already has a personal review. |