public class SynchronizeExpectedInventoryRecordTaskCmdImpl extends com.ibm.commerce.fulfillment.commands.SynchronizeInventoryBaseTaskCmdImpl implements SynchronizeExpectedInventoryRecordTaskCmd
SynchronizeExpectedInventoryRecordTaskCmd
task command.
Name | Description |
---|---|
FulfillmentCenterId |
the id of fulfillment center that need synchronize inventory |
MemberId |
the owner of the inventory |
QuantityExpected |
the request quantity of expected inventory |
ItemSpecId |
the request ItemSpecId of expected inventory |
Units |
the request Units of expected inventory |
AddAction |
the action to indicate add |
DeleteAction |
the action to indicate delete |
EstimatedAvailableDateTime |
the available time |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
SynchronizeExpectedInventoryRecordTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.sql.Timestamp |
getEstimatedAvailableDateTime()
This methods gets the available time.
|
java.lang.Integer |
getFulfillmentCenterId()
This method gets the fulfillment center id
|
java.lang.Long |
getItemSpecId()
This method gets the item spec
|
java.lang.Long |
getMemberId()
This method gets the member id
|
java.lang.Double |
getQuantityExpected()
This method gets the expected 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 units
|
boolean |
isAddAction()
This method checks if new inventory entry will be added
|
boolean |
isDeleteAction()
This method checks if the existing inventory with specified SKU will be deleted
|
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 |
setAddAction(boolean anAddAction)
This method specified that new inventory entry will be added
|
void |
setDeleteAction(boolean anDeleteAction)
This method specified that the existing inventory with specified SKU will be deleted
|
void |
setEstimatedAvailableDateTime(java.sql.Timestamp anEstimatedAvailableDateTime)
This method sets the available time
|
void |
setFulfillmentCenterId(java.lang.Integer anFulfillmentCenterId)
This method sets the fulfillment center id
|
void |
setItemSpecId(java.lang.Long anItemSpecId)
This method sets the item spec
|
void |
setMemberId(java.lang.Long memberId)
This method sets the member id
|
void |
setQuantityExpected(java.lang.Double anQuantityExpected)
This method sets the expected 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 units
|
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 SynchronizeExpectedInventoryRecordTaskCmdImpl()
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 reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.commerce.fulfillment.commands.SynchronizeInventoryBaseTaskCmdImpl
public boolean isAddAction()
isAddAction
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setAddAction(boolean anAddAction)
setAddAction
in interface SynchronizeExpectedInventoryRecordTaskCmd
anAddAction
- The addAction to set.public boolean isDeleteAction()
isDeleteAction
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setDeleteAction(boolean anDeleteAction)
setDeleteAction
in interface SynchronizeExpectedInventoryRecordTaskCmd
anDeleteAction
- The deleteAction to set.public java.sql.Timestamp getEstimatedAvailableDateTime()
getEstimatedAvailableDateTime
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setEstimatedAvailableDateTime(java.sql.Timestamp anEstimatedAvailableDateTime)
setEstimatedAvailableDateTime
in interface SynchronizeExpectedInventoryRecordTaskCmd
anEstimatedAvailableDateTime
- The estimatedAvailableDateTime to set.public java.lang.Integer getFulfillmentCenterId()
getFulfillmentCenterId
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setFulfillmentCenterId(java.lang.Integer anFulfillmentCenterId)
setFulfillmentCenterId
in interface SynchronizeExpectedInventoryRecordTaskCmd
anFulfillmentCenterId
- The iFulfillmentCenterId to set.public java.lang.Long getMemberId()
getMemberId
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setMemberId(java.lang.Long memberId)
setMemberId
in interface SynchronizeExpectedInventoryRecordTaskCmd
memberId
- The iMemberId to set.public java.lang.String getSKUNumber()
getSKUNumber
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setSKUNumber(java.lang.String number)
setSKUNumber
in interface SynchronizeExpectedInventoryRecordTaskCmd
number
- The iSKUNumber to set.public java.lang.Integer getStoreId()
getStoreId
in interface ECCommand
getStoreId
in interface SynchronizeExpectedInventoryRecordTaskCmd
getStoreId
in class AbstractECTargetableCommand
public void setStoreId(java.lang.Integer storeId)
setStoreId
in interface SynchronizeExpectedInventoryRecordTaskCmd
storeId
- The iStoreId to set.public java.lang.Long getItemSpecId()
getItemSpecId
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setItemSpecId(java.lang.Long anItemSpecId)
setItemSpecId
in interface SynchronizeExpectedInventoryRecordTaskCmd
anItemSpecId
- The itemSpecId to set.public java.lang.Double getQuantityExpected()
getQuantityExpected
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setQuantityExpected(java.lang.Double anQuantityExpected)
setQuantityExpected
in interface SynchronizeExpectedInventoryRecordTaskCmd
anQuantityExpected
- The quantityExpected to set.public java.lang.String getUnits()
getUnits
in interface SynchronizeExpectedInventoryRecordTaskCmd
public void setUnits(java.lang.String anUnits)
setUnits
in interface SynchronizeExpectedInventoryRecordTaskCmd
anUnits
- The units to set.