lucee.Componentcoldbox.system.FrameworkSupertype
coldbox.system.Interceptor
contentbox.models.content.util.ContentCacheCleanup
This interceptor monitors pages, posts and custom html content so it can purge caches on updates
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
commentService
|
true
|
false
|
|
any
|
contentService
|
true
|
false
|
|
any
|
settingService
|
true
|
false
|
Method Summary | |
---|---|
any
|
cbadmin_onCommentStatusUpdate([any event], [any data])
Listen when comments are moderated. |
any
|
cbadmin_postContentStoreSave([any event], [any data])
Listen when a content store item is saved. |
any
|
cbadmin_postEntrySave([any event], [any data])
Listen when entries are saved. |
any
|
cbadmin_postPageSave([any event], [any data])
Listen when pages are saved. |
any
|
cbadmin_preCommentRemove([any event], [any data])
Listen when comments are removed. |
any
|
cbadmin_preContentStoreRemove([any event], [any data])
Listen when a content store item is removed. |
any
|
cbadmin_preEntryRemove([any event], [any data])
Listen when entries are removed. |
any
|
cbadmin_prePageRemove([any event], [any data])
Listen when pages are removed. |
any
|
cbui_onCommentPost([any event], [any data])
Listen when comments are posted. |
private any
|
doCacheCleanup(string cacheKey, [any content])
Clear the content caches according to incoming key and content object. |
Methods inherited from class coldbox.system.Interceptor |
---|
cbLoadInterceptorHelpers, configure, getProperties, getProperty, init, propertyExists, setProperties, setProperty, unregister |
Methods inherited from class coldbox.system.FrameworkSupertype |
---|
announce, announceInterception, async, back, externalView, forAttribute, getCache, getCachebox, getColdBoxSetting, getController, getDateTimeHelper, getEnv, getFlash, getFlow, getInstance, getIsoTime, getJsonUtil, getLog, getLogBox, getModuleConfig, getModuleSettings, getRenderer, getRequestCollection, getRequestContext, getRootWireBox, getSetting, getSystemProperty, getSystemSetting, getUserSessionIdentifier, getWirebox, ifNull, ifPresent, inDebugMode, includeUDF, isDevelopment, isProduction, isTesting, layout, listen, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populate, populateModel, relocate, renderExternalView, renderLayout, renderview, runEvent, runRoute, setCachebox, setController, setEnv, setFlash, setFlow, setJsonUtil, setLog, setLogBox, setSetting, setWirebox, settingExists, throwIf, throwUnless, toJson, unless, view, when |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- commentService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- contentService@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- settingService@contentboxserializable
- trueMethod Detail |
---|
Listen when comments are moderated
event
- The request contextdata
- Intercept dataListen when a content store item is saved
event
- The request contextdata
- Intercept dataListen when entries are saved
event
- The request contextdata
- Intercept dataListen when pages are saved
event
- The request contextdata
- Intercept dataListen when comments are removed
event
- The request contextdata
- Intercept dataListen when a content store item is removed
event
- The request contextdata
- Intercept dataListen when entries are removed
event
- The request contextdata
- Intercept dataListen when pages are removed
event
- The request contextdata
- Intercept dataListen when comments are posted.
event
- The request contextdata
- Intercept dataClear the content caches according to incoming key and content object
cacheKey
- The cache key to usecontent
- The content object