public class DefaultQuoteUpdateStateStrategy extends java.lang.Object implements QuoteUpdateStateStrategy
QuoteUpdateStateStrategy.| Constructor and Description |
|---|
DefaultQuoteUpdateStateStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected QuoteStateSelectionStrategy |
getQuoteStateSelectionStrategy() |
void |
setQuoteStateSelectionStrategy(QuoteStateSelectionStrategy quoteStateSelectionStrategy) |
QuoteModel |
updateQuoteState(QuoteAction quoteAction,
QuoteModel quoteModel,
UserModel userModel)
Updates the state of the quote for the given action.
|
public QuoteModel updateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel)
QuoteUpdateStateStrategyupdateQuoteState in interface QuoteUpdateStateStrategyquoteAction - the quote action to be performedquoteModel - the quote for which to update the stateuserModel - the user who wants to update quote stateQuoteModel the updated quote modelprotected QuoteStateSelectionStrategy getQuoteStateSelectionStrategy()
public void setQuoteStateSelectionStrategy(QuoteStateSelectionStrategy quoteStateSelectionStrategy)
Copyright © 2018 SAP SE. All Rights Reserved.