java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.me.commands.SendShoppingCartCmdImpl
The SendShoppingCartCmdImpl class is defined in this file. It prepares the shopping cart Quote to be sent to procurement systems. Actual composition of the response message will be done by the view tasks this command forwards to.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
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.me.commands.SendShoppingCartCmd |
defaultCommandClassName, messageName, NAME |
Constructor Summary | |
SendShoppingCartCmdImpl() |
Method Summary | |
protected void | doProcess() Create a new instance of CIQuoteImpl. |
java.lang.Long | getBuyerId() Gets buyer id. |
java.lang.String | getErrorTask() Gets error task name |
java.lang.Long | getOrderId() Gets OrderId |
java.lang.Integer | getProtocolId() Gets protocol Id |
AccessVector | getResources() Puts order access beans into AccessVector |
boolean | isRetriable() Check to see if this command is retriable on transaction rollback exception. |
void | performExecute() This method contains the business logic for this command. |
void | setBuyerId(java.lang.Long aBuyerId) Sets buyerId |
void | setOrderId(java.lang.Long orderId) Sets orderId |
void | setProtocolId(java.lang.Integer aProtocolId) Sets protocolId |
void | setRequestProperties(TypedProperty p) The WebController calls the setRequestProperties method before invoking the execute method in this command. |
void | validateParameters() The default implementation of checkParameters is just a no op. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, 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, reset, 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.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, 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
Constructor Detail |
public SendShoppingCartCmdImpl()
Method Detail |
protected void doProcess() throws ECException
public java.lang.Long getBuyerId()
public java.lang.String getErrorTask()
public java.lang.Long getOrderId()
public java.lang.Integer getProtocolId()
public AccessVector getResources() throws ECException
public boolean isRetriable()
public void performExecute() throws ECException
public void setBuyerId(java.lang.Long aBuyerId)
public void setOrderId(java.lang.Long orderId)
public void setProtocolId(java.lang.Integer aProtocolId)
public void setRequestProperties(TypedProperty p) throws ECException
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.