public class BatchJobScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.BatchJobScriptService
Accela Automation File: BatchJobScript.java Accela, Inc. Copyright (C): 2001-2014 Description: Notes: Revision History: 07/28/03 Tony xian Initial development.
| Constructor and Description |
|---|
BatchJobScript()
Constructor method.
|
BatchJobScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
Constructor method.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptResult |
beginTransaction(int seconds)
Begin Transaction.
|
ScriptResult |
commitTransaction()
Commit Transaction.
|
ScriptResult |
editBatchJobStatus(java.lang.String batchJobName,
java.lang.String status)
Edit batch job status.
|
ScriptResult |
getJobID()
Get job id.
|
ScriptResult |
rollbackTransaction()
Roll back Transaction.
|
public BatchJobScript(java.lang.String serviceProviderCode,
java.lang.String auditID,
com.accela.aa.emse.dom.service.CachedService cachedService)
throws com.accela.aa.exception.AAException
serviceProviderCode - agency codeauditID - the caller IDcom.accela.aa.exception.AAException - The AA exceptionpublic BatchJobScript()
throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException - The AA exceptionpublic ScriptResult getJobID()
com.accela.aa.emse.dom.service.BatchJobScriptServicegetJobID in interface com.accela.aa.emse.dom.service.BatchJobScriptServicepublic ScriptResult editBatchJobStatus(java.lang.String batchJobName, java.lang.String status)
com.accela.aa.emse.dom.service.BatchJobScriptServiceeditBatchJobStatus in interface com.accela.aa.emse.dom.service.BatchJobScriptServicebatchJobName - batchJob Namestatus - status of batchJobpublic ScriptResult beginTransaction(int seconds)
com.accela.aa.emse.dom.service.BatchJobScriptServicebeginTransaction in interface com.accela.aa.emse.dom.service.BatchJobScriptServiceseconds - The value of the timeout in seconds. If seconds is less 300 seconds will set default 7200 seconds.public ScriptResult commitTransaction()
com.accela.aa.emse.dom.service.BatchJobScriptServicecommitTransaction in interface com.accela.aa.emse.dom.service.BatchJobScriptServicepublic ScriptResult rollbackTransaction()
com.accela.aa.emse.dom.service.BatchJobScriptServicerollbackTransaction in interface com.accela.aa.emse.dom.service.BatchJobScriptService