public class GetProductAvailabilityCmdImpl extends TaskCommandImpl implements GetProductAvailabilityCmd
Name | Description |
---|---|
SKU | the SKU of the product that need get productAvailability |
action | the action that need perform |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String | EC_ACTION
action
|
static java.lang.String | EXPRESSION_LANGUAGE_XPATH
expression language XPath
|
Constructor and Description |
---|
GetProductAvailabilityCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected com.ibm.commerce.foundation.datatypes.ApplicationAreaType | composeApplicationArea()
Composes the ApplicationAreaSDO.
|
protected com.ibm.commerce.foundation.datatypes.ContextDataType | composeContextData(java.lang.String astrName, java.lang.String astrValue)
Composes the ContextDataSDO.
|
protected GetType | composeGet()
Composes the ProcessSDO.
|
protected com.ibm.commerce.inventory.datatypes.GetProductAvailabilityType | composeGetProductAvailability()
This method composes the GetProductAvailability SDO
|
protected com.ibm.commerce.inventory.datatypes.ProductAvailabilityType | composeProductAvailability()
This method composes the ProductAvailability SDO
|
protected java.lang.String | format(java.util.Date aDate)
Formats a date into a string using the pattern yyyy-MM-dd'T'HH:mm:ss.SSS'Z'.
|
java.lang.String | getAction()
This method gets the action
|
CatalogEntryAccessBean | getCatalogEntry()
This method gets the CatalogEntry
|
protected com.ibm.commerce.foundation.datatypes.CommerceFoundationFactory | getCommerceFoundationFactory()
This method gets the CommerceFoundationFactory
|
protected InventoryClientFacadeImpl | getInventoryClientFacadeImpl()
Returns the OrderClientFacadeImplinstance.
|
protected com.ibm.commerce.inventory.datatypes.InventoryFactory | getInventoryFactory()
Returns the OrderFactoryinstance.
|
protected Oagis9Factory | getOagis9Factory()
Returns the Oagis9Factoryinstance.
|
com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType | getShowProductAvailability()
This method gets the showProductAvailability
|
void | performExecute()
This method performs the main logic of the task command
|
void | reset()
reset
|
void | setAction(java.lang.String argAction)
This method sets the action
|
void | setCatalogEntry(CatalogEntryAccessBean catalogAB)
This method sets the catalog entry
|
void | setShowProductAvailability(com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType argShowProductAvailability) |
void | setSKU(java.lang.String argSku)
This method sets the istrSKU
|
void | validateParameters()
Extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String EC_ACTION
public static final java.lang.String EXPRESSION_LANGUAGE_XPATH
public void setAction(java.lang.String argAction)
public com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType getShowProductAvailability()
public void setSKU(java.lang.String argSku)
public void setCatalogEntry(CatalogEntryAccessBean catalogAB)
public CatalogEntryAccessBean getCatalogEntry()
public void reset()
public java.lang.String getAction()
protected GetType composeGet() throws ECException
public void validateParameters() throws ECException
public void performExecute() throws ECException
protected com.ibm.commerce.inventory.datatypes.GetProductAvailabilityType composeGetProductAvailability() throws ECException
protected com.ibm.commerce.inventory.datatypes.ProductAvailabilityType composeProductAvailability() throws ECException
public void setShowProductAvailability(com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType argShowProductAvailability)
protected com.ibm.commerce.foundation.datatypes.CommerceFoundationFactory getCommerceFoundationFactory()
protected com.ibm.commerce.inventory.datatypes.InventoryFactory getInventoryFactory()
protected Oagis9Factory getOagis9Factory()
protected java.lang.String format(java.util.Date aDate)
protected com.ibm.commerce.foundation.datatypes.ContextDataType composeContextData(java.lang.String astrName, java.lang.String astrValue) throws ECException
protected com.ibm.commerce.foundation.datatypes.ApplicationAreaType composeApplicationArea() throws ECException
protected InventoryClientFacadeImpl getInventoryClientFacadeImpl()