|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.core.collections.ScopeStorage
public class 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 WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public boolean delete(string key, string scope)
key
- The key valuescope
- The CF scope to place it inpublic boolean exists(string key, string scope)
key
- The key to retrievescope
- The CF scope to get an object frompublic any get(string key, string scope, [any default])
key
- The key to retrievescope
- The CF scope to get an object fromdefault
- The default value if not foundpublic struct getApplication()
public struct getClient()
public struct getCluster()
public struct getCookie()
public struct getScope(string scope)
scope
- The CF scope to get an object frompublic struct getServer()
public struct getSession()
public void put(string key, any value, string scope)
key
- The key valuevalue
- The value to putscope
- The CF scope to place it inpublic void scopeCheck(string scope)
scope
- The CF scope to check
|
ColdBox Platform Version 3.7.0 | ||||
FRAMES |