Class DefaultQuoteUpdateStateStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.strategies.impl.DefaultQuoteUpdateStateStrategy
-
- All Implemented Interfaces:
QuoteUpdateStateStrategy
public class DefaultQuoteUpdateStateStrategy extends java.lang.Object implements QuoteUpdateStateStrategy
Default implementation ofQuoteUpdateStateStrategy.
-
-
Constructor Summary
Constructors Constructor Description DefaultQuoteUpdateStateStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected QuoteStateSelectionStrategygetQuoteStateSelectionStrategy()voidsetQuoteStateSelectionStrategy(QuoteStateSelectionStrategy quoteStateSelectionStrategy)QuoteModelupdateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel)Updates the state of the quote for the given action.
-
-
-
Method Detail
-
updateQuoteState
public QuoteModel updateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel)
Description copied from interface:QuoteUpdateStateStrategyUpdates the state of the quote for the given action.- Specified by:
updateQuoteStatein interfaceQuoteUpdateStateStrategy- Parameters:
quoteAction- the quote action to be performedquoteModel- the quote for which to update the stateuserModel- the user who wants to update quote state- Returns:
QuoteModelthe updated quote model
-
getQuoteStateSelectionStrategy
protected QuoteStateSelectionStrategy getQuoteStateSelectionStrategy()
-
setQuoteStateSelectionStrategy
public void setQuoteStateSelectionStrategy(QuoteStateSelectionStrategy quoteStateSelectionStrategy)
-
-