asyncProcess
public void asyncProcess(MXServer server,
java.lang.String jobName,
java.lang.String jobQueueNum,
java.lang.String object,
UserInfo ui,
java.lang.String whereClause,
java.util.HashMap<java.lang.String,MaxType> params)
throws MXException,
java.rmi.RemoteException
This method performs the Asynchronous operation. This method will be called by the asynchronous
crontask. The user info passed in should be used as the user info to get any transaction or MBO sets.
Save() should be called at the end of the method when process is successful.
- Specified by:
asyncProcess
in interface AsyncJobHandlerInterface
- Specified by:
asyncProcess
in class AsyncJobHandler
jobName
- The name of the job.
jobQueueNum
- The identifier of the job in the job queue.
object
- The name of the main object that the async process is performed on.
whereClause
- The where clause applied on the main objects to identify one or more objects that the
async process is performed on.
params
- A hash map of all the other parameters need to run the async job. The keys are the parameter names
and the values are the MaxTypeObject
- Throws:
MXException
java.rmi.RemoteException