com.ibm.commerce.command
Interface AsyncCommand

All Known Subinterfaces:
ContractTCDeployCmd
All Known Implementing Classes:
AsyncControllerCommandImpl, ContractTCDeployCmdImpl, RefreshLocalRegistryCmdImpl, ScheduledContractDeployCmdImpl

public interface AsyncCommand

AsyncCommand defines the interface that is required by a command that implements the asynchronus command interface. This interface is required by a long running job that is to be scheduled by the scheduler.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Method Summary
 java.lang.Long getJobInstanceId()
          Return the instance Id for this job as set in the SCHSTATUS table.
 java.lang.Long getJobReferenceId()
          Return the refernce Id for this job as set in the SCHCONFIG table.
 void setJobInstanceId(java.lang.Long val)
          Sets the instance Id for this job as set in the SCHSTATUS table.
 void setJobReferenceId(java.lang.Long val)           Sets the refernce Id for this job as set in the SCHCONFIG table.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Method Detail

getJobInstanceId

public java.lang.Long getJobInstanceId()
Return the instance Id for this job as set in the SCHSTATUS table.
Returns:
job instance ID

getJobReferenceId

public java.lang.Long getJobReferenceId()
Return the refernce Id for this job as set in the SCHCONFIG table.
Returns:
job reference ID

setJobInstanceId

public void setJobInstanceId(java.lang.Long val)
Sets the instance Id for this job as set in the SCHSTATUS table.
Parameters:
val - job instance ID

setJobReferenceId

public void setJobReferenceId(java.lang.Long val)
Sets the refernce Id for this job as set in the SCHCONFIG table.