java.lang.Object
de.uplanet.lucy.server.rtcache.scripting.groovy.GroovyRtCache

@Scriptable public final class GroovyRtCache extends Object
  • Constructor Details

    • GroovyRtCache

      public GroovyRtCache(Supplier<de.uplanet.lucy.server.rtcache.IRtCache> p_getRtCache, Supplier<de.uplanet.lucy.server.i18n.ILanguageConstants> p_getLanguageConstants, String p_strDefaultLanguage)
      Create a GroovyRtCache.

      The suppliers provided are called on demand, and at most once.

      Parameters:
      p_getRtCache - A supplier for the RtCache (called at most once).
      p_getLanguageConstants - A supplier for language constants (called at most once).
      p_strDefaultLanguage - The default language to be used.
  • Method Details

    • getApplications

      public Snapshot getApplications()
      Get snapshot of all applications.
      Returns:
      a snapshot of all applications.
    • getDataGroups

      public Snapshot getDataGroups()
      Get snapshot of all data groups.
      Returns:
      a snapshot of all data groups.
    • getFields

      public Snapshot getFields()
      Get snapshot of all fields.
      Returns:
      a snapshot of all fields.
    • getPages

      public Snapshot getPages()
      Get snapshot of all pages.
      Returns:
      a snapshot of all pages.
    • getReferences

      public Snapshot getReferences()
      Get snapshot of all references.
      Returns:
      a snapshot of all references.
    • getReferenceParameters

      public Snapshot getReferenceParameters()
      Get snapshot of all reference parameters.
      Returns:
      a snapshot of all reference parameters.
    • getPageDataGroups

      public Snapshot getPageDataGroups()
      Get snapshot of all page data groups.
      Returns:
      a snapshot of all page data groups.
    • getControls

      public Snapshot getControls()
      Get snapshot of all controls.
      Returns:
      a snapshot of all controls.