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-2014
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,
com.accela.aa.emse.dom.service.CachedService cachedService)
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,
com.accela.aa.emse.dom.service.CachedService cachedService)
throws com.accela.aa.exception.AAException
servProvCode - the serv prov codeauditID - the audit idcom.accela.aa.exception.AAException - The AA exceptionpublic GenericQueryScript()
throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException - The AA exceptionpublic 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.GenericQueryScriptServicequery in interface com.accela.aa.emse.dom.service.GenericQueryScriptServicesqlName - 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.GenericQueryScriptServicegetParameterModel in interface com.accela.aa.emse.dom.service.GenericQueryScriptServicename - the namevalue - the value