Uses of Class
com.kingsrook.qqq.backend.core.model.data.QRecord
Packages that use QRecord
Package
Description
-
Uses of QRecord in com.kingsrook.qqq.api.actions
Methods in com.kingsrook.qqq.api.actions that return QRecordModifier and TypeMethodDescriptionstatic QRecord
QRecordApiAdapter.apiJsonObjectToQRecord
(org.json.JSONObject jsonObject, String tableName, String apiName, String apiVersion, boolean includeNonEditableFields) Methods in com.kingsrook.qqq.api.actions with parameters of type QRecordModifier and TypeMethodDescriptionstatic Map
<String, Serializable> QRecordApiAdapter.qRecordToApiMap
(QRecord record, String tableName, String apiName, String apiVersion) Simple/short form of convert a QRecord to a map for the API - e.g., meant for public consumption.Method parameters in com.kingsrook.qqq.api.actions with type arguments of type QRecordModifier and TypeMethodDescriptionstatic ArrayList
<Map<String, Serializable>> QRecordApiAdapter.qRecordsToApiMapList
(List<QRecord> records, String tableName, String apiName, String apiVersion) bulk-version of the qRecordToApiMap - will use ApiFieldCustomValueMapperBulkSupportInterface's in the bulky way. -
Uses of QRecord in com.kingsrook.qqq.api.model
Methods in com.kingsrook.qqq.api.model that return QRecordConstructors in com.kingsrook.qqq.api.model with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.api.model.actions
Methods in com.kingsrook.qqq.api.model.actions with parameters of type QRecordModifier and TypeMethodDescriptionvoid
ApiFieldCustomValueMapper.consumeApiValue
(QRecord record, Object value, org.json.JSONObject fullApiJsonObject, String apiFieldName) When producing a QRecord (the first parameter) from a JSON Object that was received from the API (e.g., a POST or PATCH) - this method can run to allow customization of the incoming value.ApiFieldCustomValueMapper.produceApiValue
(QRecord record, String apiFieldName) When producing a JSON Object to send over the API (e.g., for a GET), this method can run to customize the value that is produced, for the input QRecord's specified fieldNameMethod parameters in com.kingsrook.qqq.api.model.actions with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
ApiFieldCustomValueMapperBulkSupportInterface.prepareToProduceApiValues
(List<QRecord> records) -
Uses of QRecord in com.kingsrook.qqq.api.utils
Method parameters in com.kingsrook.qqq.api.utils with type arguments of type QRecordModifier and TypeMethodDescriptionstatic ArrayList
<Map<String, Serializable>> ApiScriptUtils.qRecordListToApiRecordList
(List<QRecord> qRecordList, String tableName, String apiName, String apiVersion) -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.audits
Methods in com.kingsrook.qqq.backend.core.actions.audits with parameters of type QRecordModifier and TypeMethodDescriptionstatic void
AuditAction.appendToInput
(AuditInput auditInput, QTableMetaData table, QRecord record, String auditMessage) Simple overload that internally figures out primary key and security key values Be aware - if the record doesn't have its security key values set (say it's a partial record as part of an update), then those values won't be in the security key map...static Map
<String, Serializable> AuditAction.getRecordSecurityKeyValues
(QTableMetaData table, QRecord record, Optional<QRecord> oldRecord) For a given record, from a given table, build a map of the record's security key values.Method parameters in com.kingsrook.qqq.backend.core.actions.audits with type arguments of type QRecordModifier and TypeMethodDescriptionstatic AuditInput
AuditAction.appendToInput
(AuditInput auditInput, String tableName, Integer recordId, Map<String, Serializable> securityKeyValues, String message, List<QRecord> details) Add 1 auditSingleInput to an AuditInput object - with a list of details (child records).static void
AuditAction.execute
(String tableName, Integer recordId, Map<String, Serializable> securityKeyValues, String message, List<QRecord> details) Execute to insert 1 audit, with a list of detail child recordsstatic Map
<String, Serializable> AuditAction.getRecordSecurityKeyValues
(QTableMetaData table, QRecord record, Optional<QRecord> oldRecord) For a given record, from a given table, build a map of the record's security key values. -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.automation
Method parameters in com.kingsrook.qqq.backend.core.actions.automation with type arguments of type QRecordModifier and TypeMethodDescriptionstatic boolean
RecordAutomationStatusUpdater.setAutomationStatusInRecords
(QTableMetaData table, List<QRecord> records, AutomationStatus automationStatus, QBackendTransaction transaction, List<QRecord> oldRecordList) for a list of records from a table, set their automation status - based on how the table is configured.static void
RecordAutomationStatusUpdater.setAutomationStatusInRecordsAndUpdate
(QTableMetaData table, List<QRecord> records, AutomationStatus automationStatus, QBackendTransaction transaction) for a list of records, update their automation status and actually Update the backend as well. -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.automation.polling
Method parameters in com.kingsrook.qqq.backend.core.actions.automation.polling with type arguments of type QRecordModifier and TypeMethodDescriptionstatic void
PollingAutomationPerTableRunner.applyActionToMatchingRecords
(QTableMetaData table, List<QRecord> records, TableAutomationAction action) Finally, actually run action code against a list of known matching records.protected boolean
PollingAutomationPerTableRunner.applyActionToRecords
(QTableMetaData table, List<QRecord> records, TableAutomationAction action) Run one action over a list of records (if they match the action's filter). -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.customizers
Fields in com.kingsrook.qqq.backend.core.actions.customizers with type parameters of type QRecordModifier and TypeFieldDescriptionAbstractPostUpdateCustomizer.oldRecordList
AbstractPreUpdateCustomizer.oldRecordList
Methods in com.kingsrook.qqq.backend.core.actions.customizers that return QRecordModifier and TypeMethodDescriptionabstract QRecord
ChildInserterPostInsertCustomizer.buildChildForRecord
(QRecord parentRecord) Methods in com.kingsrook.qqq.backend.core.actions.customizers that return types with arguments of type QRecordModifier and TypeMethodDescriptionAbstractPostUpdateCustomizer.getOldRecordList()
AbstractPreUpdateCustomizer.getOldRecordList()
protected Map
<Serializable, QRecord> AbstractPostUpdateCustomizer.getOldRecordMap()
protected Map
<Serializable, QRecord> AbstractPreUpdateCustomizer.getOldRecordMap()
default Map
<Serializable, QRecord> RecordCustomizerUtilityInterface.getOldRecordMap
(List<QRecord> oldRecordList, UpdateInput updateInput) default Optional
<Map<Serializable, QRecord>> TableCustomizerInterface.oldRecordListToMap
(String primaryKeyField, Optional<List<QRecord>> oldRecordList) AbstractPostDeleteCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) TableCustomizerInterface.postDelete
(DeleteInput deleteInput, List<QRecord> records) Custom actions after a delete takes place.AbstractPostInsertCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) TableCustomizerInterface.postInsert
(InsertInput insertInput, List<QRecord> records) custom actions after an insert takes place.TableCustomizerInterface.postInsertOrUpdate
(AbstractActionInput input, List<QRecord> records, Optional<List<QRecord>> oldRecordList) Optional method to override in a customizer that does the same thing for both postInsert invalid input: '&' postUpdate.AbstractPostQueryCustomizer.postQuery
(QueryOrGetInputInterface queryInput, List<QRecord> records) TableCustomizerInterface.postQuery
(QueryOrGetInputInterface queryInput, List<QRecord> records) custom actions to run after a query (or get!)AbstractPostUpdateCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) TableCustomizerInterface.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) custom actions after an update takes place.AbstractPreDeleteCustomizer.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) TableCustomizerInterface.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) Custom actions before a delete takes place.AbstractPreInsertCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) TableCustomizerInterface.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) custom actions before an insert takes place.TableCustomizerInterface.preInsertOrUpdate
(AbstractActionInput input, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) Optional method to override in a customizer that does the same thing for both preInsert invalid input: '&' preUpdate.AbstractPreUpdateCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) TableCustomizerInterface.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) custom actions before an update takes place.Methods in com.kingsrook.qqq.backend.core.actions.customizers with parameters of type QRecordModifier and TypeMethodDescriptionabstract QRecord
ChildInserterPostInsertCustomizer.buildChildForRecord
(QRecord parentRecord) default void
default void
RecordCustomizerUtilityInterface.errorIfAnyValue
(Serializable value, QRecord record, String errorMessage) default void
RecordCustomizerUtilityInterface.errorIfEditedValue
(QRecord oldRecord, QRecord newRecord, String fieldName, String errorMessage) default void
RecordCustomizerUtilityInterface.errorIfNoValue
(Serializable value, QRecord record, String errorMessage) RecordCustomizerUtilityInterface.getChanges
(String tableName, QRecord oldRecord, QRecord newRecord) static <T extends Serializable>
TRecordCustomizerUtilityInterface.getValueFromRecordOrOldRecord
(String fieldName, QRecord record, Serializable primaryKey, Optional<Map<Serializable, QRecord>> oldRecordMap) Method parameters in com.kingsrook.qqq.backend.core.actions.customizers with type arguments of type QRecordModifier and TypeMethodDescriptiondefault Map
<Serializable, QRecord> RecordCustomizerUtilityInterface.getOldRecordMap
(List<QRecord> oldRecordList, UpdateInput updateInput) static <T extends Serializable>
TRecordCustomizerUtilityInterface.getValueFromRecordOrOldRecord
(String fieldName, QRecord record, Serializable primaryKey, Optional<Map<Serializable, QRecord>> oldRecordMap) default Optional
<Map<Serializable, QRecord>> TableCustomizerInterface.oldRecordListToMap
(String primaryKeyField, Optional<List<QRecord>> oldRecordList) AbstractPostDeleteCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) TableCustomizerInterface.postDelete
(DeleteInput deleteInput, List<QRecord> records) Custom actions after a delete takes place.AbstractPostInsertCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) TableCustomizerInterface.postInsert
(InsertInput insertInput, List<QRecord> records) custom actions after an insert takes place.TableCustomizerInterface.postInsertOrUpdate
(AbstractActionInput input, List<QRecord> records, Optional<List<QRecord>> oldRecordList) Optional method to override in a customizer that does the same thing for both postInsert invalid input: '&' postUpdate.TableCustomizerInterface.postInsertOrUpdate
(AbstractActionInput input, List<QRecord> records, Optional<List<QRecord>> oldRecordList) Optional method to override in a customizer that does the same thing for both postInsert invalid input: '&' postUpdate.AbstractPostQueryCustomizer.postQuery
(QueryOrGetInputInterface queryInput, List<QRecord> records) TableCustomizerInterface.postQuery
(QueryOrGetInputInterface queryInput, List<QRecord> records) custom actions to run after a query (or get!)AbstractPostUpdateCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) AbstractPostUpdateCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) TableCustomizerInterface.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) custom actions after an update takes place.TableCustomizerInterface.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) custom actions after an update takes place.AbstractPreDeleteCustomizer.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) TableCustomizerInterface.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) Custom actions before a delete takes place.AbstractPreInsertCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) TableCustomizerInterface.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) custom actions before an insert takes place.TableCustomizerInterface.preInsertOrUpdate
(AbstractActionInput input, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) Optional method to override in a customizer that does the same thing for both preInsert invalid input: '&' preUpdate.TableCustomizerInterface.preInsertOrUpdate
(AbstractActionInput input, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) Optional method to override in a customizer that does the same thing for both preInsert invalid input: '&' preUpdate.AbstractPreUpdateCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) AbstractPreUpdateCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) TableCustomizerInterface.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) custom actions before an update takes place.TableCustomizerInterface.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) custom actions before an update takes place.void
AbstractPostUpdateCustomizer.setOldRecordList
(List<QRecord> oldRecordList) void
AbstractPreUpdateCustomizer.setOldRecordList
(List<QRecord> oldRecordList) -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.processes
Methods in com.kingsrook.qqq.backend.core.actions.processes with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.reporting
Methods in com.kingsrook.qqq.backend.core.actions.reporting that return types with arguments of type QRecordMethods in com.kingsrook.qqq.backend.core.actions.reporting with parameters of type QRecordModifier and TypeMethodDescriptionvoid
void
void
Add a record to the pipe.void
CsvExportStreamer.addTotalsRow
(QRecord record) default void
ExportStreamerInterface.addTotalsRow
(QRecord record) void
JsonExportStreamer.addTotalsRow
(QRecord record) void
ListOfMapsExportStreamer.addTotalsRow
(QRecord record) Method parameters in com.kingsrook.qqq.backend.core.actions.reporting with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
CsvExportStreamer.addRecords
(List<QRecord> qRecords) void
DistinctFilteringRecordPipe.addRecords
(List<QRecord> records) void
ExportStreamerInterface.addRecords
(List<QRecord> recordList) Called as records flow into the pipe.void
JsonExportStreamer.addRecords
(List<QRecord> qRecords) void
ListOfMapsExportStreamer.addRecords
(List<QRecord> qRecords) void
RecordPipe.addRecords
(List<QRecord> records) Add a list of records to the pipe.void
RecordPipeBufferedWrapper.addRecords
(List<QRecord> records) when it's time to actually add records into the pipe, actually add them into the wrapped pipe!void
RecordPipe.setPostRecordActions
(UnsafeConsumer<List<QRecord>, QException> postRecordActions) -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.reporting.excel.fastexcel
Methods in com.kingsrook.qqq.backend.core.actions.reporting.excel.fastexcel with parameters of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.actions.reporting.excel.fastexcel with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
ExcelFastexcelExportStreamer.addRecords
(List<QRecord> qRecords) -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.reporting.excel.poi
Methods in com.kingsrook.qqq.backend.core.actions.reporting.excel.poi with parameters of type QRecordModifier and TypeMethodDescriptionvoid
ExcelPoiBasedStreamingExportStreamer.addTotalsRow
(QRecord record) static void
ExcelPoiBasedStreamingExportStreamer.setStyleForField
(QRecord record, String fieldName, String styleName) Method parameters in com.kingsrook.qqq.backend.core.actions.reporting.excel.poi with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
ExcelPoiBasedStreamingExportStreamer.addRecords
(List<QRecord> qRecords) -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.scripts
Methods in com.kingsrook.qqq.backend.core.actions.scripts that return QRecordMethods in com.kingsrook.qqq.backend.core.actions.scripts that return types with arguments of type QRecordModifier and TypeMethodDescriptionQqqScriptUtils.query
(QueryInput queryInput) QqqScriptUtils.query
(String tableName, QQueryFilter filter) Methods in com.kingsrook.qqq.backend.core.actions.scripts with parameters of type QRecordModifier and TypeMethodDescriptionvoid
void
void
Method parameters in com.kingsrook.qqq.backend.core.actions.scripts with type arguments of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.scripts.logging
Methods in com.kingsrook.qqq.backend.core.actions.scripts.logging that return QRecordModifier and TypeMethodDescriptionprotected QRecord
BuildScriptLogAndScriptLogLineExecutionLogger.buildDetailLogRecord
(String logLine) BuildScriptLogAndScriptLogLineExecutionLogger.getScriptLog()
Getter for scriptLogMethods in com.kingsrook.qqq.backend.core.actions.scripts.logging that return types with arguments of type QRecordModifier and TypeMethodDescriptionBuildScriptLogAndScriptLogLineExecutionLogger.getScriptLogLines()
Getter for scriptLogLinesMethods in com.kingsrook.qqq.backend.core.actions.scripts.logging with parameters of type QRecordModifier and TypeMethodDescriptionprotected void
BuildScriptLogAndScriptLogLineExecutionLogger.setScriptLog
(QRecord scriptLog) Setter for scriptLogMethod parameters in com.kingsrook.qqq.backend.core.actions.scripts.logging with type arguments of type QRecordModifier and TypeMethodDescriptionprotected void
BuildScriptLogAndScriptLogLineExecutionLogger.setScriptLogLines
(List<QRecord> scriptLogLines) Setter for scriptLogLines -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.tables
Methods in com.kingsrook.qqq.backend.core.actions.tables that return QRecordModifier and TypeMethodDescriptionstatic QRecord
GetAction.execute
(String tableName, Serializable primaryKey) more shorthand way to call for the most common use-case, when you just want the output record to be returned, and you just want to pass in a table name and primary key.static QRecord
GetAction.execute
(String tableName, Map<String, Serializable> uniqueKey) more shorthand way to call for the most common use-case, when you just want the output record to be returned, and you just want to pass in a table name and unique keyGetAction.executeForRecord
(GetInput getInput) shorthand way to call for the most common use-case, when you just want the output record to be returned.InsertAction.executeForRecord
(InsertInput insertInput) UpdateAction.executeForRecord
(UpdateInput updateInput) GetAction.postRecordActions
(QRecord record) Run the necessary actions on a record.Methods in com.kingsrook.qqq.backend.core.actions.tables that return types with arguments of type QRecordModifier and TypeMethodDescriptionQueryAction.execute
(String tableName, QQueryFilter filter) shorthand way to call for the most common use-case, when you just want the records to be returned, and you just want to pass in a table name and filter.InsertAction.executeForRecords
(InsertInput insertInput) UpdateAction.executeForRecords
(UpdateInput updateInput) DeleteAction.performValidations
(DeleteInput deleteInput, Optional<List<QRecord>> oldRecordList, boolean isPreview) this method takes in the deleteInput, and the list of old records that matched the pkeys in that input.Methods in com.kingsrook.qqq.backend.core.actions.tables with parameters of type QRecordModifier and TypeMethodDescriptionGetAction.postRecordActions
(QRecord record) Run the necessary actions on a record.Method parameters in com.kingsrook.qqq.backend.core.actions.tables with type arguments of type QRecordModifier and TypeMethodDescriptionDeleteAction.performValidations
(DeleteInput deleteInput, Optional<List<QRecord>> oldRecordList, boolean isPreview) this method takes in the deleteInput, and the list of old records that matched the pkeys in that input.void
UpdateAction.performValidations
(UpdateInput updateInput, Optional<List<QRecord>> oldRecordList, boolean isPreview) void
QueryAction.postRecordActions
(List<QRecord> records) Run the necessary actions on a list of records (which must be a mutable list - e.g., not one created via List.of()). -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.tables.helpers
Methods in com.kingsrook.qqq.backend.core.actions.tables.helpers that return types with arguments of type QRecordModifier and TypeMethodDescriptionUpdateActionRecordSplitHelper.getOutputRecords()
Getter for outputRecordsUpdateActionRecordSplitHelper.getRecordsByFieldBeingUpdated()
Getter for recordsByFieldBeingUpdatedMethods in com.kingsrook.qqq.backend.core.actions.tables.helpers with parameters of type QRecordModifier and TypeMethodDescriptionstatic Optional
<List<Serializable>> UniqueKeyHelper.getKeyValues
(QTableMetaData table, UniqueKey uniqueKey, QRecord record) static Optional
<List<Serializable>> UniqueKeyHelper.getKeyValues
(QTableMetaData table, UniqueKey uniqueKey, QRecord record, boolean allowNullKeyValuesToEqual) Method parameters in com.kingsrook.qqq.backend.core.actions.tables.helpers with type arguments of type QRecordModifier and TypeMethodDescriptionstatic boolean
UpdateActionRecordSplitHelper.areAllValuesBeingUpdatedTheSame
(UpdateInput updateInput, List<QRecord> recordList, List<String> fieldsBeingUpdated) static Map
<List<Serializable>, Serializable> UniqueKeyHelper.getExistingKeys
(QBackendTransaction transaction, QTableMetaData table, List<QRecord> recordList, UniqueKey uniqueKey) static Map
<List<Serializable>, Serializable> UniqueKeyHelper.getExistingKeys
(QBackendTransaction transaction, QTableMetaData table, List<QRecord> recordList, UniqueKey uniqueKey, boolean allowNullKeyValuesToEqual) static List
<QErrorMessage> ValidateRecordSecurityLockHelper.validateRecordSecurityValue
(QTableMetaData table, RecordSecurityLock recordSecurityLock, Serializable recordSecurityValue, QFieldType fieldType, ValidateRecordSecurityLockHelper.Action action, Map<Serializable, QRecord> madeUpPrimaryKeys) static void
ValidateRecordSecurityLockHelper.validateSecurityFields
(QTableMetaData table, List<QRecord> records, ValidateRecordSecurityLockHelper.Action action, QBackendTransaction transaction) -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.values
Methods in com.kingsrook.qqq.backend.core.actions.values with parameters of type QRecordModifier and TypeMethodDescriptionstatic String
QValueFormatter.formatRecordLabel
(QTableMetaData table, QRecord record) Make a string from a table's recordLabelFormat and fields, for a given record.static void
QValueFormatter.setDisplayValuesInRecord
(QTableMetaData table, Map<String, QFieldMetaData> fields, QRecord record) For a single record, set its display values - public version of this.Method parameters in com.kingsrook.qqq.backend.core.actions.values with type arguments of type QRecordModifier and TypeMethodDescriptionstatic void
ValueBehaviorApplier.applyFieldBehaviors
(ValueBehaviorApplier.Action action, QInstance instance, QTableMetaData table, List<QRecord> recordList, Set<FieldBehavior<?>> behaviorsToOmit) static void
QValueFormatter.setBlobValuesToDownloadUrls
(QTableMetaData table, List<QRecord> records) For any BLOB type fields in the list of records, change their value to the URL where they can be downloaded, and set their display value to a file name.static void
QValueFormatter.setDisplayValuesInRecords
(QTableMetaData table, List<QRecord> records) For a list of records, set their recordLabels and display values - including record label (e.g., from the table meta data).static void
QValueFormatter.setDisplayValuesInRecords
(QTableMetaData table, Map<String, QFieldMetaData> fields, List<QRecord> records) For a list of records, set their recordLabels and display valuesvoid
QPossibleValueTranslator.translatePossibleValuesInRecords
(QTableMetaData table, List<QRecord> records) For a list of records, translate their possible values (populating their display values)void
QPossibleValueTranslator.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) -
Uses of QRecord in com.kingsrook.qqq.backend.core.adapters
Methods in com.kingsrook.qqq.backend.core.adapters that return types with arguments of type QRecordModifier and TypeMethodDescriptionCsvToQRecordAdapter.buildRecordsFromCsv
(String csv, QTableMetaData table, AbstractQFieldMapping<?> mapping) convert a CSV String into a List of QRecords, for a given table, optionally using a given mapping.JsonToQRecordAdapter.buildRecordsFromJson
(String json, QTableMetaData table, AbstractQFieldMapping<?> mapping) convert a JSON String into a List of QRecords, for a given table, optionally using a given mapping.CsvToQRecordAdapter.InputWrapper.getRecordCustomizer()
Getter for recordCustomizerCsvToQRecordAdapter.getRecordList()
Getter for recordList - note - only is valid if you don't supply a pipe in the input.Methods in com.kingsrook.qqq.backend.core.adapters with parameters of type QRecordModifier and TypeMethodDescriptionQRecordToCsvAdapter.recordToCsv
(QTableMetaData table, QRecord record) QRecordToCsvAdapter.recordToCsv
(QTableMetaData table, QRecord record, List<QFieldMetaData> fields) Method parameters in com.kingsrook.qqq.backend.core.adapters with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
CsvToQRecordAdapter.buildRecordsFromCsv
(RecordPipe recordPipe, String csv, QTableMetaData table, AbstractQFieldMapping<?> mapping, Consumer<QRecord> recordCustomizer) stream records from a CSV String into a RecordPipe, for a given table, optionally using a given mapping.void
CsvToQRecordAdapter.InputWrapper.setRecordCustomizer
(Consumer<QRecord> recordCustomizer) Setter for recordCustomizerCsvToQRecordAdapter.InputWrapper.withRecordCustomizer
(Consumer<QRecord> recordCustomizer) Fluent setter for recordCustomizer -
Uses of QRecord in com.kingsrook.qqq.backend.core.instances
Methods in com.kingsrook.qqq.backend.core.instances with parameters of type QRecordModifier and TypeMethodDescriptionstatic void
QInstanceHelpContentManager.processHelpContentRecord
(QInstance qInstance, QRecord record) -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.audits
Methods in com.kingsrook.qqq.backend.core.model.actions.audits that return types with arguments of type QRecordModifier and TypeMethodDescriptionAuditSingleInput.getDetails()
Getter for detailsDMLAuditInput.getOldRecordList()
Getter for oldRecordListDMLAuditInput.getRecordList()
Getter for recordListMethods in com.kingsrook.qqq.backend.core.model.actions.audits with parameters of type QRecordModifier and TypeMethodDescriptionvoid
AuditDetailAccumulator.addAuditDetail
(String tableName, QRecord record, String message) AuditSingleInput.forRecord
(QTableMetaData table, QRecord record) Method parameters in com.kingsrook.qqq.backend.core.model.actions.audits with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
AuditSingleInput.setDetails
(List<QRecord> details) Setter for detailsvoid
DMLAuditInput.setOldRecordList
(List<QRecord> oldRecordList) Setter for oldRecordListvoid
DMLAuditInput.setRecordList
(List<QRecord> recordList) Setter for recordListAuditSingleInput.withDetails
(List<QRecord> details) Fluent setter for detailsDMLAuditInput.withOldRecordList
(List<QRecord> oldRecordList) Fluent setter for oldRecordListDMLAuditInput.withRecordList
(List<QRecord> recordList) Fluent setter for recordListConstructors in com.kingsrook.qqq.backend.core.model.actions.audits with parameters of type QRecordModifierConstructorDescriptionAuditSingleInput
(QTableMetaData table, QRecord record, String auditMessage) ConstructorAuditSingleInput
(String tableName, QRecord record, String auditMessage) Constructor -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.processes
Methods in com.kingsrook.qqq.backend.core.model.actions.processes that return types with arguments of type QRecordModifier and TypeMethodDescriptionProcessState.getRecords()
Getter for recordsRunBackendStepInput.getRecords()
Getter for recordsRunBackendStepOutput.getRecords()
Getter for recordsRunProcessInput.getRecords()
Getter for recordsRunProcessOutput.getRecords()
Getter for recordsMethods in com.kingsrook.qqq.backend.core.model.actions.processes with parameters of type QRecordModifier and TypeMethodDescriptionvoid
add a record to the step output, e.g., for going through to the next step.Method parameters in com.kingsrook.qqq.backend.core.model.actions.processes with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
ProcessState.setRecords
(List<QRecord> records) Setter for recordsvoid
RunBackendStepInput.setRecords
(List<QRecord> records) Setter for recordsvoid
RunBackendStepOutput.setRecords
(List<QRecord> records) Setter for recordsvoid
RunProcessInput.setRecords
(List<QRecord> records) Setter for recordsvoid
RunProcessOutput.setRecords
(List<QRecord> records) Setter for recordsRunBackendStepInput.withRecords
(List<QRecord> records) Setter for recordsRunBackendStepOutput.withRecords
(List<QRecord> records) Setter for recordsRunProcessInput.withRecords
(List<QRecord> records) Setter for recordsRunProcessOutput.withRecords
(List<QRecord> records) Setter for records -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.scripts
Methods in com.kingsrook.qqq.backend.core.model.actions.scripts that return QRecordMethods in com.kingsrook.qqq.backend.core.model.actions.scripts that return types with arguments of type QRecordModifier and TypeMethodDescriptionRunAdHocRecordScriptInput.getRecordList()
Getter for recordListTestScriptOutput.getScriptLogLines()
Methods in com.kingsrook.qqq.backend.core.model.actions.scripts with parameters of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.model.actions.scripts with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
RunAdHocRecordScriptInput.setRecordList
(List<QRecord> recordList) Setter for recordListvoid
TestScriptOutput.setScriptLogLines
(List<QRecord> scriptLogLines) RunAdHocRecordScriptInput.withRecordList
(List<QRecord> recordList) Fluent setter for recordList -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.tables.delete
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.delete that return types with arguments of type QRecordModifier and TypeMethodDescriptionDeleteOutput.getRecordsWithErrors()
DeleteOutput.getRecordsWithWarnings()
Getter for recordsWithWarningsMethods in com.kingsrook.qqq.backend.core.model.actions.tables.delete with parameters of type QRecordModifier and TypeMethodDescriptionvoid
DeleteOutput.addRecordWithError
(QRecord recordWithError) void
DeleteOutput.addRecordWithWarning
(QRecord recordWithWarning) Method parameters in com.kingsrook.qqq.backend.core.model.actions.tables.delete with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
DeleteOutput.setRecordsWithErrors
(List<QRecord> recordsWithErrors) void
DeleteOutput.setRecordsWithWarnings
(List<QRecord> recordsWithWarnings) Setter for recordsWithWarningsDeleteOutput.withRecordsWithWarnings
(List<QRecord> recordsWithWarnings) Fluent setter for recordsWithWarnings -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.tables.get
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.get that return QRecordMethods in com.kingsrook.qqq.backend.core.model.actions.tables.get with parameters of type QRecordModifier and TypeMethodDescriptionvoid
Setter for recordGetOutput.withRecord
(QRecord record) Fluent setter for record -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.tables.insert
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.insert that return types with arguments of type QRecordModifier and TypeMethodDescriptionInsertInput.getRecords()
Getter for recordsInsertOutput.getRecords()
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.insert with parameters of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.model.actions.tables.insert with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
InsertInput.setRecords
(List<QRecord> records) Setter for recordsvoid
InsertOutput.setRecords
(List<QRecord> records) InsertInput.withRecords
(List<QRecord> records) Fluent setter for records -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.tables.query
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.query that return types with arguments of type QRecordMethods in com.kingsrook.qqq.backend.core.model.actions.tables.query with parameters of type QRecordModifier and TypeMethodDescriptionvoid
Add a record to this output.Method parameters in com.kingsrook.qqq.backend.core.model.actions.tables.query with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
QueryOutput.addRecords
(List<QRecord> records) add a list of records to this output -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.tables.replace
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.replace that return types with arguments of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.model.actions.tables.replace with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
ReplaceInput.setRecords
(List<QRecord> records) Setter for recordsReplaceInput.withRecords
(List<QRecord> records) Fluent setter for records -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.actions.tables.update
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.update that return types with arguments of type QRecordModifier and TypeMethodDescriptionUpdateInput.getRecords()
Getter for recordsUpdateOutput.getRecords()
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.update with parameters of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.model.actions.tables.update with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
UpdateInput.setRecords
(List<QRecord> records) Setter for recordsvoid
UpdateOutput.setRecords
(List<QRecord> records) UpdateInput.withRecords
(List<QRecord> records) Fluent setter for records -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.automation
Methods in com.kingsrook.qqq.backend.core.model.automation that return types with arguments of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.model.automation with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
RecordAutomationInput.setRecordList
(List<QRecord> recordList) Setter for recordListRecordAutomationInput.withRecordList
(List<QRecord> recordList) Fluent setter for recordListConstructors in com.kingsrook.qqq.backend.core.model.automation with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.dashboard.widgets
Methods in com.kingsrook.qqq.backend.core.model.dashboard.widgets that return QRecordModifier and TypeMethodDescriptionFieldValueListData.getRecord()
Getter for recordDynamicFormWidgetData.getRecordOfFieldValues()
Getter for recordOfFieldValuesMethods in com.kingsrook.qqq.backend.core.model.dashboard.widgets with parameters of type QRecordModifier and TypeMethodDescriptionvoid
Setter for recordvoid
DynamicFormWidgetData.setRecordOfFieldValues
(QRecord recordOfFieldValues) Setter for recordOfFieldValuesFieldValueListData.withRecord
(QRecord record) Fluent setter for recordDynamicFormWidgetData.withRecordOfFieldValues
(QRecord recordOfFieldValues) Fluent setter for recordOfFieldValuesConstructors in com.kingsrook.qqq.backend.core.model.dashboard.widgets with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.data
Subclasses of QRecord in com.kingsrook.qqq.backend.core.model.dataModifier and TypeClassDescriptionclass
Extension on QRecord, intended to be used where you've got records from multiple tables, and you want to combine them into a single "wide" joined record - but to do so without copying or modifying any of the individual records.Methods in com.kingsrook.qqq.backend.core.model.data that return QRecordModifier and TypeMethodDescriptionQRecordEntity.toQRecord()
Convert this entity to a QRecord.default QRecord
QRecordEnum.toQRecord()
Convert this entity to a QRecord.QRecordEntity.toQRecordOnlyChangedFields()
Deprecated.QRecordEntity.toQRecordOnlyChangedFields
(boolean includePrimaryKey) Useful for the use-case of: - fetch a QRecord (e.g., QueryAction or GetAction) - build a QRecordEntity out of it - change a field (or two) in it - want to pass it into an UpdateAction, and want to see only the fields that you know you changed get passed in to UpdateAction (e.g., PATCH semantics).QRecord.withAssociatedRecord
(String name, QRecord associatedRecord) Fluent setter for associatedRecordQRecordWithJoinedRecords.withAssociatedRecord
(String name, QRecord associatedRecord) QRecord.withAssociatedRecords
(String name, List<QRecord> associatedRecords) Fluent setter for associatedRecordsQRecord.withAssociatedRecords
(Map<String, List<QRecord>> associatedRecords) Fluent setter for associatedRecordsQRecordWithJoinedRecords.withAssociatedRecords
(String name, List<QRecord> associatedRecords) QRecordWithJoinedRecords.withAssociatedRecords
(Map<String, List<QRecord>> associatedRecords) QRecord.withBackendDetail
(String key, Serializable value) Fluently Add one backendDetail to this recordQRecord.withDisplayValue
(String fieldName, String displayValue) QRecord.withError
(QErrorMessage error) Fluently Add one error to this recordQRecord.withRecordLabel
(String recordLabel) Fluent setter for recordLabelQRecord.withTableName
(String tableName) Setter for tableNameQRecord.withValue
(String fieldName, Serializable value) QRecord.withWarning
(QWarningMessage warning) Fluently Add one warning to this recordQRecord.withWarnings
(List<QWarningMessage> warnings) Fluent setter for warningsMethods in com.kingsrook.qqq.backend.core.model.data that return types with arguments of type QRecordModifier and TypeMethodDescriptionQRecord.getAssociatedRecords()
Getter for associatedRecordsQRecordWithJoinedRecords.getAssociatedRecords()
Methods in com.kingsrook.qqq.backend.core.model.data with parameters of type QRecordModifier and TypeMethodDescriptionvoid
QRecord.addJoinedRecordValues
(String joinTableName, QRecord joinedRecord) copy all values from 'joinedRecord' into this record's values map, prefixing field names with joinTableNam + "."void
QRecordWithJoinedRecords.addJoinedRecordValues
(String joinTableName, QRecord joinedRecord) static <T extends QRecordEntity>
TQRecordEntity.fromQRecord
(Class<T> c, QRecord qRecord) Build an entity of this QRecord type from a QRecordstatic <T extends QRecordEntity>
TQRecordEntity.fromQRecord
(Class<T> c, QRecord qRecord, String fieldNamePrefix) Build an entity of this QRecord type from a QRecord - where the fields for this entity have the given prefix - e.g., if they were selected as part of a join.protected void
QRecordEntity.populateFromQRecord
(QRecord qRecord) Build an entity of this QRecord type from a QRecordprotected <T extends QRecordEntity>
voidQRecordEntity.populateFromQRecord
(QRecord qRecord, String fieldNamePrefix) Build an entity of this QRecord type from a QRecord - where the fields for this entity have the given prefix - e.g., if they were selected as part of a join.QRecord.withAssociatedRecord
(String name, QRecord associatedRecord) Fluent setter for associatedRecordQRecordWithJoinedRecords.withAssociatedRecord
(String name, QRecord associatedRecord) QRecordWithJoinedRecords.withJoinedRecordValues
(QRecord record, String joinTableName) Method parameters in com.kingsrook.qqq.backend.core.model.data with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
QRecord.setAssociatedRecords
(Map<String, List<QRecord>> associatedRecords) Setter for associatedRecordsvoid
QRecordWithJoinedRecords.setAssociatedRecords
(Map<String, List<QRecord>> associatedRecords) QRecord.withAssociatedRecords
(String name, List<QRecord> associatedRecords) Fluent setter for associatedRecordsQRecord.withAssociatedRecords
(Map<String, List<QRecord>> associatedRecords) Fluent setter for associatedRecordsQRecordWithJoinedRecords.withAssociatedRecords
(String name, List<QRecord> associatedRecords) QRecordWithJoinedRecords.withAssociatedRecords
(Map<String, List<QRecord>> associatedRecords) Constructors in com.kingsrook.qqq.backend.core.model.data with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.helpcontent
Methods in com.kingsrook.qqq.backend.core.model.helpcontent that return types with arguments of type QRecordModifier and TypeMethodDescriptionMethod parameters in com.kingsrook.qqq.backend.core.model.helpcontent with type arguments of type QRecordModifier and TypeMethodDescriptionConstructors in com.kingsrook.qqq.backend.core.model.helpcontent with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.metadata.code
Methods in com.kingsrook.qqq.backend.core.model.metadata.code that return QRecordModifier and TypeMethodDescriptionAdHocScriptCodeReference.getScriptRevisionRecord()
Getter for scriptRevisionRecordMethods in com.kingsrook.qqq.backend.core.model.metadata.code with parameters of type QRecordModifier and TypeMethodDescriptionvoid
AdHocScriptCodeReference.setScriptRevisionRecord
(QRecord scriptRevisionRecord) Setter for scriptRevisionRecordAdHocScriptCodeReference.withScriptRevisionRecord
(QRecord scriptRevisionRecord) Fluent setter for scriptRevisionRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.metadata.fields
Method parameters in com.kingsrook.qqq.backend.core.model.metadata.fields with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
CaseChangeBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) void
DateTimeDisplayValueBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) void
DynamicDefaultValueBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) void
FieldBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) Apply this behavior to a list of recordsvoid
FieldDisplayBehavior.NoopFieldDisplayBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) void
FilterJsonFieldDisplayValueFormatter.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) void
ValueRangeBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) void
ValueTooLongBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) void
WhiteSpaceBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.metadata.variants
Methods in com.kingsrook.qqq.backend.core.model.metadata.variants that return QRecordModifier and TypeMethodDescriptionstatic QRecord
BackendVariantsUtil.getVariantRecord
(QBackendMetaData backendMetaData) For backends that use variants, look up the variant record (in theory, based on an id in the session's backend variants map, then fetched from the backend's variant options table. -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.processes
Constructors in com.kingsrook.qqq.backend.core.model.processes with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.querystats
Constructors in com.kingsrook.qqq.backend.core.model.querystats with parameters of type QRecordModifierConstructorDescriptionConstructor that takes a QRecordQueryStatCriteriaField
(QRecord record) Constructor that takes a QRecordQueryStatJoinTable
(QRecord record) Constructor that takes a QRecordQueryStatOrderByField
(QRecord record) Constructor that takes a QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.savedbulkloadprofiles
Method parameters in com.kingsrook.qqq.backend.core.model.savedbulkloadprofiles with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
SavedBulkLoadProfileJsonFieldDisplayValueFormatter.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) Constructors in com.kingsrook.qqq.backend.core.model.savedbulkloadprofiles with parameters of type QRecordModifierConstructorDescriptionSavedBulkLoadProfile
(QRecord qRecord) ConstructorSharedSavedBulkLoadProfile
(QRecord qRecord) Constructor -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.savedreports
Methods in com.kingsrook.qqq.backend.core.model.savedreports that return QRecordModifier and TypeMethodDescriptionScheduledReportSyncToScheduledJobProcess.populateRecordToStore
(RunBackendStepInput runBackendStepInput, QRecord destinationRecord, QRecord sourceRecord) Methods in com.kingsrook.qqq.backend.core.model.savedreports that return types with arguments of type QRecordModifier and TypeMethodDescriptionScheduledReportTableCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) ScheduledReportTableCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) ScheduledReportTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) SavedReportTableCustomizer.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) SavedReportTableCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) ScheduledReportTableCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) SavedReportTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) ScheduledReportTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) Methods in com.kingsrook.qqq.backend.core.model.savedreports with parameters of type QRecordModifier and TypeMethodDescriptionScheduledReportSyncToScheduledJobProcess.populateRecordToStore
(RunBackendStepInput runBackendStepInput, QRecord destinationRecord, QRecord sourceRecord) Method parameters in com.kingsrook.qqq.backend.core.model.savedreports with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
SavedReportJsonFieldDisplayValueFormatter.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) ScheduledReportTableCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) ScheduledReportTableCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) ScheduledReportTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) ScheduledReportTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) SavedReportTableCustomizer.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) SavedReportTableCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) ScheduledReportTableCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) SavedReportTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) SavedReportTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) ScheduledReportTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) ScheduledReportTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) static void
SavedReportTableCustomizer.validateOwner
(List<QRecord> records, String tableName, String verb) Constructors in com.kingsrook.qqq.backend.core.model.savedreports with parameters of type QRecordModifierConstructorDescriptionRenderedReport
(QRecord qRecord) ConstructorSavedReport
(QRecord qRecord) ConstructorScheduledReport
(QRecord qRecord) ConstructorSharedSavedReport
(QRecord qRecord) Constructor -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.savedviews
Methods in com.kingsrook.qqq.backend.core.model.savedviews that return types with arguments of type QRecordModifier and TypeMethodDescriptionSavedViewTableCustomizer.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) SavedViewTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) Method parameters in com.kingsrook.qqq.backend.core.model.savedviews with type arguments of type QRecordModifier and TypeMethodDescriptionSavedViewTableCustomizer.preDelete
(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) SavedViewTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) SavedViewTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) Constructors in com.kingsrook.qqq.backend.core.model.savedviews with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.scheduledjobs
Constructors in com.kingsrook.qqq.backend.core.model.scheduledjobs with parameters of type QRecordModifierConstructorDescriptionScheduledJob
(QRecord qRecord) ConstructorScheduledJobParameter
(QRecord qRecord) Constructor -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.scheduledjobs.customizers
Methods in com.kingsrook.qqq.backend.core.model.scheduledjobs.customizers that return types with arguments of type QRecordModifier and TypeMethodDescriptionScheduledJobParameterTableCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) ScheduledJobTableCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) ScheduledJobParameterTableCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) ScheduledJobTableCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) ScheduledJobParameterTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) ScheduledJobTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) ScheduledJobTableCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) ScheduledJobTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) Method parameters in com.kingsrook.qqq.backend.core.model.scheduledjobs.customizers with type arguments of type QRecordModifier and TypeMethodDescriptionScheduledJobParameterTableCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) ScheduledJobTableCustomizer.postDelete
(DeleteInput deleteInput, List<QRecord> records) ScheduledJobParameterTableCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) ScheduledJobTableCustomizer.postInsert
(InsertInput insertInput, List<QRecord> records) ScheduledJobParameterTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) ScheduledJobParameterTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) ScheduledJobTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) ScheduledJobTableCustomizer.postUpdate
(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) ScheduledJobTableCustomizer.preInsert
(InsertInput insertInput, List<QRecord> records, boolean isPreview) ScheduledJobTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) ScheduledJobTableCustomizer.preUpdate
(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.scripts
Constructors in com.kingsrook.qqq.backend.core.model.scripts with parameters of type QRecordModifierConstructorDescriptionConstructorScriptRevision
(QRecord qRecord) ConstructorScriptRevisionFile
(QRecord qRecord) ConstructorScriptType
(QRecord qRecord) ConstructorScriptTypeFileSchema
(QRecord qRecord) Constructor -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.tables
Constructors in com.kingsrook.qqq.backend.core.model.tables with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.modules.authentication.implementations.model
Constructors in com.kingsrook.qqq.backend.core.modules.authentication.implementations.model with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.modules.backend.implementations.memory
Methods in com.kingsrook.qqq.backend.core.modules.backend.implementations.memory that return types with arguments of type QRecordModifier and TypeMethodDescriptionMemoryRecordStore.insert
(InsertInput input, boolean returnInsertedRecords) MemoryRecordStore.query
(QueryInput input) MemoryRecordStore.update
(UpdateInput input, boolean returnUpdatedRecords) Methods in com.kingsrook.qqq.backend.core.modules.backend.implementations.memory with parameters of type QRecordModifier and TypeMethodDescriptionprotected void
AbstractMemoryAction.setValueIfTableHasField
(QRecord record, QTableMetaData table, String fieldName, Serializable value, boolean overwriteIfSet) If the table has a field with the given name, then set the given value in the given record - flag added to control overwriting value. -
Uses of QRecord in com.kingsrook.qqq.backend.core.modules.backend.implementations.utils
Methods in com.kingsrook.qqq.backend.core.modules.backend.implementations.utils that return types with arguments of type QRecordModifier and TypeMethodDescriptionBackendQueryFilterUtils.applySkipAndLimit
(QQueryFilter queryFilter, List<QRecord> recordList) Apply skip invalid input: '&' limit attributes from queryInput to a list of records.Methods in com.kingsrook.qqq.backend.core.modules.backend.implementations.utils with parameters of type QRecordModifier and TypeMethodDescriptionstatic boolean
BackendQueryFilterUtils.doesRecordMatch
(QQueryFilter filter, JoinsContext joinsContext, QRecord qRecord) Test if record matches filter - where we are executing a QueryAction, and we have a JoinsContext.static boolean
BackendQueryFilterUtils.doesRecordMatch
(QQueryFilter filter, QRecord qRecord) Test if record matches filter.Method parameters in com.kingsrook.qqq.backend.core.modules.backend.implementations.utils with type arguments of type QRecordModifier and TypeMethodDescriptionBackendQueryFilterUtils.applySkipAndLimit
(QQueryFilter queryFilter, List<QRecord> recordList) Apply skip invalid input: '&' limit attributes from queryInput to a list of records.static void
BackendQueryFilterUtils.sortRecordList
(QQueryFilter filter, List<QRecord> recordList) Sort list of records based on filter. -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert
Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert that return QRecordModifier and TypeMethodDescriptionstatic QRecord
BulkInsertStepUtils.handleSavedBulkLoadProfileIdValue
(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.mapping
Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.mapping that return QRecordModifier and TypeMethodDescriptionstatic QRecord
BulkLoadRecordUtils.addBackendDetailsAboutFileRows
(QRecord record, BulkLoadFileRow fileRow) Constructorstatic QRecord
BulkLoadRecordUtils.addBackendDetailsAboutFileRows
(QRecord record, ArrayList<BulkLoadFileRow> fileRows) ConstructorMethods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.mapping that return types with arguments of type QRecordModifier and TypeMethodDescriptionFlatRowsToRecord.nextPage
(FileToRowsInterface fileToRowsInterface, BulkLoadFileRow headerRow, BulkInsertMapping mapping, Integer limit) RowsToRecordInterface.nextPage
(FileToRowsInterface fileToRowsInterface, BulkLoadFileRow headerRow, BulkInsertMapping mapping, Integer limit) TallRowsToRecord.nextPage
(FileToRowsInterface fileToRowsInterface, BulkLoadFileRow headerRow, BulkInsertMapping mapping, Integer limit) WideRowsToRecordWithExplicitFieldNameSuffixIndexBasedMapping.nextPage
(FileToRowsInterface fileToRowsInterface, BulkLoadFileRow headerRow, BulkInsertMapping mapping, Integer limit) WideRowsToRecordWithSpreadMapping.nextPage
(FileToRowsInterface fileToRowsInterface, BulkLoadFileRow headerRow, BulkInsertMapping mapping, Integer limit) Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.mapping with parameters of type QRecordModifier and TypeMethodDescriptionstatic QRecord
BulkLoadRecordUtils.addBackendDetailsAboutFileRows
(QRecord record, BulkLoadFileRow fileRow) Constructorstatic QRecord
BulkLoadRecordUtils.addBackendDetailsAboutFileRows
(QRecord record, ArrayList<BulkLoadFileRow> fileRows) ConstructorBulkLoadRecordUtils.getFileRowNos
(QRecord record) static ArrayList
<BulkLoadFileRow> BulkLoadRecordUtils.getFileRows
(QRecord record) static String
BulkLoadRecordUtils.getRowNosString
(QRecord record) default boolean
RowsToRecordInterface.setValueOrDefault
(QRecord record, QFieldMetaData field, String associationNameChain, BulkInsertMapping mapping, BulkLoadFileRow row, Integer columnIndex) returns true if value from row was used, else false.default boolean
RowsToRecordInterface.setValueOrDefault
(QRecord record, QFieldMetaData field, String associationNameChain, BulkInsertMapping mapping, BulkLoadFileRow row, Integer columnIndex, List<Integer> wideAssociationIndexes) returns true if value from row was used, else false.Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.mapping with type arguments of type QRecordModifier and TypeMethodDescriptionstatic void
BulkLoadValueMapper.valueMapping
(List<QRecord> records, BulkInsertMapping mapping, QTableMetaData table) -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamed
Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamed with type arguments of type QRecordModifier and TypeMethodDescriptionprotected void
StreamedETLBackendStep.postTransform
(List<QRecord> qRecords, RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Customization point for subclasses of this step.protected void
StreamedETLBackendStep.preTransform
(List<QRecord> qRecords, RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Customization point for subclasses of this step. -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend
Fields in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend with type parameters of type QRecordModifier and TypeFieldDescriptionLoadViaInsertOrUpdateStep.recordsToInsert
LoadViaInsertOrUpdateStep.recordsToUpdate
Methods in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend that return types with arguments of type QRecordModifier and TypeMethodDescriptionBackendStepPostRunInput.getPreviewRecordList()
BackendStepPostRunOutput.getPreviewRecordList()
BackendStepPostRunInput.getRecords()
BackendStepPostRunOutput.getRecords()
StreamedBackendStepInput.getRecords()
StreamedBackendStepOutput.getRecords()
Methods in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend with parameters of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
StreamedBackendStepInput.setRecords
(List<QRecord> records) void
StreamedBackendStepOutput.setRecords
(List<QRecord> records) protected void
LoadViaInsertOrUpdateStep.splitRecordsForInsertOrUpdate
(List<QRecord> inputList, String primaryKeyFieldName, List<QRecord> insertList, List<QRecord> updateList) protected void
BaseStreamedETLStep.updateRecordsWithDisplayValuesAndPossibleValues
(RunBackendStepInput input, List<QRecord> list) Constructor parameters in com.kingsrook.qqq.backend.core.processes.implementations.etl.streamedwithfrontend with type arguments of type QRecordModifierConstructorDescriptionStreamedBackendStepInput
(RunBackendStepInput runBackendStepInput, List<QRecord> inputRecords) -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.implementations.mergeduplicates
Methods in com.kingsrook.qqq.backend.core.processes.implementations.mergeduplicates that return QRecordModifier and TypeMethodDescriptionabstract QRecord
AbstractMergeDuplicatesTransformStep.buildRecordToKeep
(RunBackendStepInput runBackendStepInput, List<QRecord> duplicateRecords) Do the main work for this process - merge a list of records.Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.mergeduplicates with type arguments of type QRecordModifier and TypeMethodDescriptionprotected void
AbstractMergeDuplicatesTransformStep.addOtherTableRecordsToStore
(String tableName, Collection<QRecord> records) abstract QRecord
AbstractMergeDuplicatesTransformStep.buildRecordToKeep
(RunBackendStepInput runBackendStepInput, List<QRecord> duplicateRecords) Do the main work for this process - merge a list of records.protected void
AbstractMergeDuplicatesTransformStep.preProcess
(ListingHash<List<Serializable>, QRecord> duplicatesMap) Optional point where subclasses can pre-load data in-bulk on all the duplicates. -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.implementations.savedreports
Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.savedreports with type arguments of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.implementations.tablesync
Methods in com.kingsrook.qqq.backend.core.processes.implementations.tablesync that return QRecordModifier and TypeMethodDescriptionprotected QRecord
AbstractTableSyncTransformStep.getExistingRecord
(Map<Pair<String, Serializable>, QRecord> existingRecordsByForeignKey, QFieldMetaData destinationForeignKeyField, Serializable sourceKeyValue) abstract QRecord
AbstractTableSyncTransformStep.populateRecordToStore
(RunBackendStepInput runBackendStepInput, QRecord destinationRecord, QRecord sourceRecord) Map a record from the source table to the destination table.Methods in com.kingsrook.qqq.backend.core.processes.implementations.tablesync that return types with arguments of type QRecordModifier and TypeMethodDescriptionprotected Map
<Pair<String, Serializable>, QRecord> AbstractTableSyncTransformStep.buildExistingRecordsMap
(String destinationTableForeignKeyField, List<QRecord> existingRecordList) Overridable point where you can, for example, keys in the existingRecordsMap with different fieldNames from the destinationTable.protected Map
<Pair<String, Serializable>, QRecord> AbstractTableSyncTransformStep.getExistingRecordsByForeignKey
(RunBackendStepInput runBackendStepInput, String destinationTableForeignKeyField, String destinationTableName, List<Serializable> sourceKeyList) Run the existingRecordQueryFilter - to look in the destinationTable for any records that may need an update (rather than an insert).Methods in com.kingsrook.qqq.backend.core.processes.implementations.tablesync with parameters of type QRecordModifier and TypeMethodDescriptionprotected Serializable
AbstractTableSyncTransformStep.extractSourceKeyValueFromRecord
(QRecord sourceRecord, String sourceTableKeyField) Given a source record, extract what we'll use as its key from it.abstract QRecord
AbstractTableSyncTransformStep.populateRecordToStore
(RunBackendStepInput runBackendStepInput, QRecord destinationRecord, QRecord sourceRecord) Map a record from the source table to the destination table.Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.tablesync with type arguments of type QRecordModifier and TypeMethodDescriptionprotected Map
<Pair<String, Serializable>, QRecord> AbstractTableSyncTransformStep.buildExistingRecordsMap
(String destinationTableForeignKeyField, List<QRecord> existingRecordList) Overridable point where you can, for example, keys in the existingRecordsMap with different fieldNames from the destinationTable.protected QRecord
AbstractTableSyncTransformStep.getExistingRecord
(Map<Pair<String, Serializable>, QRecord> existingRecordsByForeignKey, QFieldMetaData destinationForeignKeyField, Serializable sourceKeyValue) protected void
AbstractTableSyncTransformStep.initializeRecordLookupHelper
(RunBackendStepInput runBackendStepInput, List<QRecord> sourceRecordList) If needed, init a record lookup helper for this process.protected void
AbstractTableSyncTransformStep.reinitializeRecordLookupHelper
(RunBackendStepInput runBackendStepInput, List<QRecord> sourceRecordList) for pages after the first, possibly load more records in the lookup helper. -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.locks
Constructors in com.kingsrook.qqq.backend.core.processes.locks with parameters of type QRecordModifierConstructorDescriptionProcessLock
(QRecord record) Constructor that takes a QRecordProcessLockType
(QRecord record) Constructor that takes a QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.processes.utils
Methods in com.kingsrook.qqq.backend.core.processes.utils that return QRecordModifier and TypeMethodDescriptionstatic QRecord
GeneralProcessUtils.getRecordByFieldOrElseThrow
(String tableName, String fieldName, Serializable fieldValue) Query to get one record by a unique key value.RecordLookupHelper.getRecordByKey
(String tableName, String keyFieldName, Serializable key) Fetch a record from a table by a key field (doesn't have to be its primary key).static QRecord
GeneralProcessUtils.getRecordByPrimaryKeyOrElseThrow
(String tableName, Serializable value) Query to get one record by its primary key value.RecordLookupHelper.getRecordByUniqueKey
(String tableName, Map<String, Serializable> uniqueKey) Fetch a record from a table by a uniqueKey from the tableMethods in com.kingsrook.qqq.backend.core.processes.utils that return types with arguments of type QRecordModifier and TypeMethodDescriptionstatic ListingHash
<Serializable, QRecord> GeneralProcessUtils.getForeignRecordListingHashMap
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTableForeignKeyName) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTableForeignKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.static Map
<Serializable, QRecord> GeneralProcessUtils.getForeignRecordMap
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTablePrimaryKeyName) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTablePrimaryKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.static Map
<Serializable, QRecord> GeneralProcessUtils.getForeignRecordMap
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTablePrimaryKeyName, QQueryFilter additionalFilter) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTablePrimaryKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.GeneralProcessUtils.getRecordByField
(String tableName, String fieldName, Serializable fieldValue) Query to get one record by a unique key value.GeneralProcessUtils.getRecordByPrimaryKey
(String tableName, Serializable value) Query to get one record by its primary key value.GeneralProcessUtils.getRecordListByField
(String tableName, String fieldName, Serializable fieldValue) Run a query on tableName, for where fieldName equals fieldValue, and return the list of QRecords.Load all rows from a table.static ListingHash
<Serializable, QRecord> GeneralProcessUtils.loadTableToListingHash
(String tableName, String keyFieldName) Load all rows from a table, into a ListingHash, keyed by the keyFieldName.static <T extends Serializable>
Map<T, QRecord> GeneralProcessUtils.loadTableToMap
(String tableName, Class<T> keyType, String keyFieldName) Load all rows from a table, into a map, keyed by the keyFieldName - typed as the specified keyType.static Map
<Serializable, QRecord> GeneralProcessUtils.loadTableToMap
(String tableName, String keyFieldName) Load all rows from a table, into a map, keyed by the keyFieldName.static Map
<Serializable, QRecord> GeneralProcessUtils.loadTableToMap
(String tableName, String keyFieldName, QQueryFilter filter) Load rows from a table matching the specified filter, into a map, keyed by the keyFieldName.RecordLookupHelper.preloadRecords
(String tableName, String keyFieldName, List<Serializable> inList) Optimization - to pre-load some records in a single IN-LIST query, which would otherwise have to be looked up one-by-one - where - if the records aren't found, then a null will be cached (for each element in the inList).Method parameters in com.kingsrook.qqq.backend.core.processes.utils with type arguments of type QRecordModifier and TypeMethodDescriptionstatic void
GeneralProcessUtils.addForeignRecordsListToRecordList
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTableForeignKeyName) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTableForeignKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.static void
GeneralProcessUtils.addForeignRecordsToRecordList
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTablePrimaryKeyName) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTablePrimaryKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.static ListingHash
<Serializable, QRecord> GeneralProcessUtils.getForeignRecordListingHashMap
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTableForeignKeyName) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTableForeignKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.static Map
<Serializable, QRecord> GeneralProcessUtils.getForeignRecordMap
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTablePrimaryKeyName) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTablePrimaryKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.static Map
<Serializable, QRecord> GeneralProcessUtils.getForeignRecordMap
(List<QRecord> sourceRecords, String sourceTableForeignKeyFieldName, String foreignTableName, String foreignTablePrimaryKeyName, QQueryFilter additionalFilter) For a list of sourceRecords, lookup records in the foreignTableName, that have their foreignTablePrimaryKeyName in the sourceTableForeignKeyFieldName on the sourceRecords.static <T extends QRecordEntity>
List<T> GeneralProcessUtils.recordsToEntities
(Class<T> recordEntityClass, List<QRecord> records) -
Uses of QRecord in com.kingsrook.qqq.backend.core.scheduler
Methods in com.kingsrook.qqq.backend.core.scheduler that return types with arguments of type QRecordModifier and TypeMethodDescriptionSchedulerUtils.getBackendVariantFilteredRecords
(QProcessMetaData processMetaData) Method parameters in com.kingsrook.qqq.backend.core.scheduler with type arguments of type QRecordModifier and TypeMethodDescriptionvoid
CronExpressionTooltipFieldBehavior.apply
(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) -
Uses of QRecord in com.kingsrook.qqq.backend.core.scheduler.quartz.tables
Methods in com.kingsrook.qqq.backend.core.scheduler.quartz.tables that return types with arguments of type QRecordModifier and TypeMethodDescriptionMethod parameters in com.kingsrook.qqq.backend.core.scheduler.quartz.tables with type arguments of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.utils
Methods in com.kingsrook.qqq.backend.core.utils that return QRecordModifier and TypeMethodDescriptionstatic QRecord
JsonUtils.parseQRecord
(org.json.JSONObject jsonObject, Map<String, QFieldMetaData> fields, boolean useBackendFieldNames) Convert a json object into a QRecordMethods in com.kingsrook.qqq.backend.core.utils that return types with arguments of type QRecordModifier and TypeMethodDescriptionstatic Map
<Serializable, QRecord> CollectionUtils.recordsToMap
(Collection<QRecord> records, String keyFieldName) Convert a collection of QRecords to a map, from one field's values out of those records, to the records themselves.static <T extends Serializable>
Map<T, QRecord> CollectionUtils.recordsToMap
(Collection<QRecord> records, String keyFieldName, Class<T> type) Convert a collection of QRecords to a map, from one field's values out of those records, to the records themselves.Methods in com.kingsrook.qqq.backend.core.utils with parameters of type QRecordModifier and TypeMethodDescriptionstatic List
<QFieldMetaData> QRecordUtils.getChangedFields
(QRecord a, QRecord b, Collection<QFieldMetaData> fields) given 2 records, and a collection of fields, identify any fields that are not equals between the records.Method parameters in com.kingsrook.qqq.backend.core.utils with type arguments of type QRecordModifier and TypeMethodDescriptionstatic Map
<Serializable, QRecord> CollectionUtils.recordsToMap
(Collection<QRecord> records, String keyFieldName) Convert a collection of QRecords to a map, from one field's values out of those records, to the records themselves.static <T extends Serializable>
Map<T, QRecord> CollectionUtils.recordsToMap
(Collection<QRecord> records, String keyFieldName, Class<T> type) Convert a collection of QRecords to a map, from one field's values out of those records, to the records themselves.static Map
<Serializable, Serializable> CollectionUtils.recordsToMap
(Collection<QRecord> records, String keyFieldName, String valueFieldName) Convert a collection of QRecords to a map, from one field's values out of those records, to another field's value from those records -
Uses of QRecord in com.kingsrook.qqq.backend.module.api.actions
Methods in com.kingsrook.qqq.backend.module.api.actions that return QRecordModifier and TypeMethodDescriptionprotected QRecord
BaseAPIActionUtil.jsonObjectToRecord
(org.json.JSONObject jsonObject, Map<String, QFieldMetaData> fields) protected QRecord
BaseAPIActionUtil.processPostResponse
(QTableMetaData table, QRecord record, QHttpResponse response) BaseAPIActionUtil.processSingleRecordGetResponse
(QTableMetaData table, QHttpResponse response) Methods in com.kingsrook.qqq.backend.module.api.actions with parameters of type QRecordModifier and TypeMethodDescriptionstatic org.json.JSONObject
APIRecordUtils.jsonQueryStyleQRecordToJSONObject
(QTableMetaData table, QRecord record, boolean includeNonTableFields) Take a QRecord whose field names are formatted in JSONQuery-style (e.g., 'key' or 'key.subKey' or 'key[index].subKey') and convert it to a JSONObject.protected QRecord
BaseAPIActionUtil.processPostResponse
(QTableMetaData table, QRecord record, QHttpResponse response) protected org.apache.http.entity.AbstractHttpEntity
BaseAPIActionUtil.recordToEntity
(QTableMetaData table, QRecord record) Build an HTTP Entity (e.g., for a PUT or POST) from a QRecord.protected org.json.JSONObject
BaseAPIActionUtil.recordToJsonObject
(QTableMetaData table, QRecord record) Helper for recordToEntity - builds a basic JSON object.Method parameters in com.kingsrook.qqq.backend.module.api.actions with type arguments of type QRecordModifier and TypeMethodDescriptionprotected String
BaseAPIActionUtil.buildQueryStringForUpdate
(QTableMetaData table, List<QRecord> recordList) method to build up a query string for updates based on a given QFilter objectprotected org.apache.http.entity.AbstractHttpEntity
BaseAPIActionUtil.recordsToEntity
(QTableMetaData table, List<QRecord> recordList) Build an HTTP Entity (e.g., for a PUT or POST) from a list of QRecords.void
BaseAPIActionUtil.validateResponse
(QHttpResponse response, List<QRecord> recordList) -
Uses of QRecord in com.kingsrook.qqq.backend.module.api.model
Constructors in com.kingsrook.qqq.backend.module.api.model with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.module.filesystem.base.actions
Fields in com.kingsrook.qqq.backend.module.filesystem.base.actions declared as QRecordModifier and TypeFieldDescriptionprotected QRecord
AbstractBaseFilesystemAction.backendVariantRecord
Methods in com.kingsrook.qqq.backend.module.filesystem.base.actions with parameters of type QRecordModifier and TypeMethodDescriptionprotected void
AbstractBaseFilesystemAction.addBackendDetailsToRecord
(QRecord record, FILE file) Add backend details to a record about the file that it is in.abstract void
AbstractBaseFilesystemAction.writeFile
(QBackendMetaData backend, QTableMetaData table, QRecord record, String path, byte[] contents) Write a file - to be implemented in module-specific subclasses.Method parameters in com.kingsrook.qqq.backend.module.filesystem.base.actions with type arguments of type QRecordModifier and TypeMethodDescriptionprotected void
AbstractBaseFilesystemAction.addBackendDetailsToRecords
(List<QRecord> recordsInFile, FILE file) Add backend details to records about the file that they are in. -
Uses of QRecord in com.kingsrook.qqq.backend.module.filesystem.local.actions
Methods in com.kingsrook.qqq.backend.module.filesystem.local.actions with parameters of type QRecordModifier and TypeMethodDescriptionvoid
AbstractFilesystemAction.writeFile
(QBackendMetaData backend, QTableMetaData table, QRecord record, String path, byte[] contents) Write a file - to be implemented in module-specific subclasses. -
Uses of QRecord in com.kingsrook.qqq.backend.module.filesystem.processes.implementations.etl.streamed
Method parameters in com.kingsrook.qqq.backend.module.filesystem.processes.implementations.etl.streamed with type arguments of type QRecordModifier and TypeMethodDescriptionprotected void
StreamedETLFilesystemBackendStep.preTransform
(List<QRecord> qRecords, RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) -
Uses of QRecord in com.kingsrook.qqq.backend.module.filesystem.processes.implementations.filesystem.importer
Methods in com.kingsrook.qqq.backend.module.filesystem.processes.implementations.filesystem.importer that return types with arguments of type QRecordModifier and TypeMethodDescriptionMethod parameters in com.kingsrook.qqq.backend.module.filesystem.processes.implementations.filesystem.importer with type arguments of type QRecordModifier and TypeMethodDescriptionFilesystemImporterProcessMetaDataBuilder.withImportSecurityValueSupplierFunction
(Class<? extends Function<QRecord, Serializable>> supplierFunction) -
Uses of QRecord in com.kingsrook.qqq.backend.module.filesystem.s3.actions
Methods in com.kingsrook.qqq.backend.module.filesystem.s3.actions with parameters of type QRecordModifier and TypeMethodDescriptionvoid
AbstractS3Action.writeFile
(QBackendMetaData backendMetaData, QTableMetaData table, QRecord record, String path, byte[] contents) Write a file - to be implemented in module-specific subclasses. -
Uses of QRecord in com.kingsrook.qqq.backend.module.filesystem.sftp.actions
Methods in com.kingsrook.qqq.backend.module.filesystem.sftp.actions with parameters of type QRecordModifier and TypeMethodDescriptionvoid
AbstractSFTPAction.writeFile
(QBackendMetaData backend, QTableMetaData table, QRecord record, String path, byte[] contents) -
Uses of QRecord in com.kingsrook.qqq.backend.module.mongodb.actions
Methods in com.kingsrook.qqq.backend.module.mongodb.actions that return QRecordModifier and TypeMethodDescriptionprotected QRecord
AbstractMongoDBAction.documentToRecord
(QueryInput queryInput, org.bson.Document document) Convert a mongodb document to a QRecord.Methods in com.kingsrook.qqq.backend.module.mongodb.actions with parameters of type QRecordModifier and TypeMethodDescriptionprotected org.bson.Document
AbstractMongoDBAction.recordToDocument
(QTableMetaData table, QRecord record) Convert a QRecord to a mongodb document. -
Uses of QRecord in com.kingsrook.qqq.backend.module.rdbms.actions
Methods in com.kingsrook.qqq.backend.module.rdbms.actions with parameters of type QRecordModifier and TypeMethodDescriptionprotected void
AbstractRDBMSAction.setValueIfTableHasField
(QRecord record, QTableMetaData table, String fieldName, Serializable value) If the table has a field with the given name, then set the given value in the given record.