java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl
com.ibm.commerce.orderitems.commands.OrderItemUpdateCmdImpl
com.ibm.commerce.requisitionlist.commands.RequisitionListItemUpdateCmdImpl
Add, update and delete items in a requisition list. This command uses the following AccessBeans:
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
protected java.lang.Long | iRequisitionListId The id of the requisition list. |
protected java.lang.String | iRequisitionListName The name of the requisition list. |
protected java.lang.String | iRequisitionListStatus The status of the requisition list. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.requisitionlist.commands.RequisitionListItemUpdateCmd |
defaultCommandClassName, NAME, RLBadPartNumberErrorView, RLInvalidInputErrorView |
Fields inherited from interface com.ibm.commerce.orderitems.commands.OrderItemAddCmd |
badPartNumberErrorView, defaultCommandClassName, NAME |
Constructor Summary | |
RequisitionListItemUpdateCmdImpl() |
Method Summary | |
protected void | checkValidStatus(OrderAccessBean orderAB) It checks the validation of the order status. |
protected java.lang.Long | getRequisitionListId() Returns the id of the requisition list. |
AccessVector | getResources() It returns the order access bean. |
protected void | migrateInterestItemsToOrderItems() It does nothing. |
void | performExecute() It just calls super.performExecute() to do work. If the super class throws exception with error view badPartNumberErrorView, it changes the error view to RLBadPartNumberErrorView. If the super class throws exception with error view InvalidInputErrorView, it changes the error view to RLInvalidInputErrorView. |
void | reset() Reset all instance variables. |
protected void | resolveOrderId() It overwrites the method in the super class. |
void | setName(java.lang.String name) Specifies the requisition list name. |
void | setRequestProperties(TypedProperty reqProperties) Sets the request properties. |
void | setRequisitionListId(java.lang.Long id) Specifies the requisition list id. |
void | setStatus(java.lang.String status) Specifies the status of the requisition list. |
protected void | unLockOrder(java.lang.String orderId) It unlocks the order. |
protected void | updateFulfillmentCenter() It does nothing. |
protected void | updateOrderItem(OrderItemAccessBean orderitemAB, java.lang.Integer i) It updates the order item. |
protected void | updateOutOrderName() It adds the order id and the requisition list id to the output response property. |
protected void | updatePrice() It does nothing. |
protected void | updateRequisitionListName() It updates the requisition list name. |
void | validateParameters() Validate the input parameters. |
protected void | validateTradingPaymentMethods() Does nothing. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.orderitems.commands.OrderItemUpdateCmd |
getDeletedOrderItemIds, getNewOrderItemIds, getOrderIds, getOrderItemIds, setAddressId, setAttrName, setAttrValue, setCatEntryId, setComment, setConfigurationId, setContinue, setContractId, setCorrelationGroup, setDescription, setExpandConfigurationId, setField1, setField2, setListId, setMemberId, setOfferId, setOrderComment, setOrderDesc, setOrderId, setOrderItemId, setOutOrderItemName, setOutOrderName, setPartNumber, setQuantity, setShipmodeId, setTradingId, setUom |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
protected java.lang.Long iRequisitionListId
protected java.lang.String iRequisitionListStatus
protected java.lang.String iRequisitionListName
Constructor Detail |
public RequisitionListItemUpdateCmdImpl()
Method Detail |
protected void checkValidStatus(OrderAccessBean orderAB) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected java.lang.Long getRequisitionListId()
public AccessVector getResources()
protected void migrateInterestItemsToOrderItems()
public void performExecute() throws ECException
public void reset()
protected void resolveOrderId() throws ECException
public void setName(java.lang.String name)
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public void setRequisitionListId(java.lang.Long id)
public void setStatus(java.lang.String status)
protected void unLockOrder(java.lang.String orderId) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateFulfillmentCenter()
protected void updateOrderItem(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateOutOrderName()
protected void updatePrice()
protected void updateRequisitionListName() throws ECException
public void validateParameters() throws ECException
It checks the validation of the follwoing parameter values:
Exception:
protected void validateTradingPaymentMethods()
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.