public class SynchronizeOnhandInventoryRecordTaskCmdImpl
extends com.ibm.commerce.fulfillment.commands.SynchronizeInventoryBaseTaskCmdImpl
implements com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
SynchronizeOnhandInventoryRecordTaskCmd
task command.
Name | Description |
---|---|
FulfillmentCenterId |
the id of fulfillment center that need synchronize inventory |
MemberId |
the owner of the inventory |
QuantityOnHand |
the request quantity of on hand inventory |
SKUNumber |
the request sku of on hand inventory |
Units |
the request Units of on hand inventory |
ActionCode |
the action to indicate add, update or delete |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
SynchronizeOnhandInventoryRecordTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionCode()
This method gets the action code that indicates updating inventory or deleting inventory
|
java.lang.Integer |
getFulfillmentCenterId()
This method gets the fulfillment center id
|
java.lang.Long |
getMemberId()
This method gets the member id
|
java.lang.Double |
getQuantityOnHand()
This method gets the on hand quantity
|
java.lang.String |
getSKUNumber()
This method gets the sku
|
java.lang.Integer |
getStoreId()
This method gets the store id
|
java.lang.String |
getUnits()
This method gets the unit
|
void |
performExecute()
This method performs the main logic of the task command
|
void |
reset()
This method should be called after a command has been executed to reset
its states variables.
|
void |
setActionCode(java.lang.String argActionCode)
This method sets the action code that indicates updating inventory or deleting inventory
|
void |
setFulfillmentCenterId(java.lang.Integer fulfillmentCenterId)
This method sets the fulfillment center id
|
void |
setMemberId(java.lang.Long memberId)
This method sets the member id
|
void |
setQuantityOnHand(java.lang.Double quantityOnHand)
This method sets the on hand quantity
|
void |
setSKUNumber(java.lang.String number)
This method sets the SKU
|
void |
setStoreId(java.lang.Integer storeId)
This method sets the store id
|
void |
setUnits(java.lang.String anUnits)
This method sets the unit
|
getFulfillmentCenterIds, setFulfillmentCenterIds
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public SynchronizeOnhandInventoryRecordTaskCmdImpl()
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 java.lang.Integer getFulfillmentCenterId()
getFulfillmentCenterId
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
public void setFulfillmentCenterId(java.lang.Integer fulfillmentCenterId)
setFulfillmentCenterId
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
fulfillmentCenterId
- The iFulfillmentCenterId to set.public java.lang.Long getMemberId()
getMemberId
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
public void setMemberId(java.lang.Long memberId)
setMemberId
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
memberId
- The iMemberId to set.public java.lang.Double getQuantityOnHand()
getQuantityOnHand
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
public void setQuantityOnHand(java.lang.Double quantityOnHand)
setQuantityOnHand
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
quantityOnHand
- The iQuantityOnHand to set.public java.lang.String getSKUNumber()
getSKUNumber
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
public void setSKUNumber(java.lang.String number)
setSKUNumber
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
number
- The iSKUNumber to set.public java.lang.Integer getStoreId()
getStoreId
in interface ECCommand
getStoreId
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
getStoreId
in class AbstractECTargetableCommand
public void setStoreId(java.lang.Integer storeId)
setStoreId
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
storeId
- The iStoreId to set.public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.commerce.fulfillment.commands.SynchronizeInventoryBaseTaskCmdImpl
public java.lang.String getUnits()
getUnits
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
public void setUnits(java.lang.String anUnits)
setUnits
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
anUnits
- The units to set.public java.lang.String getActionCode()
getActionCode
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
public void setActionCode(java.lang.String argActionCode)
setActionCode
in interface com.ibm.commerce.fulfillment.commands.SynchronizeOnhandInventoryRecordTaskCmd
argActionCode
- The actionCode to set.