railo-context.Component coldbox.system.core.collections.ScopeStorage
A utility storage to all CF scopes
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
boolean
|
delete(string key, string scope)
delete from a scope. |
boolean
|
exists(string key, string scope)
Check if a value is in scope. |
any
|
get(string key, string scope, [any default])
Get something from a scope. |
struct
|
getApplication()
Get application. |
struct
|
getClient()
Get client. |
struct
|
getCluster()
Get cluster. |
struct
|
getCookie()
Get cookie. |
struct
|
getScope(string scope)
Get a named scope. |
struct
|
getServer()
Get server. |
struct
|
getSession()
Get Session. |
void
|
put(string key, any value, string scope)
Put into a scope. |
void
|
scopeCheck(string scope)
Check if a scope is valid, else throw exception. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
Method Detail |
---|
delete from a scope
key
- The key valuescope
- The CF scope to place it inCheck if a value is in scope
key
- The key to retrievescope
- The CF scope to get an object fromGet something from a scope. Throws exception if not found
key
- The key to retrievescope
- The CF scope to get an object fromdefault
- The default value if not foundGet application
Get client
Get cluster
Get cookie
Get a named scope
scope
- The CF scope to get an object fromGet server
Get Session
Put into a scope
key
- The key valuevalue
- The value to putscope
- The CF scope to place it inCheck if a scope is valid, else throw exception
scope
- The CF scope to check