public class PersistentData extends DefaultReportingData
a, alias, attributeHasUserdefType, dontUseMappedString, e, value
Constructor and Description |
---|
PersistentData() |
Modifier and Type | Method and Description |
---|---|
void |
addClientConditionWidgetOptions(JSONObject json,
boolean paramAtExec,
Element condition)
add clientcondition attributes to attribute store
|
void |
addConditionToQuery(Query q,
Element c)
Adds the XMLAttribute as a conditon to the query.
|
protected boolean |
addRightCheckConditionToQuery(Right right,
Query q,
String tablename,
String selection,
String alias) |
void |
addValues(JSONObject obj,
String values) |
int |
compareTo(ReportingExportable o) |
Collection<ReportingExportable> |
completeSeries(Set<ReportingExportable> series,
Query q)
invoked for matrix-style reports to be able to add missing entries in the given
series |
Map<String,Class<?>> |
getClassesList() |
Object |
getCurrentValue()
since
getValue() autofills non-filled persistents - this method returns the unmodified value |
static Page |
getPersistentObjectsLabels(HttpServletRequest req) |
Collection<Persistent> |
getUnfilledPersistents() |
Object |
getValue() |
protected Persistent |
instantiate(Class<?> clazz,
long oid) |
void |
releaseUnfilled() |
void |
setValue(ResultSet rs,
Element selectAttribute,
Query q)
Sets the value of this object.
|
add, addIgnoreCaseComponents, addSelectAttributeToQuery, avg, checkTempJoin, compare2, getAlias, getAttribute, getBaseType, getColumnRenderer, getDBData, getEntity, getMappedValue, getMappedValues, getOperatorList, hasAttributeUserdefinedType, hasMappedValues, pairList, pairList, pairList, pairList, setAlias, setAttribute, setAttributeHasUserdefinedType, setDojoAndStyle, setEntity, setMappedValue, setValue, splitValueAttribute, toHtml, toJson, toString, toText
getSortText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addClientConditionWidgetOptions
getSortText
public static Page getPersistentObjectsLabels(HttpServletRequest req)
public void addClientConditionWidgetOptions(JSONObject json, boolean paramAtExec, Element condition)
ReportingData
addClientConditionWidgetOptions
in interface ReportingData
addClientConditionWidgetOptions
in class DefaultReportingData
json
- the json object of this attributeparamAtExec
- indicates if method is called in normal condition or param-at-execution modecondition
- the optional <condition> element. can be used to mimic special behavior for parameter-at-execution scenariospublic void setValue(ResultSet rs, Element selectAttribute, Query q)
ReportingData
setValue
in interface ReportingData
setValue
in class DefaultReportingData
rs
- - the result set of the queryselectAttribute
- - the xml-element attribute of the queryq
- - the query objectpublic Object getValue()
getValue
in interface ReportingExportable
getValue
in class DefaultReportingData
public final Object getCurrentValue()
getValue()
autofills non-filled persistents - this method returns the unmodified valueprotected final Persistent instantiate(Class<?> clazz, long oid)
public final Collection<Persistent> getUnfilledPersistents()
public final void releaseUnfilled()
public final void addValues(JSONObject obj, String values)
protected boolean addRightCheckConditionToQuery(Right right, Query q, String tablename, String selection, String alias)
public void addConditionToQuery(Query q, Element c)
ReportingData
Query.addCondition(String, String, String, String, List)
addConditionToQuery
in interface ReportingData
addConditionToQuery
in class DefaultReportingData
q
- - the query Object, where condtion has to be addedc
- - the xml element of type conditionpublic int compareTo(ReportingExportable o)
compareTo
in interface ReportingExportable
compareTo
in interface Comparable<ReportingExportable>
compareTo
in class DefaultReportingData
public Collection<ReportingExportable> completeSeries(Set<ReportingExportable> series, Query q)
ReportingData
series
completeSeries
in interface ReportingData
completeSeries
in class DefaultReportingData
series
- the current values from the DBq
- the query@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.