public abstract class AbstractFetchOrdersSOICmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements FetchOrdersCmd
OrderAccessBean
objects populated with all the
available data. The search criteria are specified by the input XPath queries.
The following XPath queries can be processed by this command:
/Order[OrderStatus[(Status=$status$)]] {ibmord.isCurrentShoppingCart=$isCurrentShoppingCart$}/Order /Order[OrderIdentifier[(UniqueID=$orderId$)]]
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.util.logging.Logger |
LOGGER
The logger of the class.
|
_IBMORD_ISCURRENTSHOPPINGCART, _STR_ORDER_ID_PARAMETER, _STR_STATUS_PARAMETER, _STR_STATUS_SEPARATOR, _STR_TYPE_PARAMETER, defaultCommandClassName, NAME
Constructor and Description |
---|
AbstractFetchOrdersSOICmdImpl() |
Modifier and Type | Method and Description |
---|---|
GetOrderType |
getGetOrderType()
This method gets the value of
GetOrderType . |
java.util.List |
getOrders()
This method gets the list of order access beans.
|
java.util.List |
getOrders(java.util.List vOrders,
java.math.BigInteger recordSetStartNumber,
java.math.BigInteger maxItems)
This methods gets a certain number of orders, with pagination performed.
|
ShowType |
getPagingParameters()
Returns the paging parameters.
|
ShowType |
getPagingPrameter()
Deprecated.
Use
getPagingParameters() instead. |
ResolveOrdersCmd |
getResolveOrdersCmd()
This method returns the instance of
ResolveOrdersCmd . |
SelectionCriteriaMapper |
getSelectionCriteria()
This method gets the selection criteria.
|
boolean |
isReadyToCallExecute() |
void |
performExecute() |
void |
reset() |
void |
setGetOrder(GetOrderType getOrder)
This method sets the value of
GetOrderType . |
void |
setPagingParameters(ShowType newPagingParameters)
Sets the paging parameters.
|
void |
setPagingPrameter(ShowType argPagingParameter)
Deprecated.
Use
setPagingParameters(ShowType) instead. |
void |
setSelectionCriteria(SelectionCriteriaMapper aSelectionCriteria)
This method set the selection criteria.
|
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
public static final java.lang.String COPYRIGHT
public static final java.util.logging.Logger LOGGER
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class com.ibm.websphere.command.TargetableCommandImpl
Command.isReadyToCallExecute()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class com.ibm.websphere.command.CacheableCommandImpl
Command.reset()
public void setGetOrder(GetOrderType getOrder)
GetOrderType
.setGetOrder
in interface FetchOrdersCmd
getOrder
- public GetOrderType getGetOrderType()
GetOrderType
.GetOrderType
public java.util.List getOrders()
getOrders
in interface FetchOrdersCmd
public java.util.List getOrders(java.util.List vOrders, java.math.BigInteger recordSetStartNumber, java.math.BigInteger maxItems)
vOrders
- A list of orders.recordSetStartNumber
- The desired start position that was passed in the request.maxItems
- The desired page size that was passed in the request.public void performExecute() throws java.lang.Exception
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
TargetableCommandImpl.performExecute()
public ResolveOrdersCmd getResolveOrdersCmd()
ResolveOrdersCmd
.ResolveOrdersCmd
.public ShowType getPagingPrameter()
getPagingParameters()
instead.getPagingPrameter
in interface FetchOrdersCmd
public void setPagingPrameter(ShowType argPagingParameter)
setPagingParameters(ShowType)
instead.setPagingPrameter
in interface FetchOrdersCmd
argPagingParameter
- The paging parameters to set.public ShowType getPagingParameters()
getPagingParameters
in interface FetchOrdersCmd
public void setPagingParameters(ShowType newPagingParameters)
setPagingParameters
in interface FetchOrdersCmd
newPagingParameters
- The paging parameters to set.public SelectionCriteriaMapper getSelectionCriteria()
public void setSelectionCriteria(SelectionCriteriaMapper aSelectionCriteria)
aSelectionCriteria
- The selection criteria to set.