java.lang.Objectcom.ibm.commerce.negotiation.commands.ProcessRunner
Process Runner class.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
Constructor Summary | |
ProcessRunner() |
Method Summary | |
protected void | beginTransaction() Begins a new transaction scope. |
protected void | commitTransaction() Commits the current transaction scope. |
boolean | completed() Returns this process completion status. |
protected CommandContext | getCommandContext() Get the store Id |
protected java.lang.Object | getDataHandle() Get the handle for the data to be processed. |
protected java.lang.String | getErrorTaskName() Returns this process's error task name. |
java.lang.Object | getException() Returns the exception generated by this process. |
protected void | rollbackTransaction() Rolls back the current transaction changes. |
void | run() Create and execute the specified task command to process the Auctions/Bids |
void | setCommandContext(CommandContext context) Set the context for the command to be executed when this process runs. |
void | setCommandName(java.lang.String commandName) Set the fully qualified name of the command to be executed. |
void | setDataHandle(java.lang.Object handle) Set the handle for the data. |
void | setErrorTaskName(java.lang.String errorTaskName) Sets this process's error task name |
protected void | setException(java.lang.Object exception) Saves the exception generated by this process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public ProcessRunner()
Method Detail |
protected void beginTransaction() throws ECSystemException
protected void commitTransaction() throws javax.transaction.RollbackException, ECSystemException
public boolean completed()
protected CommandContext getCommandContext()
protected java.lang.Object getDataHandle()
protected java.lang.String getErrorTaskName()
public java.lang.Object getException()
protected void rollbackTransaction()
public void run()
public void setCommandContext(CommandContext context)
public void setCommandName(java.lang.String commandName)
public void setDataHandle(java.lang.Object handle)
public void setErrorTaskName(java.lang.String errorTaskName)
protected void setException(java.lang.Object exception)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.