lucee.Component coldbox.system.web.flash.AbstractFlashScope coldbox.system.web.flash.ColdboxCacheFlash
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- This flash uses CacheBox
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
cache
|
true
|
false
|
|
any
|
cacheName
|
true
|
false
|
Constructor Summary | |
---|---|
init(any controller, struct defaults='[runtime expression]')
Constructor. |
Method Summary | |
---|---|
boolean
|
flashExists()
Checks if the flash storage exists and IT HAS DATA to inflate. |
string
|
getCache()
|
string
|
getCacheName()
|
struct
|
getFlash()
Get the flash storage structure to inflate it. |
any
|
getFlashKey()
Build Flash Key according to standards. |
any
|
removeFlash()
Remove the entire flash storage. |
any
|
saveFlash()
Save the flash storage in preparing to go to the next request. |
any
|
setCache(any cache)
|
any
|
setCacheName(any cacheName)
|
Methods inherited from class coldbox.system.web.flash.AbstractFlashScope |
---|
clear, clearFlash, discard, exists, get, getController, getDefaults, getKeys, getProperties, getProperty, getScope, getUtil, inflateFlash, isEmpty, keep, persistRC, propertyExists, put, putAll, remove, setController, setDefaults, setProperties, setProperty, size, statusMarks |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
controller
- ColdBox Controllerdefaults
- Default flash data packet for the flash RAM object=[scope,properties,inflateToRC,inflateToPRC,autoPurge,autoSave]Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Checks if the flash storage exists and IT HAS DATA to inflate.
flashExists
in class
AbstractFlashScope
Get the flash storage structure to inflate it.
getFlash
in class
AbstractFlashScope
Build Flash Key according to standards
Remove the entire flash storage
removeFlash
in class
AbstractFlashScope
Save the flash storage in preparing to go to the next request
saveFlash
in class
AbstractFlashScope
cache
cacheName