contentbox.modules.contentbox-admin.handlers

Class contentTemplates

lucee.Component
    extended by coldbox.system.FrameworkSupertype
      extended by coldbox.system.EventHandler
        extended by coldbox.system.RestHandler
          extended by contentbox.modules.contentbox-admin.handlers.baseHandler
            extended by contentbox.modules.contentbox-admin.handlers.contentTemplates
Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any categoryService


    • access = public
    • returntype = any
    • inject = CategoryService@contentbox
    true false
    any templateService


    • access = public
    • returntype = any
    • inject = ContentTemplateService@contentbox
    true false
    Method Summary
    any export([any event], [any rc], [any prc])
         Exports a single Template.
    any exportAll([any event], [any rc], [any prc])
         Exports multiple selected templates.
    any importAll([any event], [any rc], [any prc])
         Imports a JSON file containing multiple Templates.
    any index([any event], [any rc], [any prc])
         Main Content Templates Admin View.
    any preHandler([any event], [any rc], [any prc])
     
    Methods inherited from class contentbox.modules.contentbox-admin.handlers.baseHandler
    getMaxRows, getPageOffset
     
    Methods inherited from class coldbox.system.RestHandler
    aroundHandler, onAnyOtherException, onAuthenticationFailure, onAuthorizationFailure, onEntityNotFoundException, onError, onExpectationFailed, onInvalidHTTPMethod, onInvalidRoute, onMissingAction, onValidationException
     
    Methods inherited from class coldbox.system.EventHandler
    _actionExists, _actionMetadata, _privateInvoker, init, onHandlerDIComplete
     
    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

    categoryService

    property any categoryService

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

    templateService

    property any templateService

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

    Method Detail

    export

    public any export([any event], [any rc], [any prc])

    Exports a single Template

    Parameters:
    event
    rc
    prc

    exportAll

    public any exportAll([any event], [any rc], [any prc])

    Exports multiple selected templates

    Parameters:
    event
    rc
    prc

    importAll

    public any importAll([any event], [any rc], [any prc])

    Imports a JSON file containing multiple Templates

    Parameters:
    event
    rc
    prc

    index

    public any index([any event], [any rc], [any prc])

    Main Content Templates Admin View

    Parameters:
    event
    rc
    prc

    preHandler

    public any preHandler([any event], [any rc], [any prc])

    Parameters:
    event
    rc
    prc