|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||
WEB-INF.cftags.component
datafaucet.system.kernel
datafaucet.system.sources
public class sources
manages datasources for the current application
| Constructor Summary | |
|---|---|
init(any DataManager, [any sqlAgentLocator='[runtime expression]'], [string datasourceClass='[runtime expression]'])
|
|
| Method Summary | |
|---|---|
any |
delete(string sourceName)
|
string |
describe(string sourceName)
|
boolean |
exists(string sourceName)
|
any |
get([string sourceName='primary'], [string className='[runtime expression]'])
|
any |
getAgentLocator()
get the SQL Agent locator -- I know the code looks funny -- trust me, it prevents a race condition |
any |
getDataManager()
|
private any |
getDefaults()
|
any |
isModified([numeric before='[runtime expression]'])
|
string |
list()
|
private any |
new(string className)
|
any |
reset()
|
any |
set(string sourceName, any datasource)
|
| Methods inherited from class datafaucet.system.kernel |
|---|
arg, componentExists, getDataFaucet, getFaucetObject, getFile, getFileModified, getObject, getPlumbing, getTransaction, getTransactionManager, newTransaction, parseDate, setTransaction
|
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any DataManager, [any sqlAgentLocator='[runtime expression]'], [string datasourceClass='[runtime expression]'])
DataManagersqlAgentLocatordatasourceClass| Method Detail |
|---|
public any delete(string sourceName)
sourceNamepublic string describe(string sourceName)
sourceNamepublic boolean exists(string sourceName)
sourceNamepublic any get([string sourceName='primary'], [string className='[runtime expression]'])
sourceName - names the datasource within the current application - not the same as the DSN in ColdFusion Administrator - most applications will only use 'primary'classNamepublic any getAgentLocator()
public any getDataManager()
private any getDefaults()
public any isModified([numeric before='[runtime expression]'])
beforepublic string list()
private any new(string className)
classNamepublic any reset()
public any set(string sourceName, any datasource)
sourceNamedatasource
|
DataFaucet 1.0 Beta | ||||
| FRAMES | |||||