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 FormModifier 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, 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 void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAction(java.lang.String astrAction)
setAction
in interface GetOrderCmd
astrAction
- the invocation service action.public void setOrderId(java.lang.Long anOrderId)
setOrderId
in interface GetOrderCmd
anOrderID
- the order ID.public void setExternalOrderId(java.lang.String astrExternalOrderId)
setExternalOrderId
in interface GetOrderCmd
astrExternalOrderID
- the external order ID.public java.lang.String getCustomerOrderNumber()
public void setCustomerOrderNumber(java.lang.String astrCustomerOrderNumber)
setCustomerOrderNumber
in interface GetOrderCmd
astrCustomerOrderNumber
- the customer order number.public void setBuyerOrganizationId(java.lang.Long anBuyerOrganizationId)
setBuyerOrganizationId
in interface GetOrderCmd
anBuyerOrganizationID
- the buyer organization ID.public void setCustomerId(java.lang.Long anCustomerId)
setCustomerId
in interface GetOrderCmd
anCustomerID
- the customer ID.public void setBeginIndex(java.lang.Integer anBeginIndex)
setBeginIndex
in interface GetOrderCmd
anBeginIndex
- the begin index (one-based, inclusive).public void setEndIndex(java.lang.Integer anEndIndex)
setEndIndex
in interface GetOrderCmd
anEndIndex
- the end index (one-based, inclusive).public java.lang.Integer getTotalNumberOfOrdersFound()
getTotalNumberOfOrdersFound
in interface GetOrderCmd
public com.ibm.commerce.order.datatypes.OrderType[] getOrders()
getOrders
in interface GetOrderCmd
public void setOrders(com.ibm.commerce.order.datatypes.OrderType[] aOrders)
aOrders
- the orders.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