public class B2BQuoteDiscountWizardPageController extends DefaultPageController
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
attributeSets |
protected B2BOrderService |
b2bOrderService |
protected CalculationService |
calculationService |
protected static Logger |
LOG |
protected ModelService |
modelService |
transitions| Constructor and Description |
|---|
B2BQuoteDiscountWizardPageController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyDiscount(Wizard wizard) |
void |
done(Wizard wizard,
WizardPage page)
This method is invoked when the done button is pressed.
|
protected Set<String> |
getAttributeSets() |
protected Map<String,Object> |
getAttributesForPage(String pageId,
Wizard wizard) |
B2BOrderService |
getB2bOrderService() |
CalculationService |
getCalculationService() |
protected ModelService |
getModelService() |
void |
setAttributeSets(Set<String> attributeSets) |
void |
setB2bOrderService(B2BOrderService b2bOrderService) |
void |
setCalculationService(CalculationService calculationService) |
void |
setModelService(ModelService modelService) |
boolean |
validate(Wizard wizard,
WizardPage page)
This method is invoked before leaving a page.
|
beforeBack, beforeNext, cancel, evaluateAttribute, evaluateTransition, getFirstPage, initPage, next, previous, setTransitionsprotected ModelService modelService
protected CalculationService calculationService
protected B2BOrderService b2bOrderService
protected static final Logger LOG
public B2BQuoteDiscountWizardPageController()
public B2BOrderService getB2bOrderService()
public void setB2bOrderService(B2BOrderService b2bOrderService)
b2bOrderService - the b2bOrderService to setpublic CalculationService getCalculationService()
public void setCalculationService(CalculationService calculationService)
protected ModelService getModelService()
public void setModelService(ModelService modelService)
public void setAttributeSets(Set<String> attributeSets)
attributeSets - the attributeSets to setpublic void done(Wizard wizard, WizardPage page) throws WizardConfirmationException
WizardPageControllerdone in interface WizardPageControllerdone in class DefaultPageControllerwizard - the wizard which contains the pagepage - the currently accessed pageWizardConfirmationExceptionprotected void applyDiscount(Wizard wizard) throws CalculationException
CalculationExceptionpublic boolean validate(Wizard wizard, WizardPage page)
WizardPageControllervalidate in interface WizardPageControllervalidate in class DefaultPageControllerCopyright © 2017 SAP SE. All Rights Reserved.