public class ResolveOrderItemsCmdImpl extends TaskCommandImpl implements ResolveOrderItemsCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT |
ALL_AND_NEW_ORDERITEMS, ALL_ORDERITEMS, ALLOCATED, AVAILABILITY_FUTURE, AVAILABILITY_PAST_PRESENT, AVAILABILITY_UNKNOWN, BACK_ORDERED, CORRELATION_GROUP, CURRENT, CURRENT_ORDERITEM, defaultCommandClassName, DISCONTINUED, INVALID, NAME, NEW_ORDERITEM, NO_ORDERITEM, UNALLOCATED, VALID| Constructor and Description |
|---|
ResolveOrderItemsCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long[] |
getAffectedOrderIds() |
OrderAccessBean[] |
getAffectedOrders() |
java.lang.String |
getCurrentOrDiscontinued()
Deprecated.
This method returned data for an unsupported operation. It should not be used.
|
static ResolveOrderItemsCmd |
getInstance(CommandContext aCommandContext)
Returns the instance from the transaction cache.
|
java.lang.Long[] |
getOrderIds() |
java.lang.Long[] |
getOrderItemIds() |
OrderItemAccessBean[] |
getOrderItems() |
OrderAccessBean[] |
getOrders() |
boolean |
isNewOrderItem() |
boolean |
isNewPendingOrder() |
boolean |
isSetToCurrent() |
void |
performExecute()
This method performs the business logic for this command.
|
static void |
releaseInstance(CommandContext aCommandContext)
Releases the instance from the transaction cache, if there is one in the transaction cache.
|
static void |
releaseInstance(java.lang.Integer anStoreId)
Releases the instance from the transaction cache, if there is one in the transaction cache.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setMemberId(java.lang.Long memberId) |
void |
setOrderAbbreviations(java.lang.String[] orderAbbreviations) |
void |
setOrderItemAbbreviations(java.lang.String[] orderItemAbbreviations) |
void |
setStoreId(java.lang.Integer storeId) |
void |
setStrict(boolean strict) |
void |
validateParameters()
This method performs server side parameter checking.
|
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 static ResolveOrderItemsCmd getInstance(CommandContext aCommandContext) throws ECException
aCommandContext - The command context as CommandContext object.ECExceptionpublic static void releaseInstance(CommandContext aCommandContext)
aCommandContext - The command context as CommandContext object.public static void releaseInstance(java.lang.Integer anStoreId)
anStoreId - The storeId used to identify the instance.public java.lang.Long[] getAffectedOrderIds()
getAffectedOrderIds in interface ResolveOrderItemsCmdpublic OrderAccessBean[] getAffectedOrders()
getAffectedOrders in interface ResolveOrderItemsCmdpublic java.lang.String getCurrentOrDiscontinued()
getCurrentOrDiscontinued in interface ResolveOrderItemsCmdpublic java.lang.Long[] getOrderIds()
getOrderIds in interface ResolveOrderItemsCmdpublic java.lang.Long[] getOrderItemIds()
getOrderItemIds in interface ResolveOrderItemsCmdpublic OrderItemAccessBean[] getOrderItems()
getOrderItems in interface ResolveOrderItemsCmdpublic OrderAccessBean[] getOrders()
getOrders in interface ResolveOrderItemsCmdpublic boolean isNewOrderItem()
isNewOrderItem in interface ResolveOrderItemsCmdpublic boolean isNewPendingOrder()
isNewPendingOrder in interface ResolveOrderItemsCmdpublic boolean isSetToCurrent()
isSetToCurrent in interface ResolveOrderItemsCmdpublic void performExecute()
throws ECException
AbstractECTargetableCommandperformExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
AbstractECTargetableCommandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setMemberId(java.lang.Long memberId)
setMemberId in interface ResolveOrderItemsCmdpublic void setOrderAbbreviations(java.lang.String[] orderAbbreviations)
setOrderAbbreviations in interface ResolveOrderItemsCmdpublic void setOrderItemAbbreviations(java.lang.String[] orderItemAbbreviations)
setOrderItemAbbreviations in interface ResolveOrderItemsCmdpublic void setStoreId(java.lang.Integer storeId)
setStoreId in interface ResolveOrderItemsCmdpublic void setStrict(boolean strict)
setStrict in interface ResolveOrderItemsCmdpublic void validateParameters()
throws ECException
AbstractECTargetableCommandcheckParameters() method from version 5.1.
The default implementation of validateParameters() is a no op.
It is the responsibility of the command writers to implement this method if they want to perform
server side parameter checking.validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException