Uses of Class
com.kingsrook.qqq.backend.core.model.data.QRecord
Packages that use QRecord
Package
Description
These classes are input/output wrappers for middleware executors.
-
Uses of QRecord in com.kingsrook.qqq.api.actions
Methods in com.kingsrook.qqq.api.actions that return QRecordModifier and TypeMethodDescriptionstatic QRecordQRecordApiAdapter.apiJsonObjectToQRecord(org.json.JSONObject jsonObject, String tableName, String apiName, String apiVersion, boolean includeNonEditableFields) static QRecordQRecordApiAdapter.apiJsonObjectToQRecord(org.json.JSONObject jsonObject, String tableName, String apiName, String apiVersion, boolean includeNonEditableFields, InputSource inputSource) Methods in com.kingsrook.qqq.api.actions that return types with arguments of type QRecordModifier and TypeMethodDescriptionQRecordApiAdapter.qRecordsToApiVersionedQRecordList(QRecordApiAdapterToApiInput input) version of the qRecordToApiMap that returns QRecords, not maps.QRecordApiAdapter.qRecordsToApiVersionedQRecordList(List<QRecord> records, String tableName, String apiName, String apiVersion) version of the qRecordToApiMap that returns QRecords, not maps.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.static voidQRecordApiAdapter.setValueFromApiFieldInQRecord(org.json.JSONObject apiObject, String apiFieldName, String apiName, Map<String, QFieldMetaData> apiFieldsMap, QRecord qRecord, boolean includeNonEditableFields) 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.QRecordApiAdapter.qRecordsToApiVersionedQRecordList(List<QRecord> records, String tableName, String apiName, String apiVersion) version of the qRecordToApiMap that returns QRecords, not maps. -
Uses of QRecord in com.kingsrook.qqq.api.actions.io
Classes in com.kingsrook.qqq.api.actions.io that implement interfaces with type arguments of type QRecordModifier and TypeClassDescriptionclassimplementation of ApiOutputRecordWrapperInterface that wraps a QRecordMethods in com.kingsrook.qqq.api.actions.io that return QRecordMethods in com.kingsrook.qqq.api.actions.io that return types with arguments of type QRecordModifier and TypeMethodDescriptionQRecordApiAdapterToApiInput.getInputRecords()Getter for inputRecordsMethod parameters in com.kingsrook.qqq.api.actions.io with type arguments of type QRecordModifier and TypeMethodDescriptionvoidApiOutputQRecordWrapper.putAssociation(String key, List<QRecord> values) voidQRecordApiAdapterToApiInput.setInputRecords(List<QRecord> inputRecords) Setter for inputRecordsQRecordApiAdapterToApiInput.withInputRecords(List<QRecord> inputRecords) Fluent setter for inputRecordsConstructors in com.kingsrook.qqq.api.actions.io with parameters of type QRecord -
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 TypeMethodDescriptionvoidApiFieldCustomValueMapper.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 TypeMethodDescriptionvoidApiFieldCustomValueMapperBulkSupportInterface.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.ai
Methods in com.kingsrook.qqq.backend.core.actions.ai that return QRecordModifier and TypeMethodDescriptionGet one record (with display values) - null when missing or not readable.Methods in com.kingsrook.qqq.backend.core.actions.ai that return types with arguments of type QRecordModifier and TypeMethodDescriptionAiDataGateway.query(QueryInput input) Query records (with display values).CoreAiDataGateway.query(QueryInput input) -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.ai.tools
Methods in com.kingsrook.qqq.backend.core.actions.ai.tools with parameters of type QRecordModifier and TypeMethodDescriptionAiToolContext.displayValue(QTableMetaData table, QFieldMetaData field, QRecord record) The value of one field of a record, shaped for its exposure: - NONE / METADATA_ONLY: null (and nothing should be output), - MASKED: the masked display (or raw) value, - VALUES: the display value (or raw value), redacted and truncated.voidAiToolContext.putModelValue(Map<String, Object> values, QTableMetaData table, QFieldMetaData field, QRecord record) Add the value of one field of a record to a map for the model: for VALUES fields, the raw value (numbers and booleans as-is, others redacted and truncated) - plus, when it differs, the display value as {field}__display; for MASKED fields, only the masked value; for others, nothing.AiToolContext.recordLabel(QTableMetaData personalizedTable, QRecord record) A label for a record that is safe to send: the record's label if every field in the table's record label is exposed with VALUES - else the table label and the record's id.AiToolContext.recordRef(QTableMetaData personalizedTable, QRecord record) A record reference (for a record chip) - with a safe label. -
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 voidAuditAction.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...default voidAuditActionCustomizerInterface.customizeRecord(QRecord auditRecord, AuditSingleInput auditSingleInput) option to change values in aQRecord, after it has been populated by the core audit action.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 AuditInputAuditAction.appendToInput(AuditInput auditInput, String tableName, Serializable 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 voidAuditAction.execute(String tableName, Serializable 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 booleanRecordAutomationStatusUpdater.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 voidRecordAutomationStatusUpdater.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 voidPollingAutomationPerTableRunner.applyActionToMatchingRecords(QTableMetaData table, List<QRecord> records, TableAutomationAction action) Finally, actually run action code against a list of known matching records.protected booleanPollingAutomationPerTableRunner.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.collaboration
Methods in com.kingsrook.qqq.backend.core.actions.collaboration that return QRecordModifier and TypeMethodDescriptionstatic QRecordRecordReferenceSecurityHelper.visibleParent(String tableName, Serializable primaryKey, QBackendTransaction transaction) Methods in com.kingsrook.qqq.backend.core.actions.collaboration with parameters of type QRecordModifier and TypeMethodDescriptionstatic booleanRecordReferenceSecurityHelper.canReadReference(QTableMetaData table, QRecord record, QBackendTransaction transaction) static booleanRecordFeaturePermissions.checkRecordCapability(QTableMetaData table, RecordFeature feature, QRecord parent) static booleanRecordFeaturePermissions.checkRecordCapability(QTableMetaData table, RecordFeature feature, QRecord parent, QBackendTransaction transaction) voidRecordFeatureSummaryProviderInterface.contribute(RecordReference reference, QRecord parent, RecordFeatureSummary summary) Contribute optional summary values and namespaced extensions for one visible record.static voidRecordReferenceSecurityHelper.copyMirroredLocks(QTableMetaData parentTable, QRecord parent, QTableMetaData extension, QRecord row) static voidRecordFeaturePermissions.requireRecordCapability(QTableMetaData table, RecordFeature feature, QRecord parent) static RecordFeatureSummaryRecordFeatureSummaryHelper.summarize(QTableMetaData table, QRecord parent) Method parameters in com.kingsrook.qqq.backend.core.actions.collaboration with type arguments of type QRecordModifier and TypeMethodDescriptionstatic voidRecordReferenceSecurityHelper.validateWrites(QTableMetaData table, List<QRecord> records, RecordChangeType type, QBackendTransaction transaction) Validate stored and proposed parents, so moving a row cannot evade either policy. -
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.oldRecordListAbstractPreUpdateCustomizer.oldRecordListMethods in com.kingsrook.qqq.backend.core.actions.customizers that return QRecordModifier and TypeMethodDescriptionabstract QRecordChildInserterPostInsertCustomizer.buildChildForRecord(QRecord parentRecord) Methods in com.kingsrook.qqq.backend.core.actions.customizers that return types with arguments of type QRecordModifier and TypeMethodDescriptionOldRecordHelper.getOldRecord(QRecord record) AbstractPostUpdateCustomizer.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) MultiCustomizer.postDelete(DeleteInput deleteInput, List<QRecord> records) run postDelete method over all sub-customizersTableCustomizerInterface.postDelete(DeleteInput deleteInput, List<QRecord> records) Custom actions after a delete takes place.AbstractPostInsertCustomizer.postInsert(InsertInput insertInput, List<QRecord> records) MultiCustomizer.postInsert(InsertInput insertInput, List<QRecord> records) run postInsert method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.postQuery(QueryOrGetInputInterface queryInput, List<QRecord> records) run postQuery method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.postUpdate(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) run postUpdate method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.preDelete(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) run preDelete method over all sub-customizersTableCustomizerInterface.preDelete(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) Custom actions before a delete takes place.AbstractPreInsertCustomizer.preInsert(InsertInput insertInput, List<QRecord> records, boolean isPreview) MultiCustomizer.preInsert(InsertInput insertInput, List<QRecord> records, boolean isPreview) run preInsert method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.preUpdate(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) run preUpdate method over all sub-customizersTableCustomizerInterface.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 QRecordChildInserterPostInsertCustomizer.buildChildForRecord(QRecord parentRecord) default voiddefault voidRecordCustomizerUtilityInterface.errorIfAnyValue(Serializable value, QRecord record, String errorMessage) default voidRecordCustomizerUtilityInterface.errorIfEditedValue(QRecord oldRecord, QRecord newRecord, String fieldName, String errorMessage) default voidRecordCustomizerUtilityInterface.errorIfNoValue(Serializable value, QRecord record, String errorMessage) RecordCustomizerUtilityInterface.getChanges(String tableName, QRecord oldRecord, QRecord newRecord) OldRecordHelper.getOldRecord(QRecord record) static SerializableRecordCustomizerUtilityInterface.getValueFromRecordElseFromOldRecord(String fieldName, QRecord record, Serializable primaryKey, Optional<Map<Serializable, QRecord>> oldRecordMap) For an update customizer, in the case the record being updated is sparse (e.g., don't have all fields), but if you need a value from a field, you might want it from the old record if it's available.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 SerializableRecordCustomizerUtilityInterface.getValueFromRecordElseFromOldRecord(String fieldName, QRecord record, Serializable primaryKey, Optional<Map<Serializable, QRecord>> oldRecordMap) For an update customizer, in the case the record being updated is sparse (e.g., don't have all fields), but if you need a value from a field, you might want it from the old record if it's available.default Optional<Map<Serializable, QRecord>> TableCustomizerInterface.oldRecordListToMap(String primaryKeyField, Optional<List<QRecord>> oldRecordList) AbstractPostDeleteCustomizer.postDelete(DeleteInput deleteInput, List<QRecord> records) MultiCustomizer.postDelete(DeleteInput deleteInput, List<QRecord> records) run postDelete method over all sub-customizersTableCustomizerInterface.postDelete(DeleteInput deleteInput, List<QRecord> records) Custom actions after a delete takes place.AbstractPostInsertCustomizer.postInsert(InsertInput insertInput, List<QRecord> records) MultiCustomizer.postInsert(InsertInput insertInput, List<QRecord> records) run postInsert method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.postQuery(QueryOrGetInputInterface queryInput, List<QRecord> records) run postQuery method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.postUpdate(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) run postUpdate method over all sub-customizersMultiCustomizer.postUpdate(UpdateInput updateInput, List<QRecord> records, Optional<List<QRecord>> oldRecordList) run postUpdate method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.preDelete(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) run preDelete method over all sub-customizersTableCustomizerInterface.preDelete(DeleteInput deleteInput, List<QRecord> records, boolean isPreview) Custom actions before a delete takes place.AbstractPreInsertCustomizer.preInsert(InsertInput insertInput, List<QRecord> records, boolean isPreview) MultiCustomizer.preInsert(InsertInput insertInput, List<QRecord> records, boolean isPreview) run preInsert method over all sub-customizersTableCustomizerInterface.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) MultiCustomizer.preUpdate(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) run preUpdate method over all sub-customizersMultiCustomizer.preUpdate(UpdateInput updateInput, List<QRecord> records, boolean isPreview, Optional<List<QRecord>> oldRecordList) run preUpdate method over all sub-customizersTableCustomizerInterface.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.voidAbstractPostUpdateCustomizer.setOldRecordList(List<QRecord> oldRecordList) voidAbstractPreUpdateCustomizer.setOldRecordList(List<QRecord> oldRecordList) Constructor parameters in com.kingsrook.qqq.backend.core.actions.customizers with type arguments of type QRecordModifierConstructorDescriptionOldRecordHelper(String tableName, Optional<List<QRecord>> oldRecordList) Constructor -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.interfaces
Methods in com.kingsrook.qqq.backend.core.actions.interfaces that return types with arguments of type QRecordModifier and TypeMethodDescriptionQueryInterface.lookupUniqueKey(UniqueKeyLookup.Input input) Native, schema-constrained unique-key validation, independent of read visibility.QueryInterface.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) Native, exact-key projection of declared parent association values. -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.permissions
Method parameters in com.kingsrook.qqq.backend.core.actions.permissions with type arguments of type QRecordModifier and TypeMethodDescriptionstatic voidFieldSecurityLockHelper.assertWritesAccessible(QTableMetaData table, List<QRecord> records) Delegate to tier-aware enforcement. -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess
Methods in com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess with parameters of type QRecordModifier and TypeMethodDescriptionstatic StringClassifiedValues.recordForLog(QRecord record) A value-only log snapshot excludes labels, backend details and arbitrary errors.Method parameters in com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess with type arguments of type QRecordModifier and TypeMethodDescriptionstatic voidFieldAccessHelper.applyToAuditDetails(String tableName, List<QRecord> auditDetails) Mask historical values without honoring reveal grants.static voidFieldAccessHelper.applyToProcessRecords(String processName, String fallbackTable, List<QRecord> records) Process records can belong to different tables, independently of the process.static voidFieldAccessHelper.assertWritesAllowed(QTableMetaData table, List<QRecord> records) Refuse supplied values, including explicit null, for non-FULL fields. -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.processes
Methods in com.kingsrook.qqq.backend.core.actions.processes with parameters of type QRecordModifier and TypeMethodDescriptionstatic QProcessCallbackQProcessCallbackBuilder.withRecord(QRecord record) build a callback whose filter will return a single record -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.reporting
Fields in com.kingsrook.qqq.backend.core.actions.reporting with type parameters of type QRecordMethods 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 TypeMethodDescriptionvoidvoidvoidAdd a record to the pipe.voidCsvExportStreamer.addTotalsRow(QRecord record) default voidExportStreamerInterface.addTotalsRow(QRecord record) voidJsonExportStreamer.addTotalsRow(QRecord record) voidListOfMapsExportStreamer.addTotalsRow(QRecord record) voidTsvExportStreamer.addTotalsRow(QRecord record) Method parameters in com.kingsrook.qqq.backend.core.actions.reporting with type arguments of type QRecordModifier and TypeMethodDescriptionvoidBufferedRecordPipe.addRecords(List<QRecord> records) voidCsvExportStreamer.addRecords(List<QRecord> qRecords) voidDistinctFilteringRecordPipe.addRecords(List<QRecord> records) voidExportStreamerInterface.addRecords(List<QRecord> recordList) Called as records flow into the pipe.voidJsonExportStreamer.addRecords(List<QRecord> qRecords) voidListOfMapsExportStreamer.addRecords(List<QRecord> qRecords) voidRecordPipe.addRecords(List<QRecord> records) Add a list of records to the pipe.voidTsvExportStreamer.addRecords(List<QRecord> qRecords) voidRecordPipe.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 TypeMethodDescriptionvoidExcelFastexcelExportStreamer.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 TypeMethodDescriptionvoidExcelPoiBasedStreamingExportStreamer.addTotalsRow(QRecord record) static voidExcelPoiBasedStreamingExportStreamer.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 TypeMethodDescriptionvoidExcelPoiBasedStreamingExportStreamer.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 TypeMethodDescriptionvoidvoidvoidMethod 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 QRecordBuildScriptLogAndScriptLogLineExecutionLogger.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 voidBuildScriptLogAndScriptLogLineExecutionLogger.setScriptLog(QRecord scriptLog) Setter for scriptLogMethod parameters in com.kingsrook.qqq.backend.core.actions.scripts.logging with type arguments of type QRecordModifier and TypeMethodDescriptionprotected voidBuildScriptLogAndScriptLogLineExecutionLogger.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 QRecordGetAction.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 QRecordGetAction.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) KeysetPager.pageIterator()Iterate over pages (lazily - each is queried as the iterator is advanced).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.KeysetPager.recordIterator()Iterate over individual records, fetching a page at a time.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 TypeMethodDescriptionvoidKeysetPager.forEachPage(UnsafeConsumer<List<QRecord>, QException> consumer) Run the consumer on each page, in primary key order, until the records are exhausted.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.voidUpdateAction.performValidations(UpdateInput updateInput, Optional<List<QRecord>> oldRecordList, boolean isPreview) voidQueryAction.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 QRecordModifier and TypeMethodDescriptionAssociatedRecordUpdate.Values.after()Returns the value of theafterrecord component.AssociatedRecordUpdate.Values.before()Returns the value of thebeforerecord component.Methods in com.kingsrook.qqq.backend.core.actions.tables.helpers that return types with arguments of type QRecordModifier and TypeMethodDescriptionUniqueKeyLookup.findConflicts(QTableMetaData activeTable, UniqueKey declaredKey, QRecord candidate, QBackendTransaction transaction) Keep all native matches associated with this one declared key predicate.static Map<QRecord, Serializable> UniqueKeyHelper.findMatches(QTableMetaData table, List<QRecord> records, UniqueKey key, boolean allowNullKeyValuesToEqual, InputSource inputSource, QBackendTransaction transaction) Match a complete Replace request against native READ-visible values.UpdateActionRecordSplitHelper.getOutputRecords()Getter for outputRecordsUpdateActionRecordSplitHelper.getRecordsByFieldBeingUpdated()Getter for recordsByFieldBeingUpdatedstatic Map<QRecord, AssociatedRecordUpdate.Values> AssociatedRecordUpdate.prepare(QTableMetaData activeTable, List<QRecord> records, QBackendTransaction transaction) Existing membership uses stored tuples; assignments use normalized patch overlays.AssociatedRecordDiscovery.readParentValues(QTableMetaData activeParentTable, List<Association> associations, List<Serializable> primaryKeys, QBackendTransaction transaction) Read exact stored parent keys and only their declared relationship fields.UniqueKeyLookup.readStoredComponents(QTableMetaData activeTable, List<Serializable> typedPrimaryKeys, QBackendTransaction transaction) Fetch only declared key components for exact typed target primary keys.ValidateRecordSecurityLockHelper.validateStoredWriteLocks(QTableMetaData table, Map<Object, QRecord> visibleRecords, ValidateRecordSecurityLockHelper.Action action, QBackendTransaction transaction) Authorize stored owners before mutation without exposing private values to public results or the separate audit/customizer snapshot.Methods in com.kingsrook.qqq.backend.core.actions.tables.helpers with parameters of type QRecordModifier and TypeMethodDescriptionstatic booleanValidateRecordSecurityLockHelper.allowedToReadRecord(QTableMetaData table, QRecord record, QSession qSession, QBackendTransaction transaction) return boolean if given session can read given recordvoidAssociationJoin.assignParentValues(QRecord parent, QRecord child) Relationship fields override child input using the actual parent values.AssociationJoin.childValues(QRecord record) Use the same declared types as the parent lookup key.UniqueKeyLookup.findConflicts(QTableMetaData activeTable, UniqueKey declaredKey, QRecord candidate, QBackendTransaction transaction) Keep all native matches associated with this one declared key predicate.static 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) booleanCollection adapters match only the exact typed target primary keys.booleanNative collection adapters use metadata-typed equality on raw values.AssociationJoin.parentValues(QRecord record) Preserve explicit null components; callers decide whether membership exists.static ObjectAssociatedRecordUpdate.primaryKey(QTableMetaData table, QRecord record) Typed Java bookkeeping for exact target identifiers, including numeric scale.Method parameters in com.kingsrook.qqq.backend.core.actions.tables.helpers with type arguments of type QRecordModifier and TypeMethodDescriptionstatic voidRestoreWriteHelper.applyFieldBehaviorsKeepingDates(ValueBehaviorApplier.Action action, QTableMetaData table, List<QRecord> records, Set<FieldBehavior<?>> behaviorsToOmit) Apply field behaviors (as ValueBehaviorApplier.applyFieldBehaviors), but keep any create-date / modify-date value the caller supplied - those behaviors only fill nulls in restore mode.static booleanUpdateActionRecordSplitHelper.areAllValuesBeingUpdatedTheSame(UpdateInput updateInput, List<QRecord> recordList, List<String> fieldsBeingUpdated) static voidRecordVersionCheck.check(UpdateInput input, List<QRecord> oldRecords) Compare typed versions before defaults change the caller supplied values.static Map<QRecord, Serializable> UniqueKeyHelper.findMatches(QTableMetaData table, List<QRecord> records, UniqueKey key, boolean allowNullKeyValuesToEqual, InputSource inputSource, QBackendTransaction transaction) Match a complete Replace request against native READ-visible values.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 Map<QRecord, AssociatedRecordUpdate.Values> AssociatedRecordUpdate.prepare(QTableMetaData activeTable, List<QRecord> records, QBackendTransaction transaction) Existing membership uses stored tuples; assignments use normalized patch overlays.static voidRestoreWriteHelper.setAutomationStatusOk(QTableMetaData table, List<QRecord> records) For an insert in restore mode with suppressAutomations: put records straight to automation status OK (unless the record supplied a status), rather than PENDING_INSERT_AUTOMATIONS.static voidValidateContingentPossibleValuesHelper.validate(QTableMetaData table, List<QRecord> records, List<QRecord> oldRecords, QBackendTransaction transaction) Null oldRecords means insert; updates may supply an empty list to fetch only missing values needed for touched dependent fields.static List<QErrorMessage> ValidateRecordSecurityLockHelper.validateRecordSecurityValue(QTableMetaData table, RecordSecurityLock recordSecurityLock, Serializable recordSecurityValue, QFieldType fieldType, ValidateRecordSecurityLockHelper.Action action, Map<Serializable, QRecord> madeUpPrimaryKeys, QSession qSession) static voidValidateRecordSecurityLockHelper.validateSecurityFields(QTableMetaData table, List<QRecord> records, ValidateRecordSecurityLockHelper.Action action, QBackendTransaction transaction) ValidateRecordSecurityLockHelper.validateStoredWriteLocks(QTableMetaData table, Map<Object, QRecord> visibleRecords, ValidateRecordSecurityLockHelper.Action action, QBackendTransaction transaction) Authorize stored owners before mutation without exposing private values to public results or the separate audit/customizer snapshot.static voidRestoreWriteHelper.writeSummaryAudit(AbstractTableActionInput input, String operation, List<QRecord> records) Write the one summary audit for a restore-mode action call - honoring the table's audit level (none means no audit at all).Constructors in com.kingsrook.qqq.backend.core.actions.tables.helpers with parameters of type QRecord -
Uses of QRecord in com.kingsrook.qqq.backend.core.actions.tables.listeners
Methods in com.kingsrook.qqq.backend.core.actions.tables.listeners that return types with arguments of type QRecordModifier and TypeMethodDescriptionRecordChangeEvent.getOldRecords()Getter for oldRecordsRecordChangeEvent.getRecords()Getter for recordsMethod parameters in com.kingsrook.qqq.backend.core.actions.tables.listeners with type arguments of type QRecordModifier and TypeMethodDescriptionvoidRecordChangeEvent.setOldRecords(List<QRecord> oldRecords) Setter for oldRecordsvoidRecordChangeEvent.setRecords(List<QRecord> records) Setter for recordsRecordChangeEvent.withOldRecords(List<QRecord> oldRecords) Fluent setter for oldRecordsRecordChangeEvent.withRecords(List<QRecord> records) Fluent setter for records -
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 StringQValueFormatter.formatRecordLabel(QTableMetaData table, QRecord record) Make a string from a table's recordLabelFormat and fields, for a given record.static voidQValueFormatter.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 voidValueBehaviorApplier.applyFieldBehaviors(ValueBehaviorApplier.Action action, QInstance instance, QTableMetaData table, List<QRecord> recordList, Set<FieldBehavior<?>> behaviorsToOmit) static voidQValueFormatter.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 voidQValueFormatter.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 voidQValueFormatter.setDisplayValuesInRecords(QTableMetaData table, Map<String, QFieldMetaData> fields, List<QRecord> records) For a list of records, set their recordLabels and display valuesstatic voidQValueFormatter.setDisplayValuesInRecordsIncludingPossibleValueTranslations(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).voidQPossibleValueTranslator.translatePossibleValuesInRecords(QTableMetaData table, List<QRecord> records) For a list of records, translate their possible values (populating their display values)voidQPossibleValueTranslator.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) QRecordToTsvAdapter.recordToTsv(QTableMetaData table, QRecord record) Convert one record (with all of its table's fields) to TSV.QRecordToTsvAdapter.recordToTsv(QTableMetaData table, QRecord record, List<QFieldMetaData> fields) Convert one record (with all of its table's fields) to TSV, with a specified set of fields.Method parameters in com.kingsrook.qqq.backend.core.adapters with type arguments of type QRecordModifier and TypeMethodDescriptionvoidCsvToQRecordAdapter.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.voidCsvToQRecordAdapter.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.health
Methods in com.kingsrook.qqq.backend.core.health that return QRecordModifier and TypeMethodDescriptionHealthTransitionEvaluator.Decision.state()Returns the value of thestaterecord component.Methods in com.kingsrook.qqq.backend.core.health with parameters of type QRecordModifier and TypeMethodDescriptionHealthTransitionEvaluator.evaluate(QRecord previous, HealthCheckOutcome outcome, int failureThreshold, int recoveryThreshold, Instant now) UNKNOWN breaks consecutive streaks but never changes state or raises alerts.Constructors in com.kingsrook.qqq.backend.core.health with parameters of type QRecordModifierConstructorDescriptionDecision(QRecord state, boolean transition, List<AlertSignal> raises, List<AlertResolution> resolutions) Creates an instance of aDecisionrecord class. -
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 voidQInstanceHelpContentManager.processHelpContentRecord(QInstance qInstance, QRecord record) -
Uses of QRecord in com.kingsrook.qqq.backend.core.jobs
Methods in com.kingsrook.qqq.backend.core.jobs that return QRecordModifier and TypeMethodDescriptionstatic QRecordStatus of a job the current session can see (owner or jobs_admin).Methods in com.kingsrook.qqq.backend.core.jobs with parameters of type QRecordModifier and TypeMethodDescriptionstatic Map<String, Serializable> Write a job's failed rows as CSV to the jobs storage table and grant the current session its download.static QSessionBuild the session a job's chunk runs under.static voidFailedRows.resolveAfterRetry(QRecord retryJob) A retry job finished: its parent's rows that did not fail again are resolved.static IntegerLaunch a child job over a job's unresolved failed rows. -
Uses of QRecord in com.kingsrook.qqq.backend.core.jobs.effects
Methods in com.kingsrook.qqq.backend.core.jobs.effects that return QRecordModifier and TypeMethodDescriptionRead an effect (as the system user).Methods in com.kingsrook.qqq.backend.core.jobs.effects that return types with arguments of type QRecordModifier and TypeMethodDescriptionEffectStore.query(QQueryFilter filter) Query the outbox (as the system user).Methods in com.kingsrook.qqq.backend.core.jobs.effects with parameters of type QRecordModifier and TypeMethodDescriptionvoidCalled at a named point of a delivery.JobCompletionEffects.effectsFor(QRecord job, JobStatus completingAs) The job-level effects for a job about to complete.Method parameters in com.kingsrook.qqq.backend.core.jobs.effects with type arguments of type QRecordModifier and TypeMethodDescriptionintEffectStore.insertEffects(List<QRecord> effects, QBackendTransaction transaction) Write outbox rows (in the chunk's transaction when given). -
Uses of QRecord in com.kingsrook.qqq.backend.core.jobs.plans
Methods in com.kingsrook.qqq.backend.core.jobs.plans that return QRecordModifier and TypeMethodDescriptionChunkContext.getChunk()Getter for chunkChunkContext.getJob()Getter for jobMethods in com.kingsrook.qqq.backend.core.jobs.plans that return types with arguments of type QRecordModifier and TypeMethodDescriptionJobChunkScope.drainEffects()Take the buffered effects (the buffer is emptied: a STEPS job writes them at each step boundary).ChunkedProcessPlan.planChunks(QRecord job) JobPlan.planChunks(QRecord job) Plan the chunks for a newly launched job (runs as the launching user).StepsJobPlan.planChunks(QRecord job) One chunk.Methods in com.kingsrook.qqq.backend.core.jobs.plans with parameters of type QRecordModifier and TypeMethodDescriptionvoidBuffer an outbox effect row; the same idempotency key twice keeps one.static JobPlanThe plan that runs a job.ChunkedProcessPlan.planChunks(QRecord job) JobPlan.planChunks(QRecord job) Plan the chunks for a newly launched job (runs as the launching user).StepsJobPlan.planChunks(QRecord job) One chunk.static voidJobChunkScope.reportRecordErrors(QRecord record, List<Integer> fileRowNumbers, Serializable recordPk) Report each error on a record that failed (no-op outside a job).Method parameters in com.kingsrook.qqq.backend.core.jobs.plans with type arguments of type QRecordModifier and TypeMethodDescriptionvoidChunkContext.completeInTransaction(ChunkOutcome outcome, List<QRecord> rowErrors, QBackendTransaction transaction) Mark the chunk DONE inside the plan's own transaction (SAME_TRANSACTION: the chunk's writes and its DONE mark commit together, fenced by the lease).voidChunkContext.completeInTransaction(ChunkOutcome outcome, List<QRecord> rowErrors, List<QRecord> effects, QBackendTransaction transaction) Mark the chunk DONE in the plan's transaction, with its row errors and its outbox effects: the chunk's writes, its effects and its DONE mark commit together (spec section 2.13).voidChunkContext.recordEffects(List<QRecord> effects) Write outbox effects outside a transaction (keys already written are skipped, so a rerun never doubles them).Constructors in com.kingsrook.qqq.backend.core.jobs.plans with parameters of type QRecordModifierConstructorDescriptionChunkContext(QRecord job, QRecord chunk, JobLease lease, DurableJobStore store, BooleanSupplier draining) Constructor -
Uses of QRecord in com.kingsrook.qqq.backend.core.jobs.progress
Methods in com.kingsrook.qqq.backend.core.jobs.progress with parameters of type QRecordModifier and TypeMethodDescriptionstatic DoubleJobProgressMath.committedFraction(QRecord job) Committed rows first, then chunks; null means indeterminate.static voidJobProgressLifecycle.finished(DurableJobStore store, QRecord job, JobStatus status, String summary) Append the winning terminal transition summary after its snapshot commits.static voidJobProgressLifecycle.reclaimed(DurableJobStore store, QRecord chunk) Reset live fields to committed work, preserving the interrupted attempt log.static JobProgressSnapshotRead a snapshot, falling back to committed counts for existing jobs.static Map<String, Serializable> JobProgressLifecycle.terminalValues(DurableJobStore store, QRecord job, JobStatus status, String summary) Persist final progress atomically with the winning status transition.voidJobProgressMath.update(JobProgressSnapshot snapshot, QRecord job, int currentAttempt, Instant now) Derive percent and ETA.JobLogWriter.withReclaimedChunk(QRecord chunk) A reclaim reset must not overwrite a newly claimed attempt's live progress. -
Uses of QRecord in com.kingsrook.qqq.backend.core.jobs.runtime
Methods in com.kingsrook.qqq.backend.core.jobs.runtime with parameters of type QRecordModifier and TypeMethodDescriptionstatic voidJobSignals.effectUnresolved(QRecord effect) Raise the alert for an outbox effect whose delivery could not be determined and that is queued for review (deduped per effect).static booleanEmit the providers' effects for the job.static voidA job reached a final (or review) status: notify its owner, raise or resolve the failure alert, publish status.static voidPublish job.progress (at most once per second per job unless forced).Start a fresh inline run with the captured process values.static voidRaise the stalled alert for a job. -
Uses of QRecord in com.kingsrook.qqq.backend.core.jobs.store
Methods in com.kingsrook.qqq.backend.core.jobs.store that return QRecordModifier and TypeMethodDescriptionRead a chunk (as the system user).Read a job (as the system user).Methods in com.kingsrook.qqq.backend.core.jobs.store that return types with arguments of type QRecordModifier and TypeMethodDescriptionThe chunks of a job, in sequence order.DurableJobStore.query(String tableName, QQueryFilter filter) Query a jobs table (as the system user).DurableJobStore.reapExpired(String reaperPodId) Reclaim every RUNNING chunk whose lease expired (by the database clock).DurableJobStore.refreshCounters(Integer jobId) Recompute a job's row and chunk counters from its chunks; return the chunks.Methods in com.kingsrook.qqq.backend.core.jobs.store with parameters of type QRecordModifier and TypeMethodDescriptionDurableJobStore.claimChunk(QRecord chunk, String podId, int leaseTtlSeconds) Try to claim one specific claimable chunk.DurableJobStore.claimChunk(QRecord chunk, String podId, int leaseTtlSeconds, QBackendTransaction transaction) Claim one specific chunk, optionally in a (claiming) transaction.DurableJobStore.insertJob(QRecord job, QBackendTransaction transaction) Insert a job row; return its id.Method parameters in com.kingsrook.qqq.backend.core.jobs.store with type arguments of type QRecordModifier and TypeMethodDescriptionSkipLockedClaims.Claimer.claim(List<QRecord> lockedCandidates, QBackendTransaction transaction) Claim (conditionally update) the locked rows, in the transaction.voidDurableJobStore.insertChunks(List<QRecord> chunks, QBackendTransaction transaction) Insert planned chunks for a job.voidDurableJobStore.recordRowErrors(List<QRecord> rowErrors, QBackendTransaction transaction) Record row errors for a chunk (batched), in the chunk's transaction. -
Uses of QRecord in com.kingsrook.qqq.backend.core.jobs.uploads
Methods in com.kingsrook.qqq.backend.core.jobs.uploads that return QRecordModifier and TypeMethodDescriptionstatic QRecordThe upload row for a ref the current user may use (owner, or jobs_admin), if it has not expired.Methods in com.kingsrook.qqq.backend.core.jobs.uploads with parameters of type QRecordModifier and TypeMethodDescriptionstatic UploadRefUploadRefs.toUploadRef(QRecord row) The upload row as an UploadRef. -
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 detailsDMLAuditHandlerInput.getNewRecords()Getter for newRecordsDMLAuditInput.getOldRecordList()Getter for oldRecordListDMLAuditHandlerInput.getOldRecords()Getter for oldRecordsDMLAuditInput.getRecordList()Getter for recordListMethods in com.kingsrook.qqq.backend.core.model.actions.audits with parameters of type QRecordModifier and TypeMethodDescriptionvoidAuditDetailAccumulator.addAuditDetail(String tableName, QRecord record, String message) AuditSingleInput.forRecord(QTableMetaData table, QRecord record) Populate this input from a table and record, extracting the primary key and security key values.Method parameters in com.kingsrook.qqq.backend.core.model.actions.audits with type arguments of type QRecordModifier and TypeMethodDescriptionvoidAuditSingleInput.setDetails(List<QRecord> details) Setter for detailsvoidDMLAuditHandlerInput.setNewRecords(List<QRecord> newRecords) Setter for newRecordsvoidDMLAuditInput.setOldRecordList(List<QRecord> oldRecordList) Setter for oldRecordListvoidDMLAuditHandlerInput.setOldRecords(List<QRecord> oldRecords) Setter for oldRecordsvoidDMLAuditInput.setRecordList(List<QRecord> recordList) Setter for recordListAuditSingleInput.withDetails(List<QRecord> details) Fluent setter for detailsDMLAuditHandlerInput.withNewRecords(List<QRecord> newRecords) Fluent setter for newRecordsDMLAuditInput.withOldRecordList(List<QRecord> oldRecordList) Fluent setter for oldRecordListDMLAuditHandlerInput.withOldRecords(List<QRecord> oldRecords) Fluent setter for oldRecordsDMLAuditInput.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 TypeMethodDescriptionvoidadd 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 TypeMethodDescriptionvoidProcessState.setRecords(List<QRecord> records) Setter for recordsvoidRunBackendStepInput.setRecords(List<QRecord> records) Setter for recordsvoidRunBackendStepOutput.setRecords(List<QRecord> records) Setter for recordsvoidRunProcessInput.setRecords(List<QRecord> records) Setter for recordsvoidRunProcessOutput.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 TypeMethodDescriptionvoidRunAdHocRecordScriptInput.setRecordList(List<QRecord> recordList) Setter for recordListvoidTestScriptOutput.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 TypeMethodDescriptionvoidDeleteOutput.addRecordWithError(QRecord recordWithError) voidDeleteOutput.addRecordWithWarning(QRecord recordWithWarning) Method parameters in com.kingsrook.qqq.backend.core.model.actions.tables.delete with type arguments of type QRecordModifier and TypeMethodDescriptionvoidDeleteOutput.setRecordsWithErrors(List<QRecord> recordsWithErrors) voidDeleteOutput.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 TypeMethodDescriptionvoidSetter 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 TypeMethodDescriptionvoidInsertInput.setRecords(List<QRecord> records) Setter for recordsvoidInsertOutput.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.picker
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.picker that return types with arguments of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.model.actions.tables.picker with type arguments of type QRecordModifier and TypeMethodDescriptionvoidRelatedRecordPickerOutput.setRecords(List<QRecord> records) Setter for recordsRelatedRecordPickerOutput.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 TypeMethodDescriptionvoidAdd a record to this output.Method parameters in com.kingsrook.qqq.backend.core.model.actions.tables.query with type arguments of type QRecordModifier and TypeMethodDescriptionvoidQueryOutput.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 TypeMethodDescriptionvoidReplaceInput.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 TypeMethodDescriptionvoidUpdateInput.setRecords(List<QRecord> records) Setter for recordsvoidUpdateOutput.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 TypeMethodDescriptionvoidRecordAutomationInput.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.backends
Constructors in com.kingsrook.qqq.backend.core.model.backends 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 that return types with arguments of type QRecordMethods in com.kingsrook.qqq.backend.core.model.dashboard.widgets with parameters of type QRecordModifier and TypeMethodDescriptionvoidSetter for recordvoidDynamicFormWidgetData.setRecordOfFieldValues(QRecord recordOfFieldValues) Setter for recordOfFieldValuesFieldValueListData.withRecord(QRecord record) Fluent setter for recordDynamicFormWidgetData.withRecordOfFieldValues(QRecord recordOfFieldValues) Fluent setter for recordOfFieldValuesMethod parameters in com.kingsrook.qqq.backend.core.model.dashboard.widgets with type arguments of type QRecordModifier and TypeMethodDescriptionvoidRowBuilderData.setRecords(List<QRecord> records) Setter for recordsRowBuilderData.withRecords(List<QRecord> records) Fluent setter for recordsConstructors in com.kingsrook.qqq.backend.core.model.dashboard.widgets with parameters of type QRecordConstructor parameters in com.kingsrook.qqq.backend.core.model.dashboard.widgets with type arguments 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 TypeClassDescriptionclassExtension 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 QRecordQRecordEnum.toQRecord()Convert this entity to a QRecord.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 TypeMethodDescriptionvoidQRecord.addJoinedRecordValues(String joinTableName, QRecord joinedRecord) copy all values from 'joinedRecord' into this record's values map, prefixing field names with joinTableNam + "."voidQRecordWithJoinedRecords.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 voidQRecordEntity.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 TypeMethodDescriptionQRecordWithJoinedRecords.buildCrossProduct(String joinTable, List<QRecord> joinRecordList) Given an object of this type (`this`), add a list of join-records to it, producing a new list, which is `this` × joinRecordList.voidQRecord.setAssociatedRecords(Map<String, List<QRecord>> associatedRecords) Setter for associatedRecordsvoidQRecordWithJoinedRecords.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.developer
Methods in com.kingsrook.qqq.backend.core.model.developer that return QRecordMethods in com.kingsrook.qqq.backend.core.model.developer with parameters of type QRecordModifier and TypeMethodDescriptionvoidSetter for recordDeveloperPanelContext.withRecord(QRecord record) Fluent setter for record -
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 TypeMethodDescriptionAttribute rows created through normal table actions.Methods in com.kingsrook.qqq.backend.core.model.helpcontent with parameters of type QRecordMethod parameters in com.kingsrook.qqq.backend.core.model.helpcontent with type arguments of type QRecordModifier and TypeMethodDescriptionAttribute rows created through normal table actions.Constructors 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 TypeMethodDescriptionvoidAdHocScriptCodeReference.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 TypeMethodDescriptionvoidCaseChangeBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidCronExpressionDisplayValueBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidDateTimeDisplayValueBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidDynamicDefaultValueBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidFieldBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) Apply this behavior to a list of recordsvoidFieldDisplayBehavior.NoopFieldDisplayBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidFilterJsonFieldDisplayValueFormatter.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidValueRangeBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidValueTooLongBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) voidWhiteSpaceBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.metadata.fields.functions
Methods in com.kingsrook.qqq.backend.core.model.metadata.fields.functions with parameters of type QRecordModifier and TypeMethodDescriptionFieldFunctionType.apply(FieldFunction fieldFunction, QRecord record) Applies this function to the given record's field value and returns the result.default SerializableFieldFunctionType.applyForSorting(FieldFunction fieldFunction, QRecord record) Applies this function for sort-order purposes. -
Uses of QRecord in com.kingsrook.qqq.backend.core.model.metadata.fields.functions.implementations
Methods in com.kingsrook.qqq.backend.core.model.metadata.fields.functions.implementations with parameters of type QRecordModifier and TypeMethodDescriptionStringLengthFunction.apply(FieldFunction fieldFunction, QRecord record) Returns the character length of the field's string value, or null if the value is null.SubStringFunction.apply(FieldFunction fieldFunction, QRecord record) Extracts and returns the substring of the field value using 1-based fromIndex and optional length; returns null if the field value is null, or an empty string if fromIndex is beyond the string's length.WeekdayOfDateFunction.apply(FieldFunction fieldFunction, QRecord record) Returns the ISO-8601 day-of-week value (Monday=1, Sunday=7) for the date field's value, or null if the value is null.WeekdayOfDateTimeFunction.apply(FieldFunction fieldFunction, QRecord record) Converts the datetime field value to the specified time zone and returns the ISO-8601 day-of-week value, or null if the value is null.WeekdayOfDateFunction.applyForSorting(FieldFunction fieldFunction, QRecord record) Returns the day-of-week value adjusted for sort ordering.WeekdayOfDateTimeFunction.applyForSorting(FieldFunction fieldFunction, QRecord record) Returns the day-of-week value adjusted for sort ordering. -
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 QRecordBackendVariantsUtil.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 TypeMethodDescriptionvoidSavedBulkLoadProfileJsonFieldDisplayValueFormatter.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) static Map<Serializable, QRecord> SavedReportTableCustomizer.validateStoredOwner(List<QRecord> records, QTableMetaData table, QBackendTransaction transaction, String verb, boolean isUpdate) Validate saved-asset ownership using a private native snapshot.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 TypeMethodDescriptionvoidSavedReportJsonFieldDisplayValueFormatter.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 voidSavedReportTableCustomizer.validateOwner(List<QRecord> records, String tableName, String verb) static Map<Serializable, QRecord> SavedReportTableCustomizer.validateStoredOwner(List<QRecord> records, QTableMetaData table, QBackendTransaction transaction, String verb, boolean isUpdate) Validate saved-asset ownership using a private native snapshot.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 QRecordModifierConstructorDescriptionQuickSavedView(QRecord qRecord) ConstructorConstructorSharedSavedView(QRecord qRecord) Constructor -
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
Subclasses with type arguments of type QRecord in com.kingsrook.qqq.backend.core.model.tablesModifier and TypeClassDescriptionclasspossible-value source provider for the `QQQ Table` PVS - a list of all tables in an application/qInstance (that you have permission to see)Methods in com.kingsrook.qqq.backend.core.model.tables that return QRecordModifier and TypeMethodDescriptionprotected QRecordQQQTableCustomPossibleValueProvider.getSourceObject(Serializable id) Methods in com.kingsrook.qqq.backend.core.model.tables that return types with arguments of type QRecordModifier and TypeMethodDescriptionQQQTableCustomPossibleValueProvider.getAllSourceObjects()QQQTableTableManager.setRecordLinksToRecordsFromTableDynamicForPostQuery(QueryOrGetInputInterface queryInput, List<QRecord> records, String tableIdField, String recordIdField) Methods in com.kingsrook.qqq.backend.core.model.tables with parameters of type QRecordModifier and TypeMethodDescriptionprotected QPossibleValue<Integer> QQQTableCustomPossibleValueProvider.makePossibleValue(QRecord sourceObject) Method parameters in com.kingsrook.qqq.backend.core.model.tables with type arguments of type QRecordModifier and TypeMethodDescriptionQQQTableTableManager.setRecordLinksToRecordsFromTableDynamicForPostQuery(QueryOrGetInputInterface queryInput, List<QRecord> records, String tableIdField, String recordIdField) 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 QRecordModifierConstructorDescriptionUserSession(QRecord record) Constructor that takes a QRecordUserSessionRefreshToken(QRecord record) Constructor that takes a 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) MemoryQueryAction.lookupUniqueKey(UniqueKeyLookup.Input input) MemoryRecordStore.lookupUniqueKey(UniqueKeyLookup.Input input) Return only schema-constrained key material, without read transformations.MemoryRecordStore.query(QueryInput input) MemoryQueryAction.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) MemoryRecordStore.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) Return only declared parent relationship values without read transformations.MemoryRecordStore.update(UpdateInput input, boolean returnUpdatedRecords) Methods in com.kingsrook.qqq.backend.core.modules.backend.implementations.memory with parameters of type QRecordModifier and TypeMethodDescriptionprotected voidAbstractMemoryAction.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 QRecordModifier and TypeMethodDescriptionstatic QRecordBackendQueryFilterUtils.recordForFieldFunction(QRecord record, String fieldReference, JoinsContext joinsContext) Functions read local field names, including secondary field arguments.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 booleanBackendQueryFilterUtils.doesRecordMatch(QQueryFilter filter, JoinsContext joinsContext, QRecord qRecord) Test if record matches filter - where we are executing a QueryAction, and we have a JoinsContext.static booleanBackendQueryFilterUtils.doesRecordMatch(QQueryFilter filter, QRecord qRecord) Test if record matches filter.static QRecordBackendQueryFilterUtils.recordForFieldFunction(QRecord record, String fieldReference, JoinsContext joinsContext) Functions read local field names, including secondary field arguments.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 voidBackendQueryFilterUtils.sortRecordList(JoinsContext joinsContext, QQueryFilter filter, List<QRecord> recordList) Sort list of records based on filter.static voidBackendQueryFilterUtils.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 QRecordBulkInsertStepUtils.handleSavedBulkLoadProfileIdValue(RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert that return types with arguments of type QRecordModifier and TypeMethodDescriptionBulkInsertTransformStep.loadPotentialRecordsByUniqueKey(RunBackendStepInput runBackendStepInput, List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) BulkInsertTransformStep.loadPotentialRecordsByUniqueKeyByOrQueries(List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) This approach builds a big query, in the format:BulkInsertTransformStep.loadPotentialRecordsByUniqueKeyByPerFieldInLists(List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) The approach in this method is designed to minimize the number of queries needed to look up the records to update.BulkInsertTransformStep.loadPotentialRecordsByUniqueKeyRecordByRecord(List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert with type arguments of type QRecordModifier and TypeMethodDescriptionBulkInsertTransformStep.loadPotentialRecordsByUniqueKey(RunBackendStepInput runBackendStepInput, List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) BulkInsertTransformStep.loadPotentialRecordsByUniqueKeyByOrQueries(List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) This approach builds a big query, in the format:BulkInsertTransformStep.loadPotentialRecordsByUniqueKeyByPerFieldInLists(List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) The approach in this method is designed to minimize the number of queries needed to look up the records to update.BulkInsertTransformStep.loadPotentialRecordsByUniqueKeyRecordByRecord(List<QRecord> fileRecords, QTableMetaData table, List<String> keyFields) -
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 QRecordBulkLoadRecordUtils.addBackendDetailsAboutFileRows(QRecord record, BulkLoadFileRow fileRow) Constructorstatic QRecordBulkLoadRecordUtils.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 QRecordBulkLoadRecordUtils.addBackendDetailsAboutFileRows(QRecord record, BulkLoadFileRow fileRow) Constructorstatic QRecordBulkLoadRecordUtils.addBackendDetailsAboutFileRows(QRecord record, ArrayList<BulkLoadFileRow> fileRows) ConstructorBulkLoadRecordUtils.getFileRowNos(QRecord record) static ArrayList<BulkLoadFileRow> BulkLoadRecordUtils.getFileRows(QRecord record) static StringBulkLoadRecordUtils.getRowNosString(QRecord record) default booleanRowsToRecordInterface.setValueOrDefault(QRecord record, QFieldMetaData field, String associationNameChain, BulkInsertMapping mapping, BulkLoadFileRow row, Integer columnIndex) returns true if value from row was used, else false.default booleanRowsToRecordInterface.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 voidBulkLoadValueMapper.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 voidStreamedETLBackendStep.postTransform(List<QRecord> qRecords, RunBackendStepInput runBackendStepInput, RunBackendStepOutput runBackendStepOutput) Customization point for subclasses of this step.protected voidStreamedETLBackendStep.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.recordsToInsertLoadViaInsertOrUpdateStep.recordsToUpdateMethods 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 TypeMethodDescriptionvoidStreamedBackendStepInput.setRecords(List<QRecord> records) voidStreamedBackendStepOutput.setRecords(List<QRecord> records) protected voidLoadViaInsertOrUpdateStep.splitRecordsForInsertOrUpdate(List<QRecord> inputList, String primaryKeyFieldName, List<QRecord> insertList, List<QRecord> updateList) protected voidBaseStreamedETLStep.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 QRecordAbstractMergeDuplicatesTransformStep.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 voidAbstractMergeDuplicatesTransformStep.addOtherTableRecordsToStore(String tableName, Collection<QRecord> records) abstract QRecordAbstractMergeDuplicatesTransformStep.buildRecordToKeep(RunBackendStepInput runBackendStepInput, List<QRecord> duplicateRecords) Do the main work for this process - merge a list of records.protected voidAbstractMergeDuplicatesTransformStep.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.savedviews
Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.savedviews with type arguments of type QRecordModifier and TypeMethodDescriptionprotected voidQuerySavedViewProcess.lookupQuickViews(RunBackendStepInput runBackendStepInput, List<QRecord> savedViewRecords) If the qInstance has aQuickSavedViewtable, then query for quick-saved view records associated with the list of saved view records that were found. -
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 QRecordAbstractTableSyncTransformStep.getExistingRecord(Map<Pair<String, Serializable>, QRecord> existingRecordsByForeignKey, QFieldMetaData destinationForeignKeyField, Serializable sourceKeyValue) abstract QRecordAbstractTableSyncTransformStep.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 SerializableAbstractTableSyncTransformStep.extractSourceKeyValueFromRecord(QRecord sourceRecord, String sourceTableKeyField) Given a source record, extract what we'll use as its key from it.abstract QRecordAbstractTableSyncTransformStep.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 QRecordAbstractTableSyncTransformStep.getExistingRecord(Map<Pair<String, Serializable>, QRecord> existingRecordsByForeignKey, QFieldMetaData destinationForeignKeyField, Serializable sourceKeyValue) protected voidAbstractTableSyncTransformStep.initializeRecordLookupHelper(RunBackendStepInput runBackendStepInput, List<QRecord> sourceRecordList) If needed, init a record lookup helper for this process.protected voidAbstractTableSyncTransformStep.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 QRecordGeneralProcessUtils.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 QRecordGeneralProcessUtils.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 voidGeneralProcessUtils.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 voidGeneralProcessUtils.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) Methods in com.kingsrook.qqq.backend.core.scheduler with parameters of type QRecordModifier and TypeMethodDescriptionstatic voidCronDescriber.setDescriptionInRecord(QRecord record, String fieldName, String cronExpression) set the specified fieldName to the description for the given cronExpression in the given record - and if there's an error generating the description, then set the fieldName to an error message (don't throw).Method parameters in com.kingsrook.qqq.backend.core.scheduler with type arguments of type QRecordModifier and TypeMethodDescriptionvoidCronExpressionTooltipFieldBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) -
Uses of QRecord in com.kingsrook.qqq.backend.core.scheduler.processes
Methods in com.kingsrook.qqq.backend.core.scheduler.processes that return QRecordModifier and TypeMethodDescriptionAbstractRecordSyncToScheduledJobProcess.populateRecordToStore(RunBackendStepInput runBackendStepInput, QRecord destinationRecord, QRecord sourceRecord) Methods in com.kingsrook.qqq.backend.core.scheduler.processes that return types with arguments of type QRecordModifier and TypeMethodDescriptionBaseSyncToScheduledJobTableCustomizer.postDelete(DeleteInput deleteInput, List<QRecord> records) BaseSyncToScheduledJobTableCustomizer.postInsertOrUpdate(AbstractActionInput input, List<QRecord> records, Optional<List<QRecord>> oldRecordList) Methods in com.kingsrook.qqq.backend.core.scheduler.processes with parameters of type QRecordModifier and TypeMethodDescriptionprotected ScheduledJobAbstractRecordSyncToScheduledJobProcess.customizeScheduledJob(ScheduledJob scheduledJob, QRecord sourceRecord) AbstractRecordSyncToScheduledJobProcess.populateRecordToStore(RunBackendStepInput runBackendStepInput, QRecord destinationRecord, QRecord sourceRecord) Method parameters in com.kingsrook.qqq.backend.core.scheduler.processes with type arguments of type QRecordModifier and TypeMethodDescriptionvoidBaseSyncToScheduledJobTableCustomizer.deleteScheduledJobsForRecordList(List<QRecord> records) Delete scheduled job records for source-table records that have been deleted.BaseSyncToScheduledJobTableCustomizer.postDelete(DeleteInput deleteInput, List<QRecord> records) BaseSyncToScheduledJobTableCustomizer.postInsertOrUpdate(AbstractActionInput input, List<QRecord> records, Optional<List<QRecord>> oldRecordList) BaseSyncToScheduledJobTableCustomizer.postInsertOrUpdate(AbstractActionInput input, List<QRecord> records, Optional<List<QRecord>> oldRecordList) voidBaseSyncToScheduledJobTableCustomizer.runSyncProcessForRecordList(List<QRecord> records, QBackendTransaction transaction, String processName) Run the named process over a set of records (e.g., that were inserted or updated). -
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 QRecordJsonUtils.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.static voidJsonFieldUtils.project(QRecord record, QTableMetaData table, String prefix) Project logical fields without exposing the backing JSON column.static SerializableJsonFieldUtils.read(QRecord record, QFieldMetaData field, String prefix) Read a typed logical value from a physical JSON map, including joined records.static voidJsonFieldUtils.write(QRecord record, QFieldMetaData field, Serializable value) Merge one logical value; null removes the key.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.core.utils.aggregates
Methods in com.kingsrook.qqq.backend.core.utils.aggregates with parameters of type QRecord -
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 QRecordBaseAPIActionUtil.jsonObjectToRecord(org.json.JSONObject jsonObject, Map<String, QFieldMetaData> fields) protected QRecordBaseAPIActionUtil.processPostResponse(QTableMetaData table, QRecord record, QHttpResponse response) BaseAPIActionUtil.processSingleRecordGetResponse(QTableMetaData table, QHttpResponse response) Methods in com.kingsrook.qqq.backend.module.api.actions that return types with arguments of type QRecordModifier and TypeMethodDescriptionAPIQueryAction.lookupUniqueKey(UniqueKeyLookup.Input input) Complete key visibility must be supplied by the configured provider utility.BaseAPIActionUtil.lookupUniqueKey(UniqueKeyLookup.Input input) Override only when the provider can read every stored declared-key conflict.APIQueryAction.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) The configured provider must explicitly support complete stored parent values.BaseAPIActionUtil.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) Ordinary upstream reads cannot promise complete physical relationship values.Methods in com.kingsrook.qqq.backend.module.api.actions with parameters of type QRecordModifier and TypeMethodDescriptionstatic org.json.JSONObjectAPIRecordUtils.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 QRecordBaseAPIActionUtil.processPostResponse(QTableMetaData table, QRecord record, QHttpResponse response) protected org.apache.http.entity.AbstractHttpEntityBaseAPIActionUtil.recordToEntity(QTableMetaData table, QRecord record) Build an HTTP Entity (e.g., for a PUT or POST) from a QRecord.protected org.json.JSONObjectBaseAPIActionUtil.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 StringBaseAPIActionUtil.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.AbstractHttpEntityBaseAPIActionUtil.recordsToEntity(QTableMetaData table, List<QRecord> recordList) Build an HTTP Entity (e.g., for a PUT or POST) from a list of QRecords.voidBaseAPIActionUtil.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 QRecordAbstractBaseFilesystemAction.backendVariantRecordMethods in com.kingsrook.qqq.backend.module.filesystem.base.actions that return types with arguments of type QRecordModifier and TypeMethodDescriptionAbstractBaseFilesystemAction.lookupUniqueKey(UniqueKeyLookup.Input input) MANY-file readers need explicit matching; projected key contents may be heavy.AbstractBaseFilesystemAction.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) Read only exact parent keys, retaining every declared relationship component.Methods in com.kingsrook.qqq.backend.module.filesystem.base.actions with parameters of type QRecordModifier and TypeMethodDescriptionprotected voidAbstractBaseFilesystemAction.addBackendDetailsToRecord(QRecord record, FILE file) Add backend details to a record about the file that it is in.abstract voidAbstractBaseFilesystemAction.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 voidAbstractBaseFilesystemAction.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 TypeMethodDescriptionvoidAbstractFilesystemAction.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 voidStreamedETLFilesystemBackendStep.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 TypeMethodDescriptionvoidAbstractS3Action.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 TypeMethodDescriptionvoidAbstractSFTPAction.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 QRecordAbstractMongoDBAction.documentToRecord(QueryInput queryInput, org.bson.Document document) Convert a mongodb document to a QRecord.Methods in com.kingsrook.qqq.backend.module.mongodb.actions that return types with arguments of type QRecordModifier and TypeMethodDescriptionMongoDBQueryAction.lookupUniqueKey(UniqueKeyLookup.Input input) Display locks and unrelated computed fields cannot hide stored key conflicts.MongoDBQueryAction.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) Stored relationship values are independent of display locks and computations.Methods in com.kingsrook.qqq.backend.module.mongodb.actions with parameters of type QRecordModifier and TypeMethodDescriptionprotected org.bson.DocumentAbstractMongoDBAction.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 that return types with arguments of type QRecordModifier and TypeMethodDescriptionRDBMSQueryAction.lookupUniqueKey(UniqueKeyLookup.Input input) Native declared-key lookups retain database equality and caller transactions.RDBMSQueryAction.readAssociationValues(AssociatedRecordDiscovery.StoredValuesInput input) Private parent tuples retain physical values and the caller's transaction.Methods in com.kingsrook.qqq.backend.module.rdbms.actions with parameters of type QRecordModifier and TypeMethodDescriptionstatic StringJsonStorageValues.object(QRecord record, List<QFieldMetaData> fields, String column) Non-null values to insert or merge for one JSON column.static StringJsonStorageValues.removedKeys(QRecord record, List<QFieldMetaData> fields, String column) PostgreSQL text-array literal.protected voidAbstractRDBMSAction.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.protected List<Serializable> RDBMSUpdateAction.updateValues(QTableMetaData table, List<String> fieldNames, QRecord record) Bind each physical column once; JSON merges include only submitted logical fields. -
Uses of QRecord in com.kingsrook.qqq.esb.envelope
Methods in com.kingsrook.qqq.esb.envelope with parameters of type QRecordModifier and TypeMethodDescriptionstatic EsbEventEsbEventFactory.forRecordChange(String instanceName, String tableName, RecordChangeType changeType, QRecord record, QRecord oldRecord) An event for one record written by an insert, update, or delete.static EsbEventEsbEventFactory.forRecordChange(String instanceName, String tableName, RecordChangeType changeType, QRecord record, QRecord oldRecord, boolean includeClassified) Explicit per-publication opt-in; default callers omit classified values. -
Uses of QRecord in com.kingsrook.qqq.middleware.javalin
Methods in com.kingsrook.qqq.middleware.javalin with parameters of type QRecordModifier and TypeMethodDescriptionstatic voidQJavalinImplementation.setRecordValuesForInsertOrUpdate(io.javalin.http.Context context, QTableMetaData tableMetaData, QRecord record, AbstractTableActionInput input) Read the values of a record insert or update request into a record: a JSON object body, or multipart form fields (with uploaded files for blob fields, and an `associations` field in the legacy or record-v1 format). -
Uses of QRecord in com.kingsrook.qqq.middleware.javalin.executors.io
Methods in com.kingsrook.qqq.middleware.javalin.executors.io that return QRecordModifier and TypeMethodDescriptionTableInsertInput.getRecord()Getter for recordTableUpdateInput.getRecord()Getter for recordMethods in com.kingsrook.qqq.middleware.javalin.executors.io with parameters of type QRecordModifier and TypeMethodDescriptionvoidSetter for the record (read with display values)voidvoidSetter for recordvoidvoidSetter for recordvoidTableInsertInput.withRecord(QRecord record) Fluent setter for recordTableUpdateInput.withRecord(QRecord record) Fluent setter for recordMethod parameters in com.kingsrook.qqq.middleware.javalin.executors.io with type arguments of type QRecordModifier and TypeMethodDescriptionvoidProcessRecordsOutputInterface.setRecords(List<QRecord> records) voidTableQueryOutputInterface.setRecords(List<QRecord> records) voidRecordAssociatedScriptLogsOutputInterface.setScriptLogRecords(List<QRecord> scriptLogRecords) Setter for the scriptLog records (each with its scriptLogLine records) -
Uses of QRecord in com.kingsrook.qqq.middleware.javalin.executors.utils
Methods in com.kingsrook.qqq.middleware.javalin.executors.utils that return QRecordModifier and TypeMethodDescriptionstatic QRecordGet the record that developer mode is for: requires READ permission on its table, generates display values and translates possible values, and throws not-found if there is no such record.RecordDeveloperModeUtils.AssociatedScriptDetails.getScript()Getter for scriptRecordDeveloperModeUtils.AssociatedScriptDetails.getScriptType()Getter for scriptTypestatic QRecordTableWriteUtils.recordToWrite(String tableName, QRecord record, Map<String, Serializable> recordValues) The record to write: the one the spec read from the request, or one built from plain field values.Methods in com.kingsrook.qqq.middleware.javalin.executors.utils that return types with arguments of type QRecordModifier and TypeMethodDescriptionRecordDeveloperModeUtils.getScriptLogRecords(QueryInput queryInput, String scriptRevisionId) Get the (newest, up to 100) logs of a script revision, each with its log lines as a list of records in its scriptLogLine value.RecordDeveloperModeUtils.AssociatedScriptDetails.getScriptRevisions()Getter for scriptRevisionsProcessExecutorUtils.recordsForCaller(String processName, ProcessState state, List<QRecord> records) Prefer the current record-list component table when it identifies one.ProcessExecutorUtils.recordsForCaller(String processName, List<QRecord> records) Copy records before applying current session policy to persisted process results.Methods in com.kingsrook.qqq.middleware.javalin.executors.utils with parameters of type QRecordModifier and TypeMethodDescriptionRecordDeveloperModeUtils.getAssociatedScripts(QTableMetaData table, QRecord record, UnsafeConsumer<AbstractActionInput, QException> sessionSetup) Load the details of each of a table's associated scripts, for a record of that table: the script type, the script the record references (if any) with its revisions (newest first), and the script tester's input and output fields (if the associated script has a tester).static QRecordTableWriteUtils.recordToWrite(String tableName, QRecord record, Map<String, Serializable> recordValues) The record to write: the one the spec read from the request, or one built from plain field values.voidSetter for scriptvoidRecordDeveloperModeUtils.AssociatedScriptDetails.setScriptType(QRecord scriptType) Setter for scriptTypestatic voidTableWriteUtils.throwIfRecordErrors(String verb, String tableName, QRecord outputRecord) Refuse a write whose record came back with errors: a bad request when every error is bad input (for example a missing required value), otherwise a user-facing error - with the legacy message ("Error inserting Person: ...").Method parameters in com.kingsrook.qqq.middleware.javalin.executors.utils with type arguments of type QRecordModifier and TypeMethodDescriptionProcessExecutorUtils.recordsForCaller(String processName, ProcessState state, List<QRecord> records) Prefer the current record-list component table when it identifies one.ProcessExecutorUtils.recordsForCaller(String processName, List<QRecord> records) Copy records before applying current session policy to persisted process results.voidRecordDeveloperModeUtils.AssociatedScriptDetails.setScriptRevisions(List<QRecord> scriptRevisions) Setter for scriptRevisions -
Uses of QRecord in com.kingsrook.qqq.middleware.javalin.health
Methods in com.kingsrook.qqq.middleware.javalin.health that return QRecordModifier and TypeMethodDescriptionprotected QRecordMissing names are 404, including on-demand requests.Methods in com.kingsrook.qqq.middleware.javalin.health that return types with arguments of type QRecordModifier and TypeMethodDescriptionHealthSpecSupport.rows(String table, QQueryFilter filter) Read through standard actions under the caller's session.Methods in com.kingsrook.qqq.middleware.javalin.health with parameters of type QRecordModifier and TypeMethodDescriptionComponent state shared by summary and detail.Project only contract fields; table values have already been redacted. -
Uses of QRecord in com.kingsrook.qqq.middleware.javalin.specs.invoke
Methods in com.kingsrook.qqq.middleware.javalin.specs.invoke that return QRecordMethods in com.kingsrook.qqq.middleware.javalin.specs.invoke that return types with arguments of type QRecord -
Uses of QRecord in com.kingsrook.qqq.middleware.javalin.specs.v1.responses
Methods in com.kingsrook.qqq.middleware.javalin.specs.v1.responses with parameters of type QRecordModifier and TypeMethodDescriptionvoidSetter for recordvoidSetter for recordvoidSetter for recordvoidSetter for recordRecordDeveloperModeResponseV1.withRecord(QRecord record) Fluent setter for recordTableGetResponseV1.withRecord(QRecord record) Fluent setter for recordTableInsertResponseV1.withRecord(QRecord record) Fluent setter for recordTableUpdateResponseV1.withRecord(QRecord record) Fluent setter for recordMethod parameters in com.kingsrook.qqq.middleware.javalin.specs.v1.responses with type arguments of type QRecordModifier and TypeMethodDescriptionvoidProcessRecordsResponseV1.setRecords(List<QRecord> records) Setter for records - converts QRecords to OutputRecords.voidTableQueryResponseV1.setRecords(List<QRecord> records) Setter for recordsvoidRecordAssociatedScriptLogsResponseV1.setScriptLogRecords(List<QRecord> scriptLogRecords) Setter for scriptLogRecordsProcessRecordsResponseV1.withRecords(List<QRecord> records) Fluent setter for recordsTableQueryResponseV1.withRecords(List<QRecord> records) Setter for recordsRecordAssociatedScriptLogsResponseV1.withScriptLogRecords(List<QRecord> scriptLogRecords) Fluent setter for scriptLogRecords -
Uses of QRecord in com.kingsrook.qqq.middleware.javalin.specs.v1.responses.components
Constructors in com.kingsrook.qqq.middleware.javalin.specs.v1.responses.components with parameters of type QRecordModifierConstructorDescriptionOutputRecord(QRecord wrapped) ConstructorOutputRecord(QRecord wrapped, boolean includeEmptyValues) Constructor - with includeEmptyValues, null and empty values stay in the values map (as on the legacy record routes), so a client can tell a cleared field from one it did not receive.