public class PreSubmitCheckEngine extends Object
Constructor and Description |
---|
PreSubmitCheckEngine(BusinessObject quoteBO,
BaseContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
addReplacableClassifiedProductToResults(SalesItemNode salesItemNode,
Set<Product> products) |
boolean |
execute() |
Map<SalesItemNode,Set<Product>> |
getClassifiedProductsFromConfiguration(List<SalesItemNode> salesItemNodes) |
Map<CheckBeforeQuoteSubmitCommand.PreCheckType,Object> |
getPresubmitCheckResults()
Return the PresubmitCheck result to return to UI, especially for the case
to display the UI Popup if more than one classified products are found
for some of the sales item
|
boolean |
isReplacementDone() |
void |
replaceConfigurableProduct(SalesItemNode salesItemNode,
Product product) |
public PreSubmitCheckEngine(BusinessObject quoteBO, BaseContext ctx)
public void addReplacableClassifiedProductToResults(SalesItemNode salesItemNode, Set<Product> products) throws IMCException
IMCException
public boolean execute() throws IMCException
IMCException
public Map<SalesItemNode,Set<Product>> getClassifiedProductsFromConfiguration(List<SalesItemNode> salesItemNodes) throws IMCException
IMCException
public Map<CheckBeforeQuoteSubmitCommand.PreCheckType,Object> getPresubmitCheckResults()
public boolean isReplacementDone()
public void replaceConfigurableProduct(SalesItemNode salesItemNode, Product product) throws IMCException
IMCException