public interface QuoteActionValidationStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidAction(QuoteAction quoteAction,
QuoteModel quoteModel,
UserModel userModel)
Indicates whether a user can perform a certain action on a quote.
|
void |
validate(QuoteAction quoteAction,
QuoteModel quoteModel,
UserModel userModel)
Checks whether a user can perform a certain action on a quote.
|
void validate(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel)
quoteAction - the quote action to be performedquoteModel - the quote on which the action is to be performeduserModel - the user that wants to perform the actionIllegalQuoteStateException - if the action cannot be performed for a quoteboolean isValidAction(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel)
quoteAction - the quote action to be performedquoteModel - the quote on which the action is to be performeduserModel - the user that wants to perform the actionCopyright © 2018 SAP SE. All Rights Reserved.