WEB-INF.cftags.component coldbox.system.mvc.Controller
******************************************************************************* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Author : Luis Majano Description : This is the ColdBox Front Controller that dispatches events and manages your ColdBox application. Only one instance of a specific ColdBox application exists.
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
string
|
appHash
|
true
|
false
|
|
string
|
appKey
|
true
|
false
|
|
string
|
appRootPath
|
true
|
false
|
|
any
|
cacheBox
|
true
|
false
|
|
boolean
|
coldboxInitiated
*********************************** APPLICATION PROPERTIES ********************************************. |
true
|
false
|
|
struct
|
coldboxSettings
|
true
|
false
|
|
string
|
configLocation
|
true
|
false
|
|
boolean
|
configLocationOverride
|
true
|
false
|
|
struct
|
configSettings
|
true
|
false
|
|
any
|
dataMarshaller
|
true
|
false
|
|
any
|
logBox
|
true
|
false
|
|
any
|
util
|
true
|
false
|
|
any
|
wireBox
|
true
|
false
|
Constructor Summary | |
---|---|
init(any appRootPath, any appKey)
*********************************** CONSTRUCTOR ********************************************. |
Method Summary | |
---|---|
string
|
GETAPPHASH()
|
string
|
GETAPPKEY()
|
string
|
GETAPPROOTPATH()
|
any
|
GETCACHEBOX()
|
boolean
|
GETCOLDBOXINITIATED()
get: *********************************** APPLICATION PROPERTIES ********************************************. |
struct
|
GETCOLDBOXSETTINGS()
|
string
|
GETCONFIGLOCATION()
|
boolean
|
GETCONFIGLOCATIONOVERRIDE()
|
struct
|
GETCONFIGSETTINGS()
|
any
|
GETDATAMARSHALLER()
|
any
|
GETLOGBOX()
|
any
|
GETUTIL()
|
any
|
GETWIREBOX()
|
Controller
|
SETAPPHASH(string appHash)
|
Controller
|
SETAPPKEY(string appKey)
|
Controller
|
SETAPPROOTPATH(string appRootPath)
|
Controller
|
SETCACHEBOX(any cacheBox)
|
Controller
|
SETCOLDBOXINITIATED(boolean coldboxInitiated)
set: *********************************** APPLICATION PROPERTIES ********************************************. |
Controller
|
SETCONFIGLOCATION(string configLocation)
|
Controller
|
SETCONFIGLOCATIONOVERRIDE(boolean configLocationOverride)
|
Controller
|
SETCONFIGSETTINGS(struct configSettings)
|
Controller
|
SETDATAMARSHALLER(any dataMarshaller)
|
Controller
|
SETLOGBOX(any logBox)
|
Controller
|
SETUTIL(any util)
|
Controller
|
SETWIREBOX(any wireBox)
|
private RequestContext
|
createContext()
|
any
|
defaultEventCheck(any event)
|
RequestContext
|
getContext()
|
any
|
getHandler(any ehBean, any requestContext)
|
private any
|
getHandlerListing(any directory)
|
any
|
getInterceptorService()
|
any
|
getRegisteredHandler(any event)
|
any
|
getRenderer()
|
any
|
getSetting(any name, [boolean FWSetting='false'], [any defaultValue])
|
struct
|
getSettingStructure([boolean FWSetting='false'], [boolean deepCopyFlag='false'])
*********************************** APP SETTING METHODS ********************************************. |
private any
|
invalidEvent(any event, any ehBean)
|
private any
|
isViewDispatch(any event, any ehBean)
|
any
|
loadApplication([any overrideConfigFile=''], [any overrideAppMapping=''])
|
any
|
newHandler(any invocationPath)
|
any
|
processShutdown()
*********************************** DESTRUCTOR ********************************************. |
any
|
registerHandlers()
*********************************** HANDLER METHODS ********************************************. |
any
|
removeContext()
|
RequestContext
|
requestCapture()
*********************************** REQUEST METHODS ********************************************. |
any
|
runEvent([any event=''], [boolean prePostExempt='false'], [boolean private='false'], [boolean defaultEvent='false'], [struct eventArguments='[runtime expression]'])
*********************************** EXECUTIONS ********************************************. |
private any
|
sendRelocation(any url, [boolean addToken='false'], [numeric statusCode='0'])
|
any
|
setNextEvent([any event='[runtime expression]'], [any queryString=''], [boolean addToken='false'], [boolean ssl], [any baseURL=''], [boolean postProcessExempt='false'], [any URL], [any URI], [numeric statusCode='0'])
*********************************** RELOCATIONS ********************************************. |
any
|
setSetting(any name, any value)
|
any
|
settingExists(any name, [boolean FWSetting='false'])
|
private any
|
updateSSL(any inURL, any ssl)
|
private any
|
validateAction(any action, [any inclusion=''], [any exclusion=''])
*********************************** PRIVATE UTIL ********************************************. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
*********************************** CONSTRUCTOR ********************************************
appRootPath
appKey
Property Detail |
---|
serializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- false*********************************** APPLICATION PROPERTIES ********************************************
serializable
- truerequired
- falserequired
- falseserializable
- truesetter
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseserializable
- truerequired
- falseMethod Detail |
---|
get: *********************************** APPLICATION PROPERTIES ********************************************
appHash
appKey
appRootPath
cacheBox
set: *********************************** APPLICATION PROPERTIES ********************************************
coldboxInitiated
configLocation
configLocationOverride
configSettings
dataMarshaller
logBox
util
wireBox
event
ehBean
requestContext
directory
event
name
FWSetting
defaultValue
*********************************** APP SETTING METHODS ********************************************
FWSetting
deepCopyFlag
event
ehBean
event
ehBean
overrideConfigFile
overrideAppMapping
invocationPath
*********************************** DESTRUCTOR ********************************************
*********************************** HANDLER METHODS ********************************************
*********************************** REQUEST METHODS ********************************************
*********************************** EXECUTIONS ********************************************
event
prePostExempt
private
defaultEvent
eventArguments
url
addToken
statusCode
*********************************** RELOCATIONS ********************************************
event
queryString
addToken
ssl
baseURL
postProcessExempt
URL
URI
statusCode
name
value
name
FWSetting
inURL
ssl
*********************************** PRIVATE UTIL ********************************************
action
inclusion
exclusion