public class TransferShopcartCmdImpl extends BusinessPolicyCommandImpl implements TransferShopCartPolicyCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field
|
defaultCommandClassName, NAME
Constructor and Description |
---|
TransferShopcartCmdImpl()
The default constructor for TransferShopcartCmdImpl calls its parents constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAuthenticationRequired()
This method gets the flag indicating whether the partner requires
a userid and password on the request message.
|
boolean |
getBackOrders()
This method gets the flag indicating whether the partner accepts shopping carts
with items whose availability is zero.
|
java.lang.String |
getCollabSpace()
This method gets the collaboration space name.
|
boolean |
getEnabled()
This method gets the flag indicating whether the partner will accept this request.
|
java.lang.String |
getName()
This method gets the unique identifier for the partner.
|
java.lang.String |
getPolicy()
This method gets the policy name.
|
long |
getTimeout()
This method gets the number of seconds that the command will wait for a response.
|
java.lang.String |
getUomStandard()
This method gets the unit of measure standard.
|
void |
performExecute()
This method sends the shopping cart transfer message.
|
void |
setAuthenticationRequired(boolean isAuthenticationRequired)
This method sets the flag indicating whether the partner requires
a userid and password on the request message.
|
void |
setBackOrders(boolean newBackOrders)
This method sets the flag indicating whether the partner accepts shopping carts
with items whose availability is zero.
|
void |
setCollabSpace(java.lang.String newCollabSpace)
This method sets the collaboration space name.
|
void |
setEnabled(boolean isEnabled)
This method sets the flag indicating whether the partner accepts this request.
|
void |
setName(java.lang.String newName)
This method sets the unique identifier for a partner.
|
void |
setPolicy(java.lang.String newPolicy)
This method sets the policy name.
|
void |
setRequestProperties(TypedProperty requestProperties)
This method sets the request properties for the policy.
|
void |
setShoppingCartTransferRequest(com.ibm.commerce.domain.order.ShoppingCartTransferRequest requestObj)
This method sets the value of the shopping cart transfer request data object.
|
void |
setTimeout(long newTimeout)
This method sets the number of seconds that the command will wait for a response
before failing the request.
|
void |
setUomStandard(java.lang.String newUomStandard)
This method sets the unit of measure standard.
|
void |
validateParameters()
Checks and validates the mandatory parameters by calling its parents validateParameters method.
|
getPolicyId, getRequestProperties, setPolicyId
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, 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
getPolicyId, getRequestProperties, setPolicyId
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public TransferShopcartCmdImpl()
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 interface com.ibm.websphere.command.TargetableCommand
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 newCollabSpace)
newCollabSpace
- The collaboration space name.public java.lang.String getName()
public void setName(java.lang.String newName)
newName
- The unique identifier for the partner.public java.lang.String getPolicy()
public void setPolicy(java.lang.String newPolicy)
newPolicy
- The policy name.public java.lang.String getUomStandard()
public void setUomStandard(java.lang.String newUomStandard)
newUomStandard
- The unit of measure standard to be used.public boolean getBackOrders()
public void setBackOrders(boolean newBackOrders)
newBackOrders
- The flag indicating that the partner accepts shopping carts
with items whose availability is zero.public long getTimeout()
public void setTimeout(long newTimeout)
newTimeout
- The number of seconds before a timeout failure will occur.public boolean getEnabled()
public void setEnabled(boolean isEnabled)
isEnabled
- The flag indicating if the partner accepts the request.public boolean getAuthenticationRequired()
public void setAuthenticationRequired(boolean isAuthenticationRequired)
isAuthenticationRequired
- The flag indicating if a userid and password are required.public void setShoppingCartTransferRequest(com.ibm.commerce.domain.order.ShoppingCartTransferRequest requestObj) throws ECSystemException
setShoppingCartTransferRequest
in interface TransferShopCartPolicyCmd
requestObj
- the data object containing all the
information necessary to process the request.ECSystemException
- if the data object is not understood.