public class GetOrderCmdImpl extends TaskCommandImpl implements GetOrderCmd
GetOrderCmd
task command.
composeGetOrder() to compose the
GetOrder SDO from the search criteria
specified.getOrderClientFacadeImpl() to obtain the
OrderClientFacadeImpl instance.OrderClientFacadeImpl.getOrder(String, GetOrderType)
to make the GetOrder service request with the
invocation service action and GetOrder
SDO specified.OrderClientFacadeImpl,
InvocationService,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
ACTION_GET_ORDER, defaultCommandClassName, NAME| Constructor and Description |
|---|
GetOrderCmdImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCustomerOrderNumber()
Returns the customer order number.
|
com.ibm.commerce.order.datatypes.OrderType[] |
getOrders()
Returns the orders.
|
java.lang.Integer |
getTotalNumberOfOrdersFound()
Returns the total number of orders found.
|
void |
performExecute()
Executes the business logic of this command implementation.
|
void |
reset()
Resets this command instance.
|
void |
setAction(java.lang.String astrAction)
Sets the invocation service action.
|
void |
setBeginIndex(java.lang.Integer anBeginIndex)
Sets the begin index.
|
void |
setBuyerOrganizationId(java.lang.Long anBuyerOrganizationId)
Sets the buyer organization ID.
|
void |
setCustomerId(java.lang.Long anCustomerId)
Sets the customer ID.
|
void |
setCustomerOrderNumber(java.lang.String astrCustomerOrderNumber)
Sets the customer order number.
|
void |
setEndIndex(java.lang.Integer anEndIndex)
Sets the end index.
|
void |
setExternalOrderId(java.lang.String astrExternalOrderId)
Sets the external order ID.
|
void |
setOrderId(java.lang.Long anOrderId)
Sets the order ID.
|
void |
setOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)
Sets the orders.
|
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, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setAction(java.lang.String astrAction)
setAction in interface GetOrderCmdastrAction - the invocation service action.public void setOrderId(java.lang.Long anOrderId)
setOrderId in interface GetOrderCmdanOrderID - the order ID.public void setExternalOrderId(java.lang.String astrExternalOrderId)
setExternalOrderId in interface GetOrderCmdastrExternalOrderID - the external order ID.public java.lang.String getCustomerOrderNumber()
public void setCustomerOrderNumber(java.lang.String astrCustomerOrderNumber)
setCustomerOrderNumber in interface GetOrderCmdastrCustomerOrderNumber - the customer order number.public void setBuyerOrganizationId(java.lang.Long anBuyerOrganizationId)
setBuyerOrganizationId in interface GetOrderCmdanBuyerOrganizationID - the buyer organization ID.public void setCustomerId(java.lang.Long anCustomerId)
setCustomerId in interface GetOrderCmdanCustomerID - the customer ID.public void setBeginIndex(java.lang.Integer anBeginIndex)
setBeginIndex in interface GetOrderCmdanBeginIndex - the begin index (one-based, inclusive).public void setEndIndex(java.lang.Integer anEndIndex)
setEndIndex in interface GetOrderCmdanEndIndex - the end index (one-based, inclusive).public java.lang.Integer getTotalNumberOfOrdersFound()
getTotalNumberOfOrdersFound in interface GetOrderCmdpublic com.ibm.commerce.order.datatypes.OrderType[] getOrders()
getOrders in interface GetOrderCmdpublic void setOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)
aOrders - the orders.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException