public class OrderQuotationRequestCmdImpl extends ControllerCommandImpl implements OrderQuotationRequestCmd
OrderQuotationRequestCmd
controller command.
redirecturl
response property to the value specified by the URL parameter. And adding response properties with names and values as specified by the outOrderQuotationRelIdName parameter.defaultCommandClassName, NAME
Constructor and Description |
---|
OrderQuotationRequestCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getDeleteOrderQuotationRelIds()
Gets the order quotation relation ids to be deleted.
|
java.lang.String[] |
getOrderIds()
Gets the shopping carts 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 business logic of this command implementation.
|
void |
reset()
Resets the command.
|
void |
setDeleteOrderQuotationRelIds(java.lang.String[] deleteOrderQuotationRelIds)
(Optional) Sets the order quotation relation ids to be deleted along with their child Orders: if their
type is either "initial" or "final".
|
void |
setOrderIds(java.lang.String[] orderIds)
(Optional) Sets the shopping carts 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) This method 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.
|
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, 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 java.lang.String getURL()
public void setURL(java.lang.String URL)
URL
- The URL to setpublic void reset()
reset
in interface com.ibm.websphere.command.Command
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 interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
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 shopping carts.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 relation ids to be deleted.