lucee.Component logbox.system.core.collections.ScopeStorage
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- A utility Facade to help in storing data in multiple CF Storages
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
boolean
|
delete(any key, any scope)
Delete a value in a scope. |
boolean
|
exists(any key, any scope)
Check if a key exists. |
any
|
get(any key, any scope, [any defaultValue])
Get a value in a scope. |
any
|
getApplication()
Shortcut to get Application. |
any
|
getClient()
Shortcut to get Client. |
any
|
getCookie()
Shortcut to get cookie. |
any
|
getScope(any scope)
Get a scope reference. |
any
|
getServer()
Shortcut to get Server. |
any
|
getSession()
Shortcut to get Session. |
any
|
put(any key, any value, any scope)
Store a value in a scope. |
any
|
scopeCheck(any scope)
Check if a scope is valid, else throws exception. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Method Detail |
---|
Delete a value in a scope
key
- The keyscope
- The ColdFusion ScopeCheck if a key exists
key
- The keyscope
- The CF ScopeGet a value in a scope
key
- The keyscope
- The CF ScopedefaultValue
- The default valueShortcut to get Application
Shortcut to get Client
Shortcut to get cookie
Get a scope reference
scope
- The CF ScopeShortcut to get Server
Shortcut to get Session
Store a value in a scope
key
- The keyvalue
- The valuescope
- The ColdFusion ScopeCheck if a scope is valid, else throws exception
scope
- The CF Scope