contentbox.modules.contentbox-admin.modules.contentbox-filebrowser.handlers

Class Home

lucee.Component
    extended by coldbox.system.FrameworkSupertype
      extended by coldbox.system.EventHandler
        extended by coldbox.system.RestHandler
          extended by cbadmin.handlers.baseHandler
            extended by contentbox.modules.contentbox-admin.modules.contentbox-filebrowser.handlers.Home

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- This is the main controller of events for the filebrowser

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


    • access = public
    • returntype = any
    • inject = CBHelper@contentbox
    true false
    any cookieStorage


    • access = public
    • returntype = any
    • inject = cookieStorage@cbStorages
    true false
    any html


    • access = public
    • returntype = any
    • inject = HTMLHelper@coldbox
    true false
    Method Summary
    private any cleanIncomingPath(any inPath)
         Cleanup of incoming path.
    any createfolder([any event], [any rc], [any prc])
         Creates folders asynchrounsly return json information:.
    private any detectPreferences([any event], [any rc], [any prc])
         Detect Preferences: Sorting and List Types.
    any download([any event], [any rc], [any prc])
         download file.
    any filelisting([any event], [any rc], [any prc])
         Ajax driven file listings.
    private any getPreferences()
         Get preferences.
    any index([any event], [any rc], [any prc], [boolean widget='false'], [struct settings='[runtime expression]'])
    private any inflateFlashParams([any event], [any rc], [any prc])
         Inflate flash params if they exist into the appropriate function variables.
    private any loadAssets([any event], [any rc], [any prc], [boolean force='false'], [struct settings='[runtime expression]'])
         Load Assets for FileBrowser.
    private struct mergeSettings([struct oldSettings], [struct settings='[runtime expression]'])
         Merge module settings and custom settings.
    any preHandler([any event], [any currentAction], [any rc], [any prc])
         Pre handler.
    any remove([any event], [any rc], [any prc])
         Removes folders + files asynchrounsly return json information:.
    any rename([any event], [any rc], [any prc])
         rename.
    any upload([any event], [any rc], [any prc])
         Upload File.
     
    Methods inherited from class cbadmin.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

    cb

    property any cb

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

    cookieStorage

    property any cookieStorage

    Attributes:
    access - public
    required - false
    returntype - any
    inject - cookieStorage@cbStorages
    serializable - true

    html

    property any html

    Attributes:
    access - public
    required - false
    returntype - any
    inject - HTMLHelper@coldbox
    serializable - true

    Method Detail

    cleanIncomingPath

    private any cleanIncomingPath(any inPath)

    Cleanup of incoming path

    Parameters:
    inPath

    createfolder

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

    Creates folders asynchrounsly return json information:

    Parameters:
    event
    rc
    prc

    detectPreferences

    private any detectPreferences([any event], [any rc], [any prc])

    Detect Preferences: Sorting and List Types

    Parameters:
    event
    rc
    prc

    download

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

    download file

    Parameters:
    event
    rc
    prc

    filelisting

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

    Ajax driven file listings

    Parameters:
    event
    rc
    prc

    getPreferences

    private any getPreferences()

    Get preferences


    index

    public any index([any event], [any rc], [any prc], [boolean widget='false'], [struct settings='[runtime expression]'])

    Parameters:
    event
    rc
    prc
    widget - Determines if this will run as a viewlet or normal MVC
    settings - A structure of settings for the filebrowser to be overriden with in the viewlet most likely.

    inflateFlashParams

    private any inflateFlashParams([any event], [any rc], [any prc])

    Inflate flash params if they exist into the appropriate function variables.

    Parameters:
    event
    rc
    prc

    loadAssets

    private any loadAssets([any event], [any rc], [any prc], [boolean force='false'], [struct settings='[runtime expression]'])

    Load Assets for FileBrowser

    Parameters:
    event
    rc
    prc
    force - Force the loading of assets on demand
    settings - A structure of settings for the filebrowser to be overriden with in the viewlet most likely.

    mergeSettings

    private struct mergeSettings([struct oldSettings], [struct settings='[runtime expression]'])

    Merge module settings and custom settings

    Parameters:
    oldSettings
    settings

    preHandler

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

    Pre handler

    Parameters:
    event
    currentAction
    rc
    prc

    remove

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

    Removes folders + files asynchrounsly return json information:

    Parameters:
    event
    rc
    prc

    rename

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

    rename

    Parameters:
    event
    rc
    prc

    upload

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

    Upload File

    Parameters:
    event
    rc
    prc