Interface QuoteUpdateStateStrategy
-
- All Known Implementing Classes:
DefaultQuoteUpdateStateStrategy
public interface QuoteUpdateStateStrategyStrategy to update the state of a quote on an action
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuoteModelupdateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel)Updates the state of the quote for the given action.
-
-
-
Method Detail
-
updateQuoteState
QuoteModel updateQuoteState(QuoteAction quoteAction, QuoteModel quoteModel, UserModel userModel)
Updates the state of the quote for the given action.- 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- Throws:
java.lang.IllegalArgumentException- if any of the parameters is null
-
-