Class QPossibleValueTranslator
java.lang.Object
com.kingsrook.qqq.backend.core.actions.values.QPossibleValueTranslator
Class responsible for looking up possible-values for fields/records and
make them into display values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList
<QPossibleValue<?>> buildTranslatedPossibleValueList
(QPossibleValueSource possibleValueSource, List<Serializable> ids) Translate a list of ids to a list of possible values (e.g., w/ rendered values)int
Getter for maxSizePerPvsCachevoid
setMaxSizePerPvsCache
(int maxSizePerPvsCache) Setter for maxSizePerPvsCachetranslatePossibleValue
(QFieldMetaData field, Serializable value) For a given field and (raw/id) value, get the translated (string) value.void
translatePossibleValuesInRecords
(QTableMetaData table, List<QRecord> records) For a list of records, translate their possible values (populating their display values)void
translatePossibleValuesInRecords
(QTableMetaData table, List<QRecord> records, List<QueryJoin> queryJoins, Set<String> limitedToFieldNames) For a list of records, translate their possible values (populating their display values)
-
Constructor Details
-
QPossibleValueTranslator
public QPossibleValueTranslator()Constructor -
QPossibleValueTranslator
-
-
Method Details
-
translatePossibleValuesInRecords
For a list of records, translate their possible values (populating their display values) -
translatePossibleValuesInRecords
-
buildTranslatedPossibleValueList
public List<QPossibleValue<?>> buildTranslatedPossibleValueList(QPossibleValueSource possibleValueSource, List<Serializable> ids) Translate a list of ids to a list of possible values (e.g., w/ rendered values) -
translatePossibleValue
For a given field and (raw/id) value, get the translated (string) value. -
getMaxSizePerPvsCache
public int getMaxSizePerPvsCache()Getter for maxSizePerPvsCache -
setMaxSizePerPvsCache
public void setMaxSizePerPvsCache(int maxSizePerPvsCache) Setter for maxSizePerPvsCache
-