java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.orderquotation.commands.OrderQuotationRequestCmdImpl
Requests order quotations for shopping carts.
Field Summary |
---|
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.orderquotation.commands. OrderQuotationRequestCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
---|---|
OrderQuotationRequestCmdImpl() |
Method Summary | |
---|---|
java.lang.String[] |
getDeleteOrderQuotationRelIds() Gets the order quotation rel ids to be deleted. |
java.lang.String[] |
getOrderIds() Gets the shopcarts for which quotations are to be requested. |
java.lang.String[] |
getOutOrderQuotationRelIdName() Gets the outOrderQuotationRelIdName. |
java.util.Hashtable |
getQuotationContractIds() Gets the quotationContractIds map. |
java.util.Hashtable |
getQuotationPasswords() Gets the quotationPasswords map. |
java.util.Hashtable |
getQuotationStoreIds() Gets the quotationStoreIds map. |
java.lang.String |
getQuotationType() Gets the quotation type. |
java.util.Hashtable |
getQuotationUserIds() Gets the quotationUserIds map. |
AccessVector |
getResources() Gets the vector of resources accessed by this command. |
java.lang.String |
getURL() Gets the URL |
void |
performExecute() Executes the command. |
void |
reset() Resets the command. |
void |
setDeleteOrderQuotationRelIds(java.lang.String[] deleteOrderQuotationRelIds) (Optional) Sets the order quotation rel ids to be deleted along with their child Orders, if their type is either "initial" or "final", and if their parent Orders are one of the shopcarts specified by the orderId parameter. |
void |
setOrderIds(java.lang.String[] orderIds) (Optional) Sets the shopcarts for which quotations are to be requested. |
void |
setOutOrderQuotationRelIdName(java.lang.String[] outOrderQuotationRelIdName) (Optional) Sets the outOrderQuotationRelIdName. |
void |
setQuotationContractIds(java.util.Hashtable quotationContractIds) (Optional) Sets the quotationContractIds. |
void |
setQuotationPasswords(java.util.Hashtable quotationPasswords) (Optional) Sets the quotationPasswords. |
void |
setQuotationStoreIds(java.util.Hashtable quotationStoreIds) (Optional) Sets the quotationStoreIds. |
void |
setQuotationType(java.lang.String quotationType) (Optional) Sets the quotation type. |
void |
setQuotationUserIds(java.util.Hashtable quotationUserIds) (Optional) Sets the quotationUserIds. |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the requestProperties for the command. |
void |
setURL(java.lang.String URL) Sets the URL |
void |
validateParameters() Checks mandatory parameters. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
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.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 |
Constructor Detail |
---|
public OrderQuotationRequestCmdImpl()
Method Detail |
---|
public java.lang.String getURL()
public void setURL(java.lang.String URL)
URL
- The URL to setpublic void reset()
reset
in class
AbstractECTargetableCommand
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
- Raised with message
_ERR_BAD_MISSING_CMD_PARAMETER if storeId, URL is not specified or
quotationType is not valid.ECException
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECSystemException
- Raised with message _ERR_CREATE_EXCEPTION if
there is a javax.ejb.CreateException, _ERR_FINDER_EXCEPTION if there is a
javax.ejb.FinderException, _ERR_NAMING_EXCEPTION if there is a
javax.naming.NamingException, _ERR_REMOTE_EXCEPTION if there is a
java.rmi.RemoteException.ECException
public void setRequestProperties(TypedProperty aRequestProperties) throws ECException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
aRequestProperties
- The request properties. This parameter
includes the following name value pairs:
ECException
- These exceptions are allowed to percolate.public AccessVector getResources() throws ECException
getResources
in interface
ECCommand
getResources
in class
AbstractECTargetableCommand
ECException
- These exceptions are allowed to percolate.public java.lang.String[] getOrderIds()
public void setOrderIds(java.lang.String[] orderIds)
orderIds
- The orderIds of the shopcarts.public java.lang.String getQuotationType()
public void setQuotationType(java.lang.String quotationType)
quotationType
- The quotation type to set.public void setQuotationStoreIds(java.util.Hashtable quotationStoreIds)
quotationStoreIds
- The map of quotationStoreIds to set. This
map and the other 3 maps should have the corresponding set of data for a
request all at the same key value.public java.util.Hashtable getQuotationStoreIds()
public java.util.Hashtable getQuotationContractIds()
public void setQuotationContractIds(java.util.Hashtable quotationContractIds)
quotationContractIds
- The map of quotationContractIds to set.
This map and the other 3 maps should have the corresponding set of data for a
request all at the same key value.public java.util.Hashtable getQuotationUserIds()
public void setQuotationUserIds(java.util.Hashtable quotationUserIds)
quotationUserIds
- The map of quotationUserIds to set. This
map and the other 3 maps should have the corresponding set of data for a
request all at the same key value.public java.util.Hashtable getQuotationPasswords()
public void setQuotationPasswords(java.util.Hashtable quotationPasswords)
quotationPasswords
- The map of quotationPasswords to set.
This map and the other 3 maps should have the corresponding set of data for a
request all at the same key value.public java.lang.String[] getOutOrderQuotationRelIdName()
public void setOutOrderQuotationRelIdName(java.lang.String[] outOrderQuotationRelIdName)
outOrderQuotationRelIdName
- The array of
outOrderQuotationRelIdName to setpublic java.lang.String[] getDeleteOrderQuotationRelIds()
public void setDeleteOrderQuotationRelIds(java.lang.String[] deleteOrderQuotationRelIds)
deleteOrderQuotationRelIds
- The order quotation rel ids to be
deleted.