Klasse VelocityRtCache
java.lang.Object
de.uplanet.lucy.server.rtcache.scripting.velocity.VelocityRtCache
@VelocityVariable("RtCache")
@VelocityCallable("instance")
public final class VelocityRtCache
extends Object
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungfinal classfinal class -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungVelocityRtCache(de.uplanet.lucy.server.rtcache.IRtCacheProvider p_rtCacheProvider, de.uplanet.lucy.server.i18n.ILanguageConstantsProvider p_languageConstantsProvider, String p_strDefaultLanguage) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanexistsApplication(String p_strGuid) Check if the application with the given unique identifier exists.booleanexistsControl(String p_strGuid) Check if the control with the given unique identifier exists.booleanexistsDataGroup(String p_strGuid) Check if the data group with the given unique identifier exists.booleanexistsDataRangeChildControl(String p_strGuid) Check if the data range with the given unique identifier exists.booleanexistsDataRangeControl(String p_strGuid) Check if the data range with the given unique identifier exists.booleanexistsField(String p_strGuid) Check if the field with the given unique identifier exists.booleanexistsPage(String p_strGuid) Check if the page with the given unique identifier exists.booleanexistsReference(String p_strGuid) Check if the reference with the given unique identifier exists.getApplication(String p_strGuid) Get the application with the given unique identifier.Get all applications.getApplications(IFilter<ApplicationInfo> p_filter) Get applications that match a given filter.getControl(String p_strGuid) Get the control with the given unique identifier.Get all controls.getControls(IFilter<ControlInfo> p_filter) Get allControlInfoobjects that are accepted by the given filter.getDataGroup(String p_strGuid) Get the data group with the given unique identifier.Get all data groups.getDataGroups(IFilter<DataGroupInfo> p_filter) Get data groups that match a given filter.de.uplanet.lucy.server.rtcache.DataRangeChildControlInfogetDataRangeChildControl(String p_strGuid) Get the data range child control with the given unique identifier.List<de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo> getDataRangeChildControlInfos(IFilter<de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo> p_filter) Get data range controls that match a given filter.Get all data groups.de.uplanet.lucy.server.rtcache.DataRangeControlInfogetDataRangeControl(String p_strGuid) Get the data range control with the given unique identifier.List<de.uplanet.lucy.server.rtcache.DataRangeControlInfo> getDataRangeControlInfos(IFilter<de.uplanet.lucy.server.rtcache.DataRangeControlInfo> p_filter) Get data range controls that match a given filter.Get all data groups.Get the field with the given unique identifier.Get all fields.Get allFieldInfoobjects that are accepted by the given filter.Get an object to create different types of filters.getFirstApplication(IFilter<ApplicationInfo> p_filter) Get first application that matches a given filter.getFirstControl(IFilter<ControlInfo> p_filter) Get the firstControlInfoobject that is accepted by the given filter.getFirstDataGroup(IFilter<DataGroupInfo> p_filter) Get first data group that matchesIFilter.de.uplanet.lucy.server.rtcache.DataRangeChildControlInfogetFirstDataRangeChildControl(IFilter<de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo> p_filter) Get first data range child control that matchesIFilter.de.uplanet.lucy.server.rtcache.DataRangeControlInfogetFirstDataRangeControl(IFilter<de.uplanet.lucy.server.rtcache.DataRangeControlInfo> p_filter) Get first data range control that matchesIFilter.getFirstField(IFilter<FieldInfo> p_filter) Get the firstFieldInfoobject that is accepted by the given filter.getFirstPage(IFilter<PageInfo> p_filter) Get the firstPageInfoobject that is accepted by the given filter.getFirstReference(IFilter<ReferenceInfo> p_filter) Get the firstReferenceInfoobject that is accepted by the given filter.getOrder()Get an object to create different types of comparators.Get the page with the given unique identifier.getPages()Get all pages.Get allPageInfoobjects that are accepted by the given filter.getReference(String p_strGuid) Get the reference with the given unique identifier.Get all references.getReferences(IFilter<ReferenceInfo> p_filter) Get allReferenceInfoobjects that are accepted by the given filter.
-
Konstruktordetails
-
VelocityRtCache
public VelocityRtCache(de.uplanet.lucy.server.rtcache.IRtCacheProvider p_rtCacheProvider, de.uplanet.lucy.server.i18n.ILanguageConstantsProvider p_languageConstantsProvider, String p_strDefaultLanguage)
-
-
Methodendetails
-
getFilter
Get an object to create different types of filters.Example
$RtCache.filter.application.getAccessible() $RtCache.filter.page.getByApplication("<app-guid>")- Gibt zurück:
- An object to create filters.
-
getOrder
Get an object to create different types of comparators.Example
$RtCache.order.titled.getAscending("de")- Gibt zurück:
- An object to create comparators.
-
getApplications
Get all applications.- Gibt zurück:
- A map that contains all applications.
-
existsApplication
Check if the application with the given unique identifier exists.- Parameter:
p_strGuid- The application's unique identifier.- Gibt zurück:
trueif the application exists, orfalseotherwise.
-
getApplication
Get the application with the given unique identifier.- Parameter:
p_strGuid- The application's unique identifier.- Gibt zurück:
- The requested application, or
nullif it was not found.
-
getFirstApplication
Get first application that matches a given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
ApplicationInfolist from first matching application.
-
getApplications
Get applications that match a given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
ApplicationInfolist of applications that matched the filter.
-
getDataGroups
Get all data groups.- Gibt zurück:
- a map of all data groups.
-
existsDataGroup
Check if the data group with the given unique identifier exists.- Parameter:
p_strGuid- The data group's unique identifier.- Gibt zurück:
trueif the data group exists, orfalseotherwise.
-
getDataGroup
Get the data group with the given unique identifier.- Parameter:
p_strGuid- The data group's unique identifier.- Gibt zurück:
- The requested data group, or
nullif it was not found.
-
getFirstDataGroup
Get first data group that matchesIFilter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
DataGroupInfolist of first matching data group.
-
getDataGroups
Get data groups that match a given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
DataGroupInfolist of data groups that matched the filter.
-
getDataRangeControls
Get all data groups.- Gibt zurück:
- a map of all data ranges.
-
existsDataRangeControl
Check if the data range with the given unique identifier exists.- Parameter:
p_strGuid- The data range 's unique identifier.- Gibt zurück:
trueif the data range exists, orfalseotherwise.
-
getDataRangeControl
Get the data range control with the given unique identifier.- Parameter:
p_strGuid- The data range control's unique identifier.- Gibt zurück:
- The requested data range control, or
nullif it was not found.
-
getFirstDataRangeControl
public de.uplanet.lucy.server.rtcache.DataRangeControlInfo getFirstDataRangeControl(IFilter<de.uplanet.lucy.server.rtcache.DataRangeControlInfo> p_filter) Get first data range control that matchesIFilter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
DataRangeControlInfolist of first matching data range control.
-
getDataRangeControlInfos
public List<de.uplanet.lucy.server.rtcache.DataRangeControlInfo> getDataRangeControlInfos(IFilter<de.uplanet.lucy.server.rtcache.DataRangeControlInfo> p_filter) Get data range controls that match a given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
DataRangeControlInfolist of data range controls that matched the filter.
-
getDataRangeChildControls
public Map<String,de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo> getDataRangeChildControls()Get all data groups.- Gibt zurück:
- a map of all data ranges.
-
existsDataRangeChildControl
Check if the data range with the given unique identifier exists.- Parameter:
p_strGuid- The data range 's unique identifier.- Gibt zurück:
trueif the data range exists, orfalseotherwise.
-
getDataRangeChildControl
public de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo getDataRangeChildControl(String p_strGuid) Get the data range child control with the given unique identifier.- Parameter:
p_strGuid- The data range child control's unique identifier.- Gibt zurück:
- The requested data range child control, or
nullif it was not found.
-
getFirstDataRangeChildControl
public de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo getFirstDataRangeChildControl(IFilter<de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo> p_filter) Get first data range child control that matchesIFilter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
DataRangeChildControlInfolist of first matching data range child control.
-
getDataRangeChildControlInfos
public List<de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo> getDataRangeChildControlInfos(IFilter<de.uplanet.lucy.server.rtcache.DataRangeChildControlInfo> p_filter) Get data range controls that match a given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
DataRangeControlInfolist of data range controls that matched the filter.
-
getFields
Get all fields.- Gibt zurück:
- a map of all fields.
-
existsField
Check if the field with the given unique identifier exists.- Parameter:
p_strGuid- The field's unique identifier.- Gibt zurück:
trueif the field exists, orfalseotherwise.
-
getField
Get the field with the given unique identifier.- Parameter:
p_strGuid- The field's unique identifier.- Gibt zurück:
- The requested field, or
nullif it was not found.
-
getFirstField
Get the firstFieldInfoobject that is accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- A matching
FieldInfoobject, ornullif no match was found.
-
getFields
Get allFieldInfoobjects that are accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- The
FieldInfoobjects that are accepted by the given filter.
-
getPages
Get all pages.- Gibt zurück:
- A map of all pages.
-
existsPage
Check if the page with the given unique identifier exists.- Parameter:
p_strGuid- The unique identifier of the page.- Gibt zurück:
trueif the page exists, orfalseotherwise.
-
getPage
Get the page with the given unique identifier.- Parameter:
p_strGuid- The page's unique identifier.- Gibt zurück:
- The requested page, or
nullif it was not found.
-
getFirstPage
Get the firstPageInfoobject that is accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- A matching
PageInfoobject, ornullif no match was found.
-
getPages
Get allPageInfoobjects that are accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- The
PageInfoobjects that are accepted by the given filter.
-
getControls
Get all controls.- Gibt zurück:
- A map of all controls.
-
existsControl
Check if the control with the given unique identifier exists.- Parameter:
p_strGuid- The unique identifier of the control.- Gibt zurück:
trueif the control exists, orfalseotherwise.
-
getControl
Get the control with the given unique identifier.- Parameter:
p_strGuid- The control's unique identifier.- Gibt zurück:
- The requested control, or
nullif it was not found.
-
getFirstControl
Get the firstControlInfoobject that is accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- A matching
ControlInfoobject, ornullif no match was found.
-
getControls
Get allControlInfoobjects that are accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- The
ControlInfoobjects that are accepted by the given filter.
-
getReferences
Get all references.- Gibt zurück:
- A map of all refernces.
-
existsReference
Check if the reference with the given unique identifier exists.- Parameter:
p_strGuid- The unique identifier of the reference.- Gibt zurück:
trueif the reference exists, orfalseotherwise.
-
getReference
Get the reference with the given unique identifier.- Parameter:
p_strGuid- The reference's unique identifier.- Gibt zurück:
- The requested reference, or
nullif it was not found.
-
getFirstReference
Get the firstReferenceInfoobject that is accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- A matching
ReferenceInfoobject, ornullif no match was found.
-
getReferences
Get allReferenceInfoobjects that are accepted by the given filter.- Parameter:
p_filter- The filter to be applied (seede.uplanet.lucy.server.auxiliaries.ObjectFactory#createFilter(String)).- Gibt zurück:
- The
ReferenceInfoobjects that are accepted by the given filter.
-