public abstract class AEDPTaskCmdImpl extends TaskCommandImpl implements AEDPTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM Copyright notice field.
|
Constructor and Description |
---|
AEDPTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | createTickler(java.lang.String reasonCode, java.lang.String reason, java.lang.String[] comments)
This is a helper method to create a tickler.
|
protected void | dumpHashOfActionListsOnEDPTrace(java.lang.String className, java.lang.String methodName, java.util.HashMap hashOfActionList)
This is a helper method to show the actions that will be executed in the ECTrace.
|
protected void | dumpListOfActionListsOnEDPTrace(java.lang.String className, java.lang.String methodName, java.util.List listOfActionList)
This is a helper method to show the actions that will be executed in the ECTrace.
|
protected void | executeHashOfListsOfActions(java.util.HashMap actionLists)
This method executes a list of lists of payment actions.
|
protected void | executeHashOfListsOfEditActions(java.util.HashMap actionLists)
This method executes a list of lists of payment edit actions.
|
java.lang.String | getCurrency()
This method returns the currency from the globalization context.
|
EDPException | getEdpException()
This method gets EDP exception, if any, that occurred during the processing of the request.
|
java.lang.Long | getEDPOrderId()
This method gets the EDP order id.
|
EDPResults | getEDPResults()
This method obtains the results of the business event.
|
java.lang.Integer | getLanguageId()
This method gets the language ID from the globalization context.
|
java.util.Locale | getLocale()
This method gets the locale from the globalization context.
|
protected com.ibm.commerce.edp.model.ObjectModelFacadeLocal | getOMF()
This is the Method Shortcut to obtain the Object Model Facade.
|
java.lang.String | getOrderChannel()
This method gets the current order channel.
|
java.lang.Long | getOrderId()
This method gets order ID.
|
protected QueryHandler | getQueryHandler()
This is the method shortcut to obtain the query handler.
|
protected com.ibm.commerce.edp.refunds.RefundFacadeLocal | getRefundFacade()
This is the method Shortcut to obtain the Refund Facade.
|
int | getStatus()
This method gets the status of the business event.
|
protected boolean | isActionExecutableInFG(ActionData actionData)
This method returns whether an action is executable in the FG (foreground thread).
|
protected boolean | isActionHashListExecutableInFG(java.util.HashMap hashListActions)
This method returns whether all actions in an action list are executable in the FG.
|
protected boolean | isActionListExecutableInFG(java.util.List listListActions)
This method returns whether all actions in an action list are executable in the FG.
|
boolean | isIdempotent()
This method gets if this business event has been identified as an idempotent business event.
|
boolean | isProcessBGExecutableInFG()
This method returns whether processBG() is executable in the FG.
|
boolean | isProcessBGTasksRequired()
This method gets if the BG part of the request is required.
|
void | reset()
This method resets the command fields.
|
void | resetServices()
This method resets all the service accessors.
|
void | setBGProcessFinished(boolean value)
This method sets if the running BG job has finished.
|
void | setEdpException(EDPException exception)
This method gets EDP exception, if any, that occurred during the processing of the request.
|
void | setEDPOrderId(java.lang.Long long1)
This method sets the EDP order id.
|
void | setEDPResults(EDPResults localResults)
This method sets the results of the business event request.
|
protected void | setIdempotent(boolean b)
This method sets if the request is idempotentpotent.
|
void | setOrderChannel(java.lang.String string)
This method sets the current order channel.
|
void | setOrderId(java.lang.Long paramOrderId)
This method sets the order ID of the order to be paid for.
|
void | setProcessBGTasksRequired(boolean value)
This method indicates if the BG part of the request is required.
|
void | setStatus(int value)
This method sets the status of the business event.
|
java.lang.String | toString()
This method converts this business event request data into a human-readable string.
|
protected void | validateContext()
This method validates if context is valid.
|
void | validateInsideProcessFG()
This method Validates request input parameters during processFG.
|
public static final java.lang.String COPYRIGHT
public java.lang.String getCurrency()
public java.lang.Integer getLanguageId()
public java.util.Locale getLocale()
public void setOrderId(java.lang.Long paramOrderId)
public java.lang.Long getOrderId()
public void reset()
public void resetServices() throws EDPException
public java.lang.Long getEDPOrderId()
public void setEDPOrderId(java.lang.Long long1)
public final void setEdpException(EDPException exception)
public final EDPException getEdpException()
public final boolean isIdempotent()
public final EDPResults getEDPResults()
public void setBGProcessFinished(boolean value)
public void setProcessBGTasksRequired(boolean value)
public boolean isProcessBGTasksRequired()
public final void setStatus(int value)
public final int getStatus()
public java.lang.String toString()
public void validateInsideProcessFG() throws EDPException
protected final void setIdempotent(boolean b)
protected final com.ibm.commerce.edp.model.ObjectModelFacadeLocal getOMF() throws J2EEException
public final java.lang.String getOrderChannel()
protected final QueryHandler getQueryHandler() throws J2EEException
protected final com.ibm.commerce.edp.refunds.RefundFacadeLocal getRefundFacade() throws J2EEException
public final void setEDPResults(EDPResults localResults)
protected void createTickler(java.lang.String reasonCode, java.lang.String reason, java.lang.String[] comments)
protected void dumpListOfActionListsOnEDPTrace(java.lang.String className, java.lang.String methodName, java.util.List listOfActionList)
protected void dumpHashOfActionListsOnEDPTrace(java.lang.String className, java.lang.String methodName, java.util.HashMap hashOfActionList)
protected void executeHashOfListsOfActions(java.util.HashMap actionLists) throws InternalException, EDPException, ECException
This method executes a list of lists of payment actions.
protected void executeHashOfListsOfEditActions(java.util.HashMap actionLists) throws InternalException, EDPException, ECException
This method executes a list of lists of payment edit actions.
protected void validateContext() throws EDPException
protected boolean isActionExecutableInFG(ActionData actionData)
protected boolean isActionListExecutableInFG(java.util.List listListActions)
protected boolean isActionHashListExecutableInFG(java.util.HashMap hashListActions)
public boolean isProcessBGExecutableInFG()
public void setOrderChannel(java.lang.String string)