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, 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 static ResolveOrderItemsCmd getInstance(CommandContext aCommandContext) throws ECException
aCommandContext
- The command context as CommandContext
object.ECException
public 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 ResolveOrderItemsCmd
public OrderAccessBean[] getAffectedOrders()
getAffectedOrders
in interface ResolveOrderItemsCmd
public java.lang.String getCurrentOrDiscontinued()
getCurrentOrDiscontinued
in interface ResolveOrderItemsCmd
public java.lang.Long[] getOrderIds()
getOrderIds
in interface ResolveOrderItemsCmd
public java.lang.Long[] getOrderItemIds()
getOrderItemIds
in interface ResolveOrderItemsCmd
public OrderItemAccessBean[] getOrderItems()
getOrderItems
in interface ResolveOrderItemsCmd
public OrderAccessBean[] getOrders()
getOrders
in interface ResolveOrderItemsCmd
public boolean isNewOrderItem()
isNewOrderItem
in interface ResolveOrderItemsCmd
public boolean isNewPendingOrder()
isNewPendingOrder
in interface ResolveOrderItemsCmd
public boolean isSetToCurrent()
isSetToCurrent
in interface ResolveOrderItemsCmd
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setMemberId(java.lang.Long memberId)
setMemberId
in interface ResolveOrderItemsCmd
public void setOrderAbbreviations(java.lang.String[] orderAbbreviations)
setOrderAbbreviations
in interface ResolveOrderItemsCmd
public void setOrderItemAbbreviations(java.lang.String[] orderItemAbbreviations)
setOrderItemAbbreviations
in interface ResolveOrderItemsCmd
public void setStoreId(java.lang.Integer storeId)
setStoreId
in interface ResolveOrderItemsCmd
public void setStrict(boolean strict)
setStrict
in interface ResolveOrderItemsCmd
public void validateParameters() throws ECException
AbstractECTargetableCommand
checkParameters()
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 ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException