java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.order.commands.OrderTransferCheckCmdImpl
Check to see if confirmation has been received for the specified order transferred to an external system, and 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.order.commands.OrderTransferCheckCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
OrderTransferCheckCmdImpl() |
Method Summary | |
protected void | addOutOrderIdName(TypedProperty responseProperties, java.lang.String[] sOkOrderIds, java.lang.String[] sWaitOrderIds, java.lang.String[] sTimeoutOrderIds) This add the 3 types of out OrderId list to the response properties |
java.lang.String | getErrorUrl() Gets the error url |
protected java.lang.String | getOkUrl() Gets the okURL property of the command. |
protected OrderAccessBean[] | getOrderAccessBeans() This method will first check if the local variable is set or not. |
protected java.lang.Long[] | getOrderIds() Gets the orderIds property of the command. |
protected java.lang.String[] | getOutOkOrderIdNames() this return the outOkOrderIdNames property of the command. |
protected java.lang.String[] | getOutTimeoutOrderIdNames() this return the outTimeoutOrderIdNames property of the command. |
protected java.lang.String[] | getOutWaitOrderIdNames() this return the outWaitOrderIdNames property of the command. |
AccessVector | getResources() Gets the access vector accessed by this command. |
protected java.lang.String | getTimeoutUrl() Gets the timeoutURL property of the command. |
protected java.lang.String | getTransferMode() Gets the transferMode property of the command. |
protected java.lang.String | getWaitUrl() Gets the waitURL property of the command. |
void | performExecute() Performs the main business logic of the command. |
void | reset() Resets the instance variables of the command. |
void | setErrorUrl(java.lang.String astrErrorUrl) Sets the error url |
void | setOkUrl(java.lang.String url) Sets the okURL property of the command. |
void | setOrderIds(java.lang.Long[] orderIds) Sets the orderIds property of the command. |
void | setOutOkOrderIdNames(java.lang.String[] outOkOrderIdNames) Sets the outOkOrderIdNames property of the command. |
void | setOutTimeoutOrderIdNames(java.lang.String[] outTimeoutOrderIdNames) Sets the outTimeoutOrderIdNames property of the command. |
void | setOutWaitOrderIdNames(java.lang.String[] outWaitOrderIdNames) Sets the outWaitOrderIdNames property of the command. |
void | setRequestProperties(TypedProperty reqParms) The WebController calls the setRequestProperties method before invoking the execute method in this command. |
void | setTimeoutUrl(java.lang.String url) Sets the timeoutURL property of the command. |
void | setTransferMode(java.lang.String transferMode) Sets the transferMode property of the command. |
void | setWaitUrl(java.lang.String url) Sets the waitURL property of the command. |
void | validateParameters() Checks the validity of supplied 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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Constructor Detail |
public OrderTransferCheckCmdImpl()
Method Detail |
public void setOrderIds(java.lang.Long[] orderIds)
protected java.lang.Long[] getOrderIds()
public void setTransferMode(java.lang.String transferMode)
protected java.lang.String getTransferMode()
public void setOkUrl(java.lang.String url)
protected java.lang.String getOkUrl()
public void setTimeoutUrl(java.lang.String url)
protected java.lang.String getTimeoutUrl()
public void setWaitUrl(java.lang.String url)
protected java.lang.String getWaitUrl()
public void setOutOkOrderIdNames(java.lang.String[] outOkOrderIdNames)
protected java.lang.String[] getOutOkOrderIdNames()
public void setOutWaitOrderIdNames(java.lang.String[] outWaitOrderIdNames)
protected java.lang.String[] getOutWaitOrderIdNames()
public void setOutTimeoutOrderIdNames(java.lang.String[] outTimeoutOrderIdNames)
protected java.lang.String[] getOutTimeoutOrderIdNames()
protected OrderAccessBean[] getOrderAccessBeans()
public AccessVector getResources() throws ECException
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void performExecute() throws ECException
protected void addOutOrderIdName(TypedProperty responseProperties, java.lang.String[] sOkOrderIds, java.lang.String[] sWaitOrderIds, java.lang.String[] sTimeoutOrderIds)
public void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
public void validateParameters() throws ECException
public java.lang.String getErrorUrl()
public void setErrorUrl(java.lang.String astrErrorUrl)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.