contentbox.modules.contentbox-admin.interceptors

Class CommentCleanup

lucee.Component
    extended by coldbox.system.FrameworkSupertype
      extended by coldbox.system.Interceptor
        extended by contentbox.modules.contentbox-admin.interceptors.CommentCleanup

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Comment Cleanup interceptor If logged in user is an admin, this will asychronously check comment moderation expiration settings and (if applicable ) auto-delete moderated comments

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any commentService


    • access = public
    • returntype = any
    • inject = id:commentService@cb
    true false
    any securityService


    • access = public
    • returntype = any
    • inject = id:securityService@cb
    true false
    any settingService


    • access = public
    • returntype = any
    • inject = id:settingService@cb
    true false
    Method Summary
    void cbadmin_onLogin([any event], [any interceptData])
         on admin login.
    any configure()
         Configure.
     
    Methods inherited from class coldbox.system.Interceptor
    appendToBuffer, clearBuffer, getBufferObject, getBufferString, getCachebox, getFlash, getInterceptorService, getLog, getLogBox, getProperties, getProperty, getWirebox, init, propertyExists, setCachebox, setFlash, setInterceptorService, setLog, setLogBox, setProperties, setProperty, setWirebox, unregister
     
    Methods inherited from class coldbox.system.FrameworkSupertype
    addAsset, announceInterception, getCache, getController, getInstance, getInterceptor, getModel, getModuleConfig, getModuleSettings, getMyPlugin, getPlugin, getRenderer, getRequestCollection, getRequestContext, getSetting, getSettingStructure, includeUDF, loadApplicationHelpers, locateDirectoryPath, locateFilePath, persistVariables, populateModel, relocate, renderExternalView, renderLayout, renderView, runEvent, setController, setNextEvent, setSetting, settingExists
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    commentService

    property any commentService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:commentService@cb
    serializable - true

    securityService

    property any securityService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:securityService@cb
    serializable - true

    settingService

    property any settingService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:settingService@cb
    serializable - true

    Method Detail

    cbadmin_onLogin

    public void cbadmin_onLogin([any event], [any interceptData])

    on admin login

    Parameters:
    event
    interceptData

    configure

    public any configure()

    Configure

    Overrides:
    configure in class coldbox.system.Interceptor