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

Class Home

lucee.Component
    extended by contentbox.modules.contentbox-admin.modules.contentbox-filebrowser.handlers.Home

Main filebrowser module handler

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


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


    • access = public
    • returntype = any
    • inject = FileUtils@cb
    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.
    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 boolean isTraversalSecure(any prc, any targetPath)
         Determines if this is a safe path call or a traversal security exception.
    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 lucee.Component
    None

    Property Detail

    cookieStorage

    property any cookieStorage

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

    fileUtils

    property any fileUtils

    Attributes:
    access - public
    required - false
    returntype - any
    inject - FileUtils@cb
    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

    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

    isTraversalSecure

    private boolean isTraversalSecure(any prc, any targetPath)

    Determines if this is a safe path call or a traversal security exception

    Parameters:
    prc
    targetPath

    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