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-2013 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)
Deprecated.
|
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)
serviceProviderCode
- agency codeauditID
- the caller IDpublic BatchJobScript()
public ScriptResult getJobID()
com.accela.aa.emse.dom.service.BatchJobScriptService
getJobID
in interface com.accela.aa.emse.dom.service.BatchJobScriptService
public ScriptResult editBatchJobStatus(java.lang.String batchJobName, java.lang.String status)
com.accela.aa.emse.dom.service.BatchJobScriptService
editBatchJobStatus
in interface com.accela.aa.emse.dom.service.BatchJobScriptService
batchJobName
- batchJob Namestatus
- status of batchJobpublic ScriptResult beginTransaction(int seconds)
com.accela.aa.emse.dom.service.BatchJobScriptService
beginTransaction
in interface com.accela.aa.emse.dom.service.BatchJobScriptService
seconds
- 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.BatchJobScriptService
commitTransaction
in interface com.accela.aa.emse.dom.service.BatchJobScriptService
public ScriptResult rollbackTransaction()
com.accela.aa.emse.dom.service.BatchJobScriptService
rollbackTransaction
in interface com.accela.aa.emse.dom.service.BatchJobScriptService