public class PredefinedConfigurationComponentPricingCmdImpl extends TaskCommandImpl implements PredefinedConfigurationComponentPricingCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PredefinedConfigurationComponentPricingCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Set | getAdditions(OrderItemAccessBean oiab)
Returns all items that were added to the predefined configuration set on the command in order to create the dynamic kit configuration represented by the OrderItemAccessBean passed.
|
MonetaryAmount | getPriceDifferenceAddingComponents(java.util.Set components, java.lang.String currency, java.lang.Long contractId)
Returns the negated price change to the predefined configuration that is caused by removing the components in the passed Set of DynamicKitComponent objects.
|
MonetaryAmount | getPriceDifferenceRemovingComponents(java.util.Set components, java.lang.String currency, java.lang.Long contractId)
Returns the negated price change to the predefined configuration that is caused by removing the components in the passed Set of DynamicKitComponent objects.
|
MonetaryAmount | getPriceDifferenceReplacingComponents(java.util.Hashtable replacements, java.lang.String currency, java.lang.Long contractId)
Returns the price change to the predefined configuration that is caused by preforming the component replacements in the passed Hashtable of DynamicKitComponent objects.
|
java.util.Set | getRemovals(OrderItemAccessBean oiab)
Returns all items that were removed from the predefined configuration set on the command in order to create the dynamic kit configuration represented by the OrderItemAccessBean passed.
|
java.util.Hashtable | getReplacements(OrderItemAccessBean oiab)
Returns a hashtable of the items, that were replaced in the predefined configuration set on the command.
|
void | performExecute()
Executes the command.
|
void | setDynamicKitCatalogEntryId(java.lang.Long dynamicKitCatalogEntryId)
Sets the catalog entry ID of the dynamic kit.
|
void | setPredefinedConfigurationId(java.lang.Long predefinedConfigurationId)
Sets the ID of the predefined configuration to use.
|
public static final java.lang.String COPYRIGHT
public PredefinedConfigurationComponentPricingCmdImpl()
public void setDynamicKitCatalogEntryId(java.lang.Long dynamicKitCatalogEntryId)
public void setPredefinedConfigurationId(java.lang.Long predefinedConfigurationId)
public void performExecute() throws ECException
public java.util.Set getAdditions(OrderItemAccessBean oiab) throws ECException
public java.util.Set getRemovals(OrderItemAccessBean oiab) throws ECException
public java.util.Hashtable getReplacements(OrderItemAccessBean oiab) throws ECException
public MonetaryAmount getPriceDifferenceAddingComponents(java.util.Set components, java.lang.String currency, java.lang.Long contractId) throws java.lang.Exception
public MonetaryAmount getPriceDifferenceRemovingComponents(java.util.Set components, java.lang.String currency, java.lang.Long contractId) throws java.lang.Exception
public MonetaryAmount getPriceDifferenceReplacingComponents(java.util.Hashtable replacements, java.lang.String currency, java.lang.Long contractId) throws java.lang.Exception