public class GetProductAvailabilityCmdImpl extends TaskCommandImpl implements GetProductAvailabilityCmd
GetProductAvailabilityCmd
task command.
Name | Description |
---|---|
SKU |
the SKU of the product that need get productAvailability |
action |
the action that need perform |
SDO
ProcessOrderInventoryCmdImpl
,
Serialized FormModifier 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 |
ACTION_GET_PRODUCTAVAILABILITY, defaultCommandClassName, NAME
Constructor and Description |
---|
GetProductAvailabilityCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
This method gets the action
|
CatalogEntryAccessBean |
getCatalogEntry()
This method gets the CatalogEntry
|
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.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public static final java.lang.String EC_ACTION
public static final java.lang.String EXPRESSION_LANGUAGE_XPATH
XPath
public void setAction(java.lang.String argAction)
setAction
in interface GetProductAvailabilityCmd
argAction
- The istrAction to set.public com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType getShowProductAvailability()
getShowProductAvailability
in interface GetProductAvailabilityCmd
public void setSKU(java.lang.String argSku)
setSKU
in interface GetProductAvailabilityCmd
argSku
- The istrSKU to set.public void setCatalogEntry(CatalogEntryAccessBean catalogAB)
setCatalogEntry
in interface GetProductAvailabilityCmd
catalogAB
- public CatalogEntryAccessBean getCatalogEntry()
getCatalogEntry
in interface GetProductAvailabilityCmd
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public java.lang.String getAction()
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- com.ibm.commerce.exception.ECException
In case of any ECExceptionpublic void setShowProductAvailability(com.ibm.commerce.inventory.datatypes.ShowProductAvailabilityType argShowProductAvailability)
argShowProductAvailability
- The showProductAvailability to set.