|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.sql.duck
datafaucet.system.sql.procedure
public class procedure
stores parameters for execution of a specified stored procedure
| Constructor Summary | |
|---|---|
init(string procedure='[runtime expression]', [string results='[runtime expression]'], [struct parameters='[runtime expression]'], [string null='[runtime expression]'], [boolean nulldefaults='[runtime expression]'], [string maxrows='[runtime expression]'], [boolean debug='[runtime expression]'], [string returnCode='[runtime expression]'], [numeric blockfactor='[runtime expression]'], [any datasource=''])
|
|
| Method Summary | |
|---|---|
void |
addListener(any listener, string method)
|
private any |
broadcast([any resultset=''])
|
struct |
execute()
|
any |
getDatasource()
|
private any |
getListeners()
|
private any |
getNewListener()
|
any |
getParam(string parameter)
|
query |
getParameters()
|
private any |
getSQLAgent()
|
string |
getSyntax()
|
private boolean |
hasListeners()
|
private any |
notifyListener(any listener, [any resultSet=''])
|
any |
param(string parameter, string paramvalue)
|
any |
setDatasource([any datasource=''])
|
any |
setNull(string parameter)
|
private void |
set_parameters(string propertyname, struct propertyvalue)
|
private void |
set_procedure(string propertyname, string propertyvalue)
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(string procedure='[runtime expression]', [string results='[runtime expression]'], [struct parameters='[runtime expression]'], [string null='[runtime expression]'], [boolean nulldefaults='[runtime expression]'], [string maxrows='[runtime expression]'], [boolean debug='[runtime expression]'], [string returnCode='[runtime expression]'], [numeric blockfactor='[runtime expression]'], [any datasource=''])
procedure - a table name or fragment to search for - may include % wildcard characterresults - a list or array of names for desired result setsparameters - table column data is cached in the application scope -- this flag allows the cache to be clearednull - if true nulls are passed to the procedure for missing parameters, otherwise the procedure aborts at the first missing parameter and uses database defaultsnulldefaults - if true nulls are passed to the procedure for missing parameters, otherwise the procedure aborts at the first missing parameter and uses database defaultsmaxrows - a list or array of maxrows for the requested result setsdebug - indicates if debugging information should be displayed for this procedurereturnCode - the name of a variable to populate in the parameters attribute with the status code returned by the procedure - status code is not populated if this attribute is an empty stringblockfactor - 1-100 - maps to the cfstoredproc tag's blockfactor attributedatasource| Method Detail |
|---|
public void addListener(any listener, string method)
listenermethodprivate any broadcast([any resultset=''])
resultsetpublic struct execute()
public any getDatasource()
private any getListeners()
private any getNewListener()
public any getParam(string parameter)
parameterpublic query getParameters()
private any getSQLAgent()
public string getSyntax()
private boolean hasListeners()
private any notifyListener(any listener, [any resultSet=''])
listenerresultSetpublic any param(string parameter, string paramvalue)
parameterparamvaluepublic any setDatasource([any datasource=''])
datasourcepublic any setNull(string parameter)
parameterprivate void set_parameters(string propertyname, struct propertyvalue)
propertynamepropertyvalueprivate void set_procedure(string propertyname, string propertyvalue)
propertynamepropertyvalue
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||