java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.command.BusinessPolicyCommandImpl | +--com.ibm.commerce.messaging.commands.TransferShopcartCmdImpl
TransferShopcartCmdImpl
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field |
Fields inherited from class com.ibm.commerce.command. BusinessPolicyCommandImpl |
policyId,
requestProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.messaging.commands. TransferShopCartPolicyCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
TransferShopcartCmdImpl() Default constructor for TransferShopcartCmdImpl |
Method Summary | |
---|---|
boolean |
getAuthenticationRequired() Gets the flag indicating whether the partner requires a userid and password on the request message. |
boolean |
getBackOrders() Gets the flag indicating whether the partner accepts shopcarts with items whose availability is zero. |
java.lang.String |
getCollabSpace() Gets the Crossworlds collaboration space. |
boolean |
getEnabled() Gets the flag indicating whether the partner accepts this request. |
java.lang.String |
getName() Gets the unique identifier for the partner. |
java.lang.String |
getPolicy() Gets the policy name. |
long |
getTimeout() Gets the number of seconds that the command will wait for a response. |
java.lang.String |
getUomStandard() Gets the unit of measure standard. |
void |
performExecute() Executes the command. |
void |
setAuthenticationRequired(boolean authenticationRequired) Sets the flag indicating whether the partner requires a userid and password on the request message. |
void |
setBackOrders(boolean backOrders) Sets the flag indicating whether the partner accepts shopcarts with items whose availability is zero. |
void |
setCollabSpace(java.lang.String collabSpace) Sets the collaboration space. |
void |
setEnabled(boolean enabled) Sets the flag indicating whether the partner accepts this request. |
void |
setName(java.lang.String name) Sets the unique identifier for a partner. |
void |
setPolicy(java.lang.String policy) Sets the policy name. |
void |
setRequestProperties(
TypedProperty requestProperties) Sets the request properties for the policy. |
void |
setShoppingCartTransferRequest(com.ibm.commerce.domain.order.ShoppingCartTransferRequest requestObj) Sets the value of the shopping cart transfer request data object. |
void |
setTimeout(long timeout) Sets the number of seconds that the command will wait for a response before failing the request. |
void |
setUomStandard(java.lang.String uomStandard) Sets the unit of measure standard. |
void |
validateParameters() Checks and validates the mandatory parameters. |
Methods inherited from class com.ibm.commerce.command. BusinessPolicyCommandImpl |
getPolicyId,
getRequestProperties,
setPolicyId |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
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.messaging.commands. TransferShopCartPolicyCmd |
setShoppingCartTransferRequest |
Methods inherited from interface com.ibm.commerce.command. BusinessPolicyCommand |
getPolicyId,
getRequestProperties,
setPolicyId |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public TransferShopcartCmdImpl()
Method Detail |
---|
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- if the parameters are not valid.public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- Raised with _ERR_CMD_BAD_PARAM_CMD if the command cannot be
executed.public void setRequestProperties(TypedProperty requestProperties)
setRequestProperties
in interface
BusinessPolicyCommand
setRequestProperties
in class
BusinessPolicyCommandImpl
requestProperties
- The request
properties.public java.lang.String getCollabSpace()
public void setCollabSpace(java.lang.String collabSpace)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The unique identifier for the
partner.public java.lang.String getPolicy()
public void setPolicy(java.lang.String policy)
public java.lang.String getUomStandard()
public void setUomStandard(java.lang.String uomStandard)
uomStandard
- The unit of measure standard to be
used.public boolean getBackOrders()
public void setBackOrders(boolean backOrders)
backOrders
- The flag indicating that the partner accepts
shopcarts with items whose availability is zero.public long getTimeout()
public void setTimeout(long timeout)
timeout
- The number of seconds before a timeout failure will
occur.public boolean getEnabled()
public void setEnabled(boolean enabled)
enabled
- The flag indicating if the partner accepts the
request.public boolean getAuthenticationRequired()
public void setAuthenticationRequired(boolean authenticationRequired)
authenticationRequired
- The flag indicating if a userid and
password are required.public void setShoppingCartTransferRequest(com.ibm.commerce.domain.order.ShoppingCartTransferRequest requestObj) throws ECSystemException
ECSystemException
- if the data object is not
understood.