public interface GetOrderCmd extends TaskCommand
GetOrder
SDO from the search criteria specified and make the
GetOrder
service request with it and the
invocation service action specified.
The default implementation of this command is
GetOrderCmdImpl
.OrderClientFacadeImpl
,
InvocationService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_GET_ORDER
The invocation service action
GetOrder . |
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation of this command.
|
static java.lang.String |
NAME
The full name of this command.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.order.datatypes.OrderType[] |
getOrders()
Returns the orders.
|
java.lang.Integer |
getTotalNumberOfOrdersFound()
Returns the total number of orders found.
|
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.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String ACTION_GET_ORDER
GetOrder
.void setAction(java.lang.String astrAction)
astrAction
- the invocation service action.void setOrderId(java.lang.Long anOrderId)
anOrderId
- the order ID.void setExternalOrderId(java.lang.String astrExternalOrderId)
astrExternalOrderId
- the external order ID.void setCustomerOrderNumber(java.lang.String astrCustomerOrderNumber)
astrCustomerOrderNumber
- the customer order number.void setBuyerOrganizationId(java.lang.Long anBuyerOrganizationId)
anBuyerOrganizationId
- the buyer organization ID.void setCustomerId(java.lang.Long anCustomerId)
anCustomerID
- the customer ID.void setBeginIndex(java.lang.Integer anBeginIndex)
anBeginIndex
- the begin index (one-based, inclusive).void setEndIndex(java.lang.Integer anEndIndex)
anEndIndex
- the end index (one-based, inclusive).java.lang.Integer getTotalNumberOfOrdersFound()
com.ibm.commerce.order.datatypes.OrderType[] getOrders()