Class GroovyRtCache
- java.lang.Object
-
- de.uplanet.lucy.server.rtcache.scripting.groovy.GroovyRtCache
-
@Scriptable public final class GroovyRtCache extends Object
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotgetApplications()Get snapshot of all applications.SnapshotgetControls()Get snapshot of all controls.SnapshotgetDataGroups()Get snapshot of all data groups.SnapshotgetFields()Get snapshot of all fields.SnapshotgetPageDataGroups()Get snapshot of all page data groups.SnapshotgetPages()Get snapshot of all pages.SnapshotgetReferenceParameters()Get snapshot of all reference parameters.SnapshotgetReferences()Get snapshot of all references.
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-