public interface QuoteAssignmentValidationStrategy
| Modifier and Type | Method and Description |
|---|---|
void |
validateQuoteAssignment(QuoteModel quote,
UserModel assignee,
UserModel assigner)
Validates if quote can be assigned to an assignee by an assigner, else throws IllegalArgumentException
|
void |
validateQuoteUnassignment(QuoteModel quote,
UserModel assigner)
Validates if quote can be unassigned by an assigner, else throws IllegalArgumentException
|
void validateQuoteAssignment(QuoteModel quote, UserModel assignee, UserModel assigner)
quote - the quote to be assignedassignee - the user to which the quote should be assignedassigner - the user assigning the quote to the assigneeCommerceQuoteAssignmentException - thrown if the quote assignment failsvoid validateQuoteUnassignment(QuoteModel quote, UserModel assigner)
quote - the quote to be assignedassigner - the user assigning the quote to the assigneeCommerceQuoteAssignmentException - thrown if the quote unassignment failsCopyright © 2018 SAP SE. All Rights Reserved.