public class GenericQueryScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.GenericQueryScriptService
Accela Automation File: GenericQueryScript.java Accela, Inc. Copyright (C): 2012-2013 Description: Provides the root of the object model exposed to scripts running on the scripting engine. Known to the script writer as the top level "aa" object. Notes: $Id: GenericQueryScript.java 72642 2009-01-01 20:01:57Z ..\dylan.liang $ Revision History <Date>, <Who>, <What> 2012-12-10 dylan.liang Initial.
Constructor and Description |
---|
GenericQueryScript()
Instantiates a new generic query script.
|
GenericQueryScript(java.lang.String servProvCode,
java.lang.String auditID)
Instantiates a new generic query script.
|
Modifier and Type | Method and Description |
---|---|
ScriptResult |
getParameterModel(java.lang.String name,
java.lang.String value)
Gets the parameter model.
|
ScriptResult |
query(java.lang.String sqlName,
java.util.List<com.accela.aa.wsquery.ParameterModel> paramList,
int startRow,
int endRow)
Query.
|
public GenericQueryScript(java.lang.String servProvCode, java.lang.String auditID)
servProvCode
- the serv prov codeauditID
- the audit idpublic GenericQueryScript()
public ScriptResult query(java.lang.String sqlName, java.util.List<com.accela.aa.wsquery.ParameterModel> paramList, int startRow, int endRow) throws com.accela.aa.exception.AAException
com.accela.aa.emse.dom.service.GenericQueryScriptService
query
in interface com.accela.aa.emse.dom.service.GenericQueryScriptService
sqlName
- the sql nameparamList
- the where paramsstartRow
- the start rowendRow
- the end rowcom.accela.aa.exception.AAException
- the AA exceptionpublic ScriptResult getParameterModel(java.lang.String name, java.lang.String value)
com.accela.aa.emse.dom.service.GenericQueryScriptService
getParameterModel
in interface com.accela.aa.emse.dom.service.GenericQueryScriptService
name
- the namevalue
- the value