public class ProductPricingControllerCmdImpl extends ToolsControllerCommandImpl implements ProductPricingControllerCmd, ECToolsConstants, ECConstants
Behavior
A PricingDataBean object is used to extract the XML data passed from the client. Once the data is extracted, the data bean is transferred to a ProductPricingCmd command for persistence to the database.
This command is used by the set prices user interface in the tooling.
A sample of the hashtable (string representation) used by this command is as follows:
{ XML= { refNum=14751, ranges=[1, 50, AndUp], XMLFile=catalog.pricingDialog, prices= [ { TWD=, CAD=, JPY=, CNY=, KRW=, EUR=38, BRL=, USD=43.78 }, { TWD=, CAD=, JPY=, CNY=, KRW=, EUR=36, BRL=, USD=41.5 } ], isSummary=false, listprices= { TWD=, CAD=, JPY=, CNY=, KRW=, EUR=40, BRL=, USD=45.99 } } }
Constructor and Description |
---|
ProductPricingControllerCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean | isReadyToCallExecute()
This method is used in place of validateParameters for this command.
|
void | performExecute()
The method used to perform the controller command's function (persisting pricing information).
|
public boolean isReadyToCallExecute()
public void performExecute() throws ECException