contentbox.modules.contentbox-admin.interceptors

Class MenuCleanup

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

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Menu cleanup interceptor

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


    • access = public
    • returntype = any
    • inject = id:menuItemService@contentbox
    true false
    Method Summary
    any cbadmin_postEntrySave(any event, struct data)
         Fires after the save of an entry.
    any cbadmin_postMenuSave(any event, struct data)
         Fires after the save of a menu.
    any cbadmin_postPageSave(any event, struct data)
         Fires after the save of a page.
    any cbadmin_preEntryRemove(any event, struct data)
         Fires before deletion of an entry.
    any cbadmin_preMenuRemove(any event, struct data)
         Fires before deletion of a menu.
    any cbadmin_prePageRemove(any event, struct data)
         Fires before deletion of a page.
    any configure()
         Configure.
    any fb_postFileRename(any event, struct data)
         Fires after the rename of a media item.
    any fb_preFileRemoval(any event, struct data)
         Fires before deletion of a file.
     
    Methods inherited from class coldbox.system.Interceptor
    cbLoadInterceptorHelpers, 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

    menuItemService

    property any menuItemService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - id:menuItemService@contentbox
    serializable - true

    Method Detail

    cbadmin_postEntrySave

    public any cbadmin_postEntrySave(any event, struct data)

    Fires after the save of an entry Will cleanup any slug changes for menus

    Parameters:
    event
    data

    cbadmin_postMenuSave

    public any cbadmin_postMenuSave(any event, struct data)

    Fires after the save of a menu Will cleanup any slug changes for child menus

    Parameters:
    event
    data

    cbadmin_postPageSave

    public any cbadmin_postPageSave(any event, struct data)

    Fires after the save of a page Will cleanup any slug changes for menus

    Parameters:
    event
    data

    cbadmin_preEntryRemove

    public any cbadmin_preEntryRemove(any event, struct data)

    Fires before deletion of an entry Will cleanup any slug changes for menus

    Parameters:
    event
    data

    cbadmin_preMenuRemove

    public any cbadmin_preMenuRemove(any event, struct data)

    Fires before deletion of a menu Will cleanup any slug changes for menus

    Parameters:
    event
    data

    cbadmin_prePageRemove

    public any cbadmin_prePageRemove(any event, struct data)

    Fires before deletion of a page Will cleanup any slug changes for menus

    Parameters:
    event
    data

    configure

    public any configure()

    Configure

    Overrides:
    configure in class coldbox.system.Interceptor

    fb_postFileRename

    public any fb_postFileRename(any event, struct data)

    Fires after the rename of a media item Will cleanup any name changes for menus

    Parameters:
    event
    data

    fb_preFileRemoval

    public any fb_preFileRemoval(any event, struct data)

    Fires before deletion of a file

    Parameters:
    event
    data