tardis.com.tardis.datastore.datastore
Component datastore (datastore)


Component for handling request and error data


hierarchy: WEB-INF.cftags.component
      tardis.com.tardis.base.base
            tardis.com.tardis.datastore.datastore
path: \tardis\com\tardis\datastore\datastore.cfc
properties:
methods: flushCallBackData, flushErrorData, flushMethodData, flushServiceMessage, getCallBackData, getCallBackField, getErrorData, getMethodData, getServiceMessage, init, safeSQLText, safeText, setCallBackData, setErrorData, setMethodData, setServiceMessage
inherited methods: config, getInstance
* - private method

flushCallBackData
public flushCallBackData ( )

Flush data from the callback

Output: suppressed

flushErrorData
public flushErrorData ( )

Flush error data for the method call

Output: suppressed

flushMethodData
public flushMethodData ( )

Flush method data from previous method call

Output: suppressed

flushServiceMessage
public flushServiceMessage ( )

Flush service message for the method call

Output: suppressed

getCallBackData
public struct getCallBackData ( )

Return data that was set in the callback

Output: suppressed

getCallBackField
public any getCallBackField ( required string fieldname )

Return data for field that was set in the callback

Output: suppressed
Parameters:
   fieldname: string, required, fieldname

getErrorData
public array getErrorData ( )

Return error data from the method call

Output: suppressed

getMethodData
public struct getMethodData ( )

Return data for the most recent method call

Output: suppressed

getServiceMessage
public string getServiceMessage ( )

Get service message for the method call

Output: suppressed

init
public datastore init ( required configdirectory, required configfilename )

Method to initialize and return component instance

Output: suppressed
Parameters:
   configdirectory: any, required, configdirectory
   configfilename: any, required, configfilename

safeSQLText
public string safeSQLText ( required string inputstring )

Output: enabled
Parameters:
   inputstring: string, required, inputstring

safeText
public string safeText ( required string inputstring )

Output: enabled
Parameters:
   inputstring: string, required, inputstring

setCallBackData
public setCallBackData ( required string fieldname, required any fieldvalue )

Set data for the callback

Output: suppressed
Parameters:
   fieldname: string, required, fieldname
   fieldvalue: any, required, fieldvalue

setErrorData
public setErrorData ( required string errordetail )

Sets error data for the method call

Output: suppressed
Parameters:
   errordetail: string, required, errordetail

setMethodData
public setMethodData ( required struct cfdata )

Set data for the current method call

Output: enabled
Parameters:
   cfdata: struct, required, cfdata

setServiceMessage
public setServiceMessage ( required string servicemessage )

Sets service message for the method call

Output: suppressed
Parameters:
   servicemessage: string, required, servicemessage