java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.orderquotation.commands.OrderQuotationCheckCmdImpl
Checks to see if child Orders exist for the specified OrderQuotationRel objects. Re-direct to one of three specified URLs depending on the result of the check.
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. OrderQuotationCheckCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
---|---|
OrderQuotationCheckCmdImpl() |
Method Summary | |
---|---|
java.lang.String |
getErrorURL() Returns the errorURL. |
java.lang.String |
getOKURL() Gets the OK URL |
java.lang.String[] |
getOrderQuotationRelIds() Gets the orderQuotationRelIds |
java.lang.String[] |
getOutOkOrderQuotationIdName() Gets the outOkOrderQuotationIdName |
java.lang.String[] |
getOutTimeoutOrderQuotationIdName() Gets the outTimeoutOrderQuotationIdName |
java.lang.String[] |
getOutWaitingOrderQuotationIdName() Gets the outWaitingOrderQuotationIdName |
AccessVector |
getResources() Gets the vector of resources accessed by this command. |
java.lang.String |
getTimeoutURL() Gets the timeoutURL. |
java.lang.String |
getWaitURL() Gets the waitURL |
void |
performExecute() Executes the command. |
void |
reset() Resets the command. |
void |
setErrorURL(java.lang.String errorURL) Sets the errorURL. |
void |
setOKURL(java.lang.String okURL) Sets the OK URL |
void |
setOrderQuotationRelIds(java.lang.String[] orderQuotationRelIds) Sets the orderQuotationRelIds |
void |
setOutOkOrderQuotationIdName(java.lang.String[] outOkOrderQuotationIdName) Sets the outOkOrderQuotationIdName |
void |
setOutTimeoutOrderQuotationIdName(java.lang.String[] outTimeoutOrderQuotationIdName) Sets the outTimeoutOrderQuotationIdName |
void |
setOutWaitingOrderQuotationIdName(java.lang.String[] outWaitingOrderQuotationIdName) Sets the outWaitingOrderQuotationIdName |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the requestProperties for the command. |
void |
setTimeoutURL(java.lang.String timeoutURL) Sets the timeoutURL. |
void |
setWaitURL(java.lang.String waitURL) Sets the waitURL |
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 OrderQuotationCheckCmdImpl()
Method Detail |
---|
public java.lang.String getOKURL()
public void setOKURL(java.lang.String okURL)
okURL
- The OK URL to setpublic java.lang.String getWaitURL()
public void setWaitURL(java.lang.String waitURL)
waitURL
- The waitURL to set.public java.lang.String getTimeoutURL()
public void setTimeoutURL(java.lang.String timeoutURL)
timeoutURL
- The timeoutURL to set.public 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 okURL is not specified.ECException
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- 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.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 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[] getOutOkOrderQuotationIdName()
public void setOutOkOrderQuotationIdName(java.lang.String[] outOkOrderQuotationIdName)
outOkOrderQuotationIdName
- The outOkOrderQuotationIdName to
setpublic java.lang.String[] getOutTimeoutOrderQuotationIdName()
public void setOutTimeoutOrderQuotationIdName(java.lang.String[] outTimeoutOrderQuotationIdName)
outTimeoutOrderQuotationIdName
- The
outTimeoutOrderQuotationIdName to setpublic java.lang.String[] getOutWaitingOrderQuotationIdName()
public void setOutWaitingOrderQuotationIdName(java.lang.String[] outWaitingOrderQuotationIdName)
outWaitingOrderQuotationIdName
- The
outWaitingOrderQuotationIdName to setpublic java.lang.String[] getOrderQuotationRelIds()
public void setOrderQuotationRelIds(java.lang.String[] orderQuotationRelIds)
orderQuotationRelIds
- The orderQuotationRelIds to
setpublic java.lang.String getErrorURL()
public void setErrorURL(java.lang.String errorURL)
errorURL
- The errorURL to set.