Class CreateBuyerOfferAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractProceduralAction<QuoteProcessModel>
-
- de.hybris.platform.yacceleratorcore.actions.quote.CreateBuyerOfferAction
-
- All Implemented Interfaces:
Action<QuoteProcessModel>
public class CreateBuyerOfferAction extends AbstractProceduralAction<QuoteProcessModel>
This action class checks for seller approver response. If quote was approved, a new quote snapshot will be created with status as BUYER_OFFER
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
AbstractProceduralAction.Transition
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelper
-
Fields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE
-
-
Constructor Summary
Constructors Constructor Description CreateBuyerOfferAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecuteAction(QuoteProcessModel process)Executes thisAction's business logic working on the givenBusinessProcessModel.protected CommerceQuoteServicegetCommerceQuoteService()protected QuoteServicegetQuoteService()voidsetCommerceQuoteService(CommerceQuoteService commerceQuoteService)voidsetQuoteService(QuoteService quoteService)-
Methods inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
execute, getTransitions
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelper
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.processengine.spring.Action
getCurrentActionDefinitionContext
-
-
-
-
Method Detail
-
executeAction
public void executeAction(QuoteProcessModel process) throws RetryLaterException, java.lang.Exception
Description copied from class:AbstractProceduralActionExecutes thisAction's business logic working on the givenBusinessProcessModel.- Specified by:
executeActionin classAbstractProceduralAction<QuoteProcessModel>- Parameters:
process- The process context to work on.- Throws:
RetryLaterExceptionjava.lang.Exception
-
getQuoteService
protected QuoteService getQuoteService()
-
setQuoteService
public void setQuoteService(QuoteService quoteService)
-
getCommerceQuoteService
protected CommerceQuoteService getCommerceQuoteService()
-
setCommerceQuoteService
public void setCommerceQuoteService(CommerceQuoteService commerceQuoteService)
-
-