cbelasticsearch.util

Class Util

lucee.Component
    extended by cbelasticsearch.util.Util
Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any jLoader


    • access = public
    • returntype = any
    • inject = loader@cbjavaloader
    true false
    Method Summary
    any ensureBooleanCasting(any memento)
         Workaround for Adobe 2018 metadata mutation bug with GSON: https://tracker.
    any ensureNativeStruct(struct memento)
         Ensures a CF native struct is returned ( allowing for dot-notation ).
    string getJLoader()
    any newHashMap([struct memento])
         Creates a new java.
    any setJLoader(any jLoader)
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    jLoader

    property any jLoader

    Attributes:
    access - public
    required - false
    returntype - any
    inject - loader@cbjavaloader
    serializable - true

    Method Detail

    ensureBooleanCasting Deprecated

    public any ensureBooleanCasting(any memento)

    Workaround for Adobe 2018 metadata mutation bug with GSON: https://tracker.adobe.com/#/view/CF-4206423

    Deprecated:
    As soon as the bug above is fixed
    Parameters:
    memento

    ensureNativeStruct

    public any ensureNativeStruct(struct memento)

    Ensures a CF native struct is returned ( allowing for dot-notation )

    Parameters:
    memento - A struct to ensure

    getJLoader

    public string getJLoader()


    newHashMap

    public any newHashMap([struct memento])

    Creates a new java.util.HashMap with an optional struct to populate

    Parameters:
    memento - a struct to populate the memento with

    setJLoader

    public any setJLoader(any jLoader)

    Parameters:
    jLoader