public class SendShoppingCartCmdImpl extends ControllerCommandImpl implements SendShoppingCartCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright statement.
|
defaultCommandClassName, messageName, NAME
Constructor and Description |
---|
SendShoppingCartCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getBuyerId()
This method gets the buyer ID.
|
java.lang.String |
getErrorTask()
This method gets the error task name.
|
java.lang.Long |
getOrderId()
This method gets the order ID.
|
java.lang.Integer |
getProtocolId()
This method gets the protocol ID
|
AccessVector |
getResources()
This method puts order access beans into an
AccessVector |
void |
performExecute()
This method contains the business logic for this command.
|
void |
setBuyerId(java.lang.Long aBuyerId)
This method sets the buyer ID.
|
void |
setOrderId(java.lang.Long orderId)
This method sets the order ID.
|
void |
setProtocolId(java.lang.Integer aProtocolId)
This method sets the protocol ID.
|
void |
setRequestProperties(TypedProperty p)
The Web controller calls the setRequestProperties method before invoking the execute method in this command.
|
void |
validateParameters()
ControllerCommandImpl calls checkParameter in performExecute.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, 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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
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
AccessVector
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
CommandException.
ECException
public void setBuyerId(java.lang.Long aBuyerId)
aBuyerId
- The buyer ID.public void setOrderId(java.lang.Long orderId)
setOrderId
in interface SendShoppingCartCmd
orderId
- The order ID.public void setProtocolId(java.lang.Integer aProtocolId)
aProtocolId
- The protocol IDpublic void setRequestProperties(TypedProperty p) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
requestProperties
- com.ibm.commerce.datatype.TypedPropertycom.ibm.commerce.exception.ECException.
ECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException.
ECException