public class RequisitionListItemUpdateCmdImpl extends OrderItemUpdateCmdImpl implements RequisitionListItemUpdateCmd
RequisitionListItemUpdateCmd controller command.
Input parameters:
| Name | Type | Requirement | Description |
|---|---|---|---|
requisitionListId |
Long | optional | The requisition list ID |
| name | String | optional | The requisition list name |
| ... | The name value pairs similar to OrderItemUpdate |
Output parameters:
| Name | Type | Description |
|---|---|---|
| ... | The output similar to OrderItemUpdate |
Behavior:
OrderItemUpdate command
is replaced by requisitionListId.requisitionListId does not support abbreviation. It must
be a number.RequisitionListItemUpdate and
OrderItemUpdate:
RequisitionListItemUpdate does not take parameter
offerId and contractId because there is no price
calculation for the requisition list item.catEntryId and quantity.
requisitionListId is specified, the item will be
added to the requisition list.requisitionListId is not specified, the item will be
added to a new created private requisition list.
View:
RedirectView.AccessBeans:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
GENERATED_ORDERITEM, MANUAL_FULFILLMENT_CENTER, MANUAL_PRICE, NORMAL_ORDERITEM, STR_INVALID_INPUT_ERROR_VIEWdefaultCommandClassName, NAME, RLBadPartNumberErrorView, RLInvalidInputErrorViewbadPartNumberErrorView, defaultCommandClassName, NAME| Constructor and Description |
|---|
RequisitionListItemUpdateCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
AccessVector |
getResources()
This method returns the order access bean.
|
java.lang.String |
getStatus()
This method returns the status of the requisition list.
|
java.lang.String |
getType()
This method returns the type of the requisition list.
|
void |
performExecute()
This method performs the main business logic.
|
void |
reset()
This method resets all instance variables.
|
void |
setName(java.lang.String name)
This method specifies the requisition list name.
|
void |
setRequestProperties(TypedProperty reqProperties)
This method sets the request properties.
|
void |
setRequisitionListId(java.lang.Long id)
This method specifies the requisition list ID.
|
void |
setStatus(java.lang.String status)
This method specifies the status of the requisition list.
|
void |
setType(java.lang.String type)
This method specifies the type of the created requisition list.
|
void |
validateParameters()
This method validates the input parameters.
|
getATPParms, getCalculationUsageIds, getDeletedOrderItemCatEntryIds, getDeletedOrderItemIds, getIsExpedited, getNewOrderId, getNewOrderItemIds, getNonBuyableCatentryIds, getOrderField1, getOrderField2, getOrderField3, getOrderIds, getOrderItemIds, getOutOfInvItems, getRepriceOrderFlag, getResolvedRequestProperties, getTheUser, getTheUserId, getTieShipCode, setAddressId, setATPParms, setAttrName, setAttrValue, setCalculationUsageIds, setCarrAccntNum, setCatEntryId, setChargeTypes, setComment, setComp_priceLocks, setComp_prices, setComp_quantities, setCompListId, setConfiguration, setConfigurationId, setContinue, setContractId, setCorrelationGroup, setDescription, setDk_price, setDk_priceLock, setDoPrice, setExpandConfigurationId, setField1, setField2, setFulfillmentCenterId, setIsExpedited, setListId, setMemberId, setOfferId, setOrderComment, setOrderDesc, setOrderField1, setOrderField2, setOrderField3, setOrderId, setOrderItemId, setOutOrderItemName, setOutOrderName, setPartNumber, setPhysicalStoreId, setQuantity, setQuantity, setRepriceOrderFlag, setRequestedShipDate, setShipAsComplete, setShipInstructions, setShipmodeId, setTieShipCode, setTradingId, setUomcheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, 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, waitgetDeletedOrderItemIds, getNewOrderItemIds, getOrderIds, getOrderItemIds, getOutOfInvItems, setAddressId, setAttrName, setAttrValue, setCatEntryId, setComment, setCompListId, setConfigurationId, setContinue, setContractId, setCorrelationGroup, setDescription, setExpandConfigurationId, setField1, setField2, setFulfillmentCenterId, setListId, setMemberId, setOfferId, setOrderComment, setOrderDesc, setOrderId, setOrderItemId, setOutOrderItemName, setOutOrderName, setPartNumber, setQuantity, setRequestedShipDate, setShipmodeId, setTradingId, setUomcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AccessVector getResources()
getResources in interface ECCommandgetResources in class OrderItemBaseCmdImplECExceptionpublic void performExecute()
throws ECException
badPartNumberErrorView error view, it changes the error view
to RLBadPartNumberErrorView.InvalidInputErrorView error view, it changes the error view
to RLInvalidInputErrorView.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class OrderItemBaseCmdImplECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class OrderItemBaseCmdImplpublic void setName(java.lang.String name)
setName in interface RequisitionListItemUpdateCmdname - The requisition list name.public void setRequestProperties(TypedProperty reqProperties) throws ECException
setRequestProperties in interface ControllerCommandsetRequestProperties in class OrderItemBaseCmdImplreqProperties - The request properties.ECExceptionpublic void setRequisitionListId(java.lang.Long id)
setRequisitionListId in interface RequisitionListItemUpdateCmdid - The requisition list ID.public void setStatus(java.lang.String status)
setStatus in interface RequisitionListItemUpdateCmdstatus - The status of the requisition list.public void setType(java.lang.String type)
setType in interface RequisitionListItemUpdateCmdtype - The type of the created requisition list.public void validateParameters()
throws ECException
It checks whether the request can cause the size of the requisition list, as well as the requested quantity, to exceed business threshold. Then it checks the validation of the following parameter values:
requisitionListIdiRequisitionListStatusiRequisitionListType
Exception:
requisitionListId is not a valid order ID.
InvalidInputErrorView, it changes the error view to
RLInvalidInputErrorView.validateParameters in interface ECCommandvalidateParameters in class OrderItemBaseCmdImplECExceptionpublic java.lang.String getStatus()
public java.lang.String getType()