Uses of Class
com.kingsrook.qqq.backend.core.model.metadata.tables.QTableMetaData
Packages that use QTableMetaData
Package
Description
-
Uses of QTableMetaData in com.kingsrook.qqq.api.actions
Methods in com.kingsrook.qqq.api.actions that return QTableMetaDataModifier and TypeMethodDescriptionstatic QTableMetaDataApiImplementation.validateTableAndVersion(ApiInstanceMetaData apiInstanceMetaData, String version, String tableApiName, ApiOperation operation) -
Uses of QTableMetaData in com.kingsrook.qqq.api.model.metadata
Method parameters in com.kingsrook.qqq.api.model.metadata with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionstatic voidApiInstanceMetaDataProvider.defineAll(QInstance qInstance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.api.model.metadata.tables
Methods in com.kingsrook.qqq.api.model.metadata.tables with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidApiTableMetaData.enrich(QInstance qInstance, String apiName, QTableMetaData table) voidApiTableMetaDataContainer.enrich(QInstance qInstance, QTableMetaData table) static ApiTableMetaDataContainerApiTableMetaDataContainer.of(QTableMetaData table) static ApiTableMetaDataContainerApiTableMetaDataContainer.ofOrWithNew(QTableMetaData table) either get the container attached to a table - or create a new one and attach it to the table, and return that.voidApiTableMetaDataContainer.validate(QInstance qInstance, QTableMetaData tableMetaData, QInstanceValidator qInstanceValidator) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.ai
Methods in com.kingsrook.qqq.backend.core.actions.ai with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic DataClassificationAiDataClassifications.highest(QTableMetaData table) The most sensitive classification on the table or any of its fields.static DataClassificationAiDataClassifications.highest(QTableMetaData table, Collection<String> fieldNames) The most sensitive effective classification among the named fields.static AiTableMetaDataAiTableMetaData.of(QTableMetaData table) The AiTableMetaData on a table, or null if it has none.static DataClassificationAiDataClassifications.ofField(QTableMetaData table, String fieldName) The field's classification, falling back to the table's.static AiTableMetaDataAiTableMetaData.ofOrWithNew(QTableMetaData table) The AiTableMetaData on a table - adding a new (empty) one if it has none.static DataClassificationAiDataClassifications.ofTable(QTableMetaData table) The table's own classification, or null if not classified. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.ai.exposure
Methods in com.kingsrook.qqq.backend.core.actions.ai.exposure with parameters of type QTableMetaDataModifier and TypeMethodDescriptionAiExposurePolicy.getFieldExposure(QTableMetaData table, QFieldMetaData field) The effective exposure of a field of a table (capped by the table's).AiExposurePolicy.getFieldExposureReason(QTableMetaData table, QFieldMetaData field) Why a field's exposure is what it is: "metadata" (explicit AiFieldMetaData), "hidden", "password", "field security lock", "table" (capped by its table's exposure) or "default".AiExposurePolicy.getTableExposure(QTableMetaData table) The effective exposure of a table (NONE for a null table).AiExposureChannelPolicy.resolve(QTableMetaData table, QFieldMetaData field) Preserve metadata-only as a reason: the kernel must omit even masked values. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.ai.tools
Methods in com.kingsrook.qqq.backend.core.actions.ai.tools that return QTableMetaDataModifier and TypeMethodDescriptionAiToolContext.personalize(QTableMetaData table) The table as personalized for this session (fields the session may not see removed by any table personalizer).AiToolContext.requireReadableTable(String tableName) The table, if this session may read it through the assistant: it exists, is visible to the session (not DENY_HIDE, allowed by any meta-data action customizer), is exposed (not NONE), and the session has READ on it.Methods in com.kingsrook.qqq.backend.core.actions.ai.tools with parameters of type QTableMetaDataModifier and TypeMethodDescriptionbooleanAiToolContext.canReadTable(QTableMetaData table) Whether the session may read a table through the assistant (same checks as requireReadableTable, without recording or throwing).AiToolContext.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.AiToolContext.getDefaultValueFields(QTableMetaData personalizedTable) The fields whose values may be sent to the model by default: exposure MASKED or VALUES, and not heavy or binary.AiToolContext.getFieldAccessReason(QTableMetaData table, QFieldMetaData field) The reason from the single core decision, used by access reports.AiToolContext.getFieldExposure(QTableMetaData table, QFieldMetaData field) Deprecated.use FieldAccessHelper.getDecision for access decisions.AiToolContext.getNameableFields(QTableMetaData personalizedTable) The fields of a (personalized) table the assistant may name - in filters, sorts and field lists - that is, those whose exposure is not NONE.AiToolContext.getTableExposure(QTableMetaData table) The effective exposure of a table.booleanAiToolContext.hasTablePermission(QTableMetaData table, TablePermissionSubType permissionSubType) Whether the session has a (non-READ) permission on a table.AiToolContext.mask(QTableMetaData table, QFieldMetaData field, String value) Mask a value of a MASKED field (noting the masking in the redactions).AiToolContext.personalize(QTableMetaData table) The table as personalized for this session (fields the session may not see removed by any table personalizer).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 QTableMetaData in com.kingsrook.qqq.backend.core.actions.audits
Methods in com.kingsrook.qqq.backend.core.actions.audits with parameters of type QTableMetaDataModifier 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 DataClassificationAuditValueProtectorInterface.classificationOf(QTableMetaData table, QFieldMetaData field) Override to use an application-owned classification source.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.AuditValueProtectorInterface.protect(QTableMetaData table, QFieldMetaData field, Serializable primaryKey, Serializable oldValue, Serializable newValue, DMLAuditAction.DMLType dmlType) Protect the values in the current action's transaction before audit insertion.static voidAuditShreddedEvent.shreddedDetail(QTableMetaData table, Serializable pk, QFieldMetaData field, String ruleId) Use the transaction in the current context, if any.static voidAuditShreddedEvent.shreddedDetail(QTableMetaData table, Serializable pk, QFieldMetaData field, String ruleId, QBackendTransaction transaction) Write through AuditAction; callers destroying keys pass the same transaction. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.automation
Methods in com.kingsrook.qqq.backend.core.actions.automation with parameters of type QTableMetaDataModifier 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 QTableMetaData in com.kingsrook.qqq.backend.core.actions.automation.polling
Methods in com.kingsrook.qqq.backend.core.actions.automation.polling with parameters of type QTableMetaDataModifier 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).voidPollingAutomationPerTableRunner.processTableInsertOrUpdate(QTableMetaData table, AutomationStatus automationStatus) Query for and process records that have a PENDING_INSERT or PENDING_UPDATE status on a given table. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.collaboration
Methods in com.kingsrook.qqq.backend.core.actions.collaboration with parameters of type QTableMetaDataModifier 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) static voidRecordReferenceSecurityHelper.copyMirroredLocks(QTableMetaData parentTable, QRecord parent, QTableMetaData extension, QRecord row) static FrontendRecordFeaturesRecordFeatureSummaryHelper.frontend(QInstance instance, QTableMetaData table) static booleanRecordFeaturePermissions.hasTableCapability(QTableMetaData table, RecordFeature feature) static voidRecordFeaturePermissions.requireRecordCapability(QTableMetaData table, RecordFeature feature, QRecord parent) static voidRecordFeaturePermissions.requireTableCapability(QTableMetaData table, RecordFeature feature) static ResolvedRecordFeaturesRecordFeaturesResolver.resolve(QInstance instance, QTableMetaData table) Return a defensive copy of a resolution cached until overlay refresh.static QQueryFilterRecordReferenceSecurityHelper.secureFilter(QTableMetaData table, QQueryFilter filter, QBackendTransaction transaction) static RecordFeatureSummaryRecordFeatureSummaryHelper.summarize(QTableMetaData table, QRecord parent) static 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 QTableMetaData in com.kingsrook.qqq.backend.core.actions.customizers
Methods in com.kingsrook.qqq.backend.core.actions.customizers with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic Optional<TableCustomizerInterface> QCodeLoader.getTableCustomizer(QTableMetaData table, String customizerName) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.help
Method parameters in com.kingsrook.qqq.backend.core.actions.help with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionstatic List<HelpTarget> HelpTargetCatalog.collect(QInstance instance, Map<String, QTableMetaData> tables) Use personalized tables for search without changing the shared instance. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.metadata
Methods in com.kingsrook.qqq.backend.core.actions.metadata with parameters of type QTableMetaDataModifier and TypeMethodDescriptionbooleanDefaultNoopMetaDataActionCustomizer.allowTable(MetaDataInput input, QTableMetaData table) booleanMetaDataActionCustomizerInterface.allowTable(MetaDataInput input, QTableMetaData table) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.metadata.personalization
Methods in com.kingsrook.qqq.backend.core.actions.metadata.personalization that return QTableMetaDataModifier and TypeMethodDescriptionstatic QTableMetaDataTableMetaDataPersonalizerAction.execute(AbstractTableActionInput tableActionInput) execute the personalizer, using the table in the tableActionInput param, returning the table that was modified (as a clone!)static QTableMetaDataTableMetaDataPersonalizerAction.execute(AbstractTableActionInput tableActionInput, boolean applyFieldSecurityLocks) Variant of execute that lets the caller (e.g., a core action that has already decided whether permissions are enforced for this call) say whether fields denied to the session by a FieldSecurityLock should be removed from the returned table (in addition to any personalizer changes).TableMetaDataPersonalizerInterface.execute(TableMetaDataPersonalizerInput tableMetaDataPersonalizerInput) It is vitally important that theQTableMetaDatareturned is a clone if it has any changes, to avoid changing the meta data for the whole application! -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.permissions
Methods in com.kingsrook.qqq.backend.core.actions.permissions that return QTableMetaDataModifier and TypeMethodDescriptionstatic QTableMetaDataFieldSecurityLockHelper.removeDeniedFields(QTableMetaData table) Delegate to tier-aware enforcement.Methods in com.kingsrook.qqq.backend.core.actions.permissions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic voidFieldSecurityLockHelper.assertWritesAccessible(QTableMetaData table, List<QRecord> records) Delegate to tier-aware enforcement.FieldSecurityLockHelper.getDeniedFieldNames(QTableMetaData table) Only HIDDEN fields retain the legacy denied-field meaning.static booleanPermissionsHelper.hasTableFeaturePermission(QInstance instance, QSession session, QTableMetaData table, String suffix) Whether the given session may use a table feature permission (registered in TableFeaturePermissionsMetaData) on the given table.static booleanPermissionsHelper.hasTableFeaturePermission(QTableMetaData table, String suffix) Feature permission check for the session in QContext (see the overload).static QTableMetaDataFieldSecurityLockHelper.removeDeniedFields(QTableMetaData table) Delegate to tier-aware enforcement. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess
Methods in com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess that return QTableMetaDataModifier and TypeMethodDescriptionstatic QTableMetaDataFieldAccessHelper.applyToTable(QTableMetaData table) Clone only when restricting metadata; do not expose restricted defaults.Methods in com.kingsrook.qqq.backend.core.actions.permissions.fieldaccess with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic QTableMetaDataFieldAccessHelper.applyToTable(QTableMetaData table) Clone only when restricting metadata; do not expose restricted defaults.static voidFieldAccessHelper.assertWritesAllowed(QTableMetaData table, List<QRecord> records) Refuse supplied values, including explicit null, for non-FULL fields.static booleanFieldAccessHelper.canFilter(QTableMetaData table, String fieldName, QCriteriaOperator operator) Whether the policy permits this filter operator, including enumeration restrictions.static StringClassifiedValues.diagnostic(QTableMetaData table, String fieldName, Object value) Diagnostics use full masks: even an email domain can contain classified data.static StringClassifiedValueTokens.forRecordField(QTableMetaData table, QFieldMetaData field, Serializable pk, Serializable value) Bind a value to the table, field and primary key, preferring a shreddable key.static FieldAccessDecisionFieldAccessHelper.getDecision(QTableMetaData table, QFieldMetaData field) Combine locks, cached resolver decisions and the channel ceiling.static FieldAccessTierFieldAccessHelper.getTier(QTableMetaData table, String fieldName) Effective access for a real or virtual field.static Map<String, FieldAccessTier> FieldAccessHelper.getTiers(QTableMetaData table) Access for real and virtual fields, in metadata order.static booleanClassifiedValues.isClassified(QTableMetaData table, String fieldName) Whether this field must be protected in durable output.static booleanFieldAccessHelper.isRecordLabelFullAccess(QTableMetaData table) Labels must contain only fields that are fully readable.FieldAccessChannelPolicyInterface.resolve(QTableMetaData table, QFieldMetaData field) Resolve this channel's default access to a field for the current session.FieldAccessResolverInterface.resolve(QTableMetaData table, QFieldMetaData field) Resolve using the current QContext session.static booleanClassifiedValueTokens.verifyRecordField(QTableMetaData table, QFieldMetaData field, Serializable pk, Serializable candidate, String token) Verify only keyed tokens, using existing keys and constant-time MAC comparison. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.reporting
Method parameters in com.kingsrook.qqq.backend.core.actions.reporting with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidExportsFullInstanceVerifier.verify(Collection<QTableMetaData> tables) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.tables
Methods in com.kingsrook.qqq.backend.core.actions.tables with parameters of type QTableMetaDataModifier and TypeMethodDescriptionbooleanRecordSearchProviderInterface.claimsTable(QTableMetaData table) Whether this provider searches this table (rather than the default search). -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.tables.helpers
Methods in com.kingsrook.qqq.backend.core.actions.tables.helpers that return QTableMetaDataModifier and TypeMethodDescriptionstatic QTableMetaDataAssociatedRecordDiscovery.physicalParentTable(QTableMetaData active) Retain the active write graph and routing while privately restoring physical fields removed from display metadata.Methods in com.kingsrook.qqq.backend.core.actions.tables.helpers with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic booleanValidateRecordSecurityLockHelper.allowedToReadRecord(QTableMetaData table, QRecord record, QSession qSession, QBackendTransaction transaction) return boolean if given session can read given recordstatic 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.UniqueKeyLookup.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.static List<Serializable> AssociatedRecordDiscovery.findPrimaryKeys(QTableMetaData parentTable, Association association, List<AssociatedRecordDiscovery.Parent> parents, QBackendTransaction transaction) Resolve only the supplied parent's declared association and relationship 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 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) static QueryStatQueryStatManager.newQueryStat(QBackendMetaData backend, QTableMetaData table, QQueryFilter filter, String backendActionName) static QTableMetaDataAssociatedRecordDiscovery.physicalParentTable(QTableMetaData active) Retain the active write graph and routing while privately restoring physical fields removed from display metadata.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 ObjectAssociatedRecordUpdate.primaryKey(QTableMetaData table, QRecord record) Typed Java bookkeeping for exact target identifiers, including numeric scale.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.static AssociationJoinAssociationJoin.resolve(QTableMetaData parentTable, Association association) Resolve the supplied parent's declared graph, including personalized metadata.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. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.tables.picker
Methods in com.kingsrook.qqq.backend.core.actions.tables.picker that return QTableMetaDataModifier and TypeMethodDescriptionRelatedRecordPickerAction.Resolved.getChildTable()The child (or join) table of the association (null for SINGLE).RelatedRecordPickerAction.Resolved.getTable()The table that owns the picker.RelatedRecordPickerAction.Resolved.getTargetTable()The table the picker chooses records of.Methods in com.kingsrook.qqq.backend.core.actions.tables.picker with parameters of type QTableMetaDataModifier and TypeMethodDescriptionRelatedRecordPickerAction.resolve(QInstance qInstance, QTableMetaData table, QRelatedRecordPicker picker) Resolve a picker's tables and join fields, or null when the metadata does not resolve (the validator reports why). -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.tables.query
Methods in com.kingsrook.qqq.backend.core.actions.tables.query with parameters of type QTableMetaDataModifier and TypeMethodDescriptionVirtualFieldCriteriaExpanderInterface.expand(QTableMetaData table, QFilterCriteria criteria, CriteriaExpansionContext context) Expand one criterion, preserving its semantics as a nested filter.VirtualFieldCriteriaExpanderInterface.expandSearchTerm(QTableMetaData table, String term, SearchTermKind kind, CriteriaExpansionContext context) Return a matching filter, or null when this field does not match the term. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.actions.values
Methods in com.kingsrook.qqq.backend.core.actions.values with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic QFilterCriteriaValueBehaviorApplier.apply(QFilterCriteria criteria, QInstance instance, QTableMetaData table, QFieldMetaData field, FieldFilterBehavior<?> filterBehavior) static voidValueBehaviorApplier.applyFieldBehaviors(ValueBehaviorApplier.Action action, QInstance instance, QTableMetaData table, List<QRecord> recordList, Set<FieldBehavior<?>> behaviorsToOmit) static QQueryFilterValueBehaviorApplier.applyFieldBehaviorsToFilter(QInstance instance, QTableMetaData table, QQueryFilter filter, Set<FieldBehavior<?>> behaviorsToOmit) apply field behaviors (of FieldFilterBehavior type) to a QQueryFilter.static StringQValueFormatter.formatRecordLabel(QTableMetaData table, QRecord record) Make a string from a table's recordLabelFormat and fields, for a given record.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.setDisplayValuesInRecord(QTableMetaData table, Map<String, QFieldMetaData> fields, QRecord record) For a single record, set its display values - public version of this.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 QTableMetaData in com.kingsrook.qqq.backend.core.adapters
Methods in com.kingsrook.qqq.backend.core.adapters that return QTableMetaDataMethods in com.kingsrook.qqq.backend.core.adapters with parameters of type QTableMetaDataModifier 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.CsvToQRecordAdapter.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.QRecordToCsvAdapter.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.voidCsvToQRecordAdapter.InputWrapper.setTable(QTableMetaData table) Setter for tableCsvToQRecordAdapter.InputWrapper.withTable(QTableMetaData table) Fluent setter for table -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.health
Method parameters in com.kingsrook.qqq.backend.core.health with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidHealthMetaDataProvider.defineAll(QInstance qInstance, String backendName, Consumer<QTableMetaData> enricher) Install metadata on the application's chosen backend. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.instances
Methods in com.kingsrook.qqq.backend.core.instances with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidQInstanceEnricher.defineTableBulkEditWithFile(QInstance qInstance, QTableMetaData table, String processName) voidQInstanceEnricher.defineTableBulkInsert(QInstance qInstance, QTableMetaData table, String processName) voidQInstanceEnricher.enrichTable(QTableMetaData table) static voidQInstanceEnricher.setInferredFieldBackendNames(QTableMetaData tableMetaData) for all fields in a table, set their backendName, using the default "inference" logic seeQInstanceEnricher.inferBackendName(String)voidQInstanceValidator.validateQueryFilter(QInstance qInstance, String context, QTableMetaData table, QQueryFilter queryFilter, List<QueryJoin> queryJoins) voidQInstanceValidator.validateRuntimeTable(QInstance instance, QTableMetaData table) Validate a runtime replacement without changing instance validation state.Method parameters in com.kingsrook.qqq.backend.core.instances with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidQInstanceValidator.replaceRuntimeTables(QInstance instance, Map<String, QTableMetaData> replacements) Publish validated replacements as one map snapshot, preserving instance state.voidQInstanceValidator.validateField(QInstance qInstance, String prefix, Optional<QTableMetaData> table, QFieldMetaData field) run validation on a field - optionally within the context of a table. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.instances.loaders.implementations
Subclasses with type arguments of type QTableMetaData in com.kingsrook.qqq.backend.core.instances.loaders.implementationsMethods in com.kingsrook.qqq.backend.core.instances.loaders.implementations that return QTableMetaDataModifier and TypeMethodDescriptionQTableMetaDataLoader.mapToMetaDataObject(QInstance qInstance, Map<String, Object> map, LoadingContext context) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.jobs
Methods in com.kingsrook.qqq.backend.core.jobs that return QTableMetaDataModifier and TypeMethodDescriptionDurableJobsMetaDataProvider.defineChunkTable(String backendName) jobs_chunk: the unit of work a worker leases.DurableJobsMetaDataProvider.defineEffectTable(String backendName) jobs_effect: the transactional outbox of side effects outside the job's database (spec section 2.13).DurableJobsMetaDataProvider.defineEventTable(String backendName) jobs_event: the timeline of a job.DurableJobsMetaDataProvider.defineJobTable(String backendName) jobs_job: one row per durable job.DurableJobsMetaDataProvider.defineLogTable(String backendName) Append-only redacted log, secured through the parent job.DurableJobsMetaDataProvider.defineRowErrorTable(String backendName) jobs_row_error: which rows failed and why.DurableJobsMetaDataProvider.defineUploadTable(String backendName) jobs_upload: files uploaded through POST /uploads (the bytes live in the uploads storage table; this row is the opaque ref, its owner and expiry).DurableJobsMetaDataProvider.defineWorkerTable(String backendName) jobs_worker: which pods run jobs.Methods in com.kingsrook.qqq.backend.core.jobs that return types with arguments of type QTableMetaDataModifier and TypeMethodDescriptionstatic Consumer<QTableMetaData> DurableJobsMetaDataProvider.snakeCaseColumnNames()A backend-detail enricher that maps every field to a snake_case column (rowsDone -> rows_done), for databases whose schema uses snake_case.Methods in com.kingsrook.qqq.backend.core.jobs with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic DurableTableMetaDataDurableTableMetaData.of(QTableMetaData table) The durable settings on a table, or null.voidDurableTableMetaData.validate(QInstance qInstance, QTableMetaData table, QInstanceValidator validator) A declared row key must be a string protected by its own unique key.Method parameters in com.kingsrook.qqq.backend.core.jobs with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidDurableJobsMetaDataProvider.defineAll(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) Add every durable-jobs table, join, possible-value source, security key type and control process to the instance. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.actions
Methods in com.kingsrook.qqq.backend.core.model.actions that return QTableMetaDataModifier and TypeMethodDescriptionAbstractTableActionInput.getTable()AbstractTableActionInput.getTableMetaData()Getter for tableMetaDataMethods in com.kingsrook.qqq.backend.core.model.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidAbstractTableActionInput.setTableMetaData(QTableMetaData tableMetaData) Setter for tableMetaDataAbstractTableActionInput.withTableMetaData(QTableMetaData tableMetaData) Fluent setter for tableMetaData -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.actions.audits
Methods in com.kingsrook.qqq.backend.core.model.actions.audits with parameters of type QTableMetaDataModifier and TypeMethodDescriptionAuditSingleInput.forRecord(QTableMetaData table, QRecord record) Populate this input from a table and record, extracting the primary key and security key values.Constructors in com.kingsrook.qqq.backend.core.model.actions.audits with parameters of type QTableMetaDataModifierConstructorDescriptionAuditSingleInput(QTableMetaData table, QRecord record, String auditMessage) Constructor -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.actions.metadata.personalization
Methods in com.kingsrook.qqq.backend.core.model.actions.metadata.personalization that return QTableMetaDataMethods in com.kingsrook.qqq.backend.core.model.actions.metadata.personalization with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidTableMetaDataPersonalizerOutput.setTable(QTableMetaData table) Setter for tableTableMetaDataPersonalizerOutput.withTable(QTableMetaData table) Fluent setter for tableTableMetaDataPersonalizerInput.withTableMetaData(QTableMetaData tableMetaData) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.actions.processes
Methods in com.kingsrook.qqq.backend.core.model.actions.processes that return QTableMetaData -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.actions.tables
Methods in com.kingsrook.qqq.backend.core.model.actions.tables that return QTableMetaData -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.actions.tables.query
Methods in com.kingsrook.qqq.backend.core.model.actions.tables.query that return QTableMetaDataModifier and TypeMethodDescriptionMetadata resolved for this query.Methods in com.kingsrook.qqq.backend.core.model.actions.tables.query with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidRawReadReason.checkPermission(QueryInput queryInput, QTableMetaData table) Check that the current session may do this raw read of the given table. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.audits
Method parameters in com.kingsrook.qqq.backend.core.model.audits with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidAuditsMetaDataProvider.defineAll(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) voidAuditsMetaDataProvider.defineStandardAuditTables(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.backends
Methods in com.kingsrook.qqq.backend.core.model.backends that return QTableMetaDataModifier and TypeMethodDescriptionQQQBackendsMetaDataProvider.defineQQQBackend(String backendName, Consumer<QTableMetaData> backendDetailEnricher) QQQBackendsMetaDataProvider.defineQQQBackendCache(String backendName, Consumer<QTableMetaData> backendDetailEnricher) Method parameters in com.kingsrook.qqq.backend.core.model.backends with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidQQQBackendsMetaDataProvider.defineAll(QInstance instance, String persistentBackendName, String cacheBackendName, Consumer<QTableMetaData> backendDetailEnricher) QQQBackendsMetaDataProvider.defineQQQBackend(String backendName, Consumer<QTableMetaData> backendDetailEnricher) QQQBackendsMetaDataProvider.defineQQQBackendCache(String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.dashboard.widgets
Methods in com.kingsrook.qqq.backend.core.model.dashboard.widgets that return QTableMetaDataModifier and TypeMethodDescriptionChildRecordListData.getChildTableMetaData()Getter for childTableMetaDataMethods in com.kingsrook.qqq.backend.core.model.dashboard.widgets with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidChildRecordListData.setChildTableMetaData(QTableMetaData childTableMetaData) Setter for childTableMetaDataChildRecordListData.withChildTableMetaData(QTableMetaData childTableMetaData) Fluent setter for childTableMetaDataConstructors in com.kingsrook.qqq.backend.core.model.dashboard.widgets with parameters of type QTableMetaDataModifierConstructorDescriptionChildRecordListData(String title, QueryOutput queryOutput, QTableMetaData childTableMetaData, String tablePath, String viewAllLink, Integer totalRows) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.data
Methods in com.kingsrook.qqq.backend.core.model.data with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidQRecord.capturePrimaryKey(QTableMetaData table, Serializable primaryKey) Preserve an internal identity separately from its current presentation.static voidQRecordEntity.registerTable(Class<? extends QRecordEntity> entityClass, QTableMetaData table) register a mapping between an entity class and a table that it is associated with.QRecord.resolvePrimaryKey(QTableMetaData table) Resolve an operational key without restoring it to values or displayValues.Constructors in com.kingsrook.qqq.backend.core.model.data with parameters of type QTableMetaDataModifierConstructorDescriptionQRecord(QTableMetaData tableMetaData, Serializable primaryKeyValue) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.developer
Methods in com.kingsrook.qqq.backend.core.model.developer that return QTableMetaDataMethods in com.kingsrook.qqq.backend.core.model.developer with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidDeveloperPanelContext.setTable(QTableMetaData table) Setter for tableDeveloperPanelContext.withTable(QTableMetaData table) Fluent setter for table -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.helpcontent
Method parameters in com.kingsrook.qqq.backend.core.model.helpcontent with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidHelpContentMetaDataProvider.defineAll(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata
Methods in com.kingsrook.qqq.backend.core.model.metadata that return QTableMetaDataMethods in com.kingsrook.qqq.backend.core.model.metadata that return types with arguments of type QTableMetaDataModifier and TypeMethodDescriptionMetaDataProducerHelper.getTableMetaDataCustomizer()Getter for tableMetaDataCustomizerQInstance.getTables()Getter for tablesMethods in com.kingsrook.qqq.backend.core.model.metadata with parameters of type QTableMetaDataMethod parameters in com.kingsrook.qqq.backend.core.model.metadata with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionstatic voidMetaDataProducerHelper.processAllMetaDataProducersInPackage(QInstance instance, String packageName, MetaDataCustomizerInterface<QTableMetaData> tableMetaDataCustomizer) Recursively find all classes in the given package, that implement MetaDataProducerInterface run them, and add their output to the given qInstance - using the provided tableMetaDataCustomizer to help with all RecordEntity's that are configured to make tables.voidQInstance.replaceTables(Map<String, QTableMetaData> replacements, QInstanceValidationKey key) Replace existing, validated tables atomically; keep startup validation state.voidMetaDataProducerHelper.setTableMetaDataCustomizer(MetaDataCustomizerInterface<QTableMetaData> tableMetaDataCustomizer) Setter for tableMetaDataCustomizervoidQInstance.setTables(Map<String, QTableMetaData> tables) Setter for tablesvoidMetaDataProducerHelper.withTableMetaDataCustomizer(MetaDataCustomizerInterface<QTableMetaData> tableMetaDataCustomizer) Fluent setter for tableMetaDataCustomizer -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.authentication
Methods in com.kingsrook.qqq.backend.core.model.metadata.authentication that return QTableMetaDataModifier and TypeMethodDescriptionTableBasedAuthenticationMetaData.defineStandardSessionTable(String backendName) TableBasedAuthenticationMetaData.defineStandardUserTable(String backendName) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.collaboration
Methods in com.kingsrook.qqq.backend.core.model.metadata.collaboration with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic RecordFeaturesMetaDataRecordFeaturesMetaData.of(QTableMetaData table) static RecordFeaturesTableMetaDataRecordFeaturesTableMetaData.of(QTableMetaData object) static RecordReferenceTableMetaDataRecordReferenceTableMetaData.of(QTableMetaData table) static RecordFeaturesMetaDataRecordFeaturesMetaData.ofOrWithNew(QTableMetaData table) static RecordFeaturesTableMetaDataRecordFeaturesTableMetaData.ofOrWithNew(QTableMetaData object) static RecordReferenceTableMetaDataRecordReferenceTableMetaData.ofOrWithNew(QTableMetaData table) voidRecordFeaturesAppMetaData.validate(QInstance instance, QTableMetaData table, QInstanceValidator validator) voidRecordFeaturesTableMetaData.validate(QInstance instance, QTableMetaData table, QInstanceValidator validator) voidRecordReferenceTableMetaData.validate(QInstance instance, QTableMetaData table, QInstanceValidator validator) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.fields
Methods in com.kingsrook.qqq.backend.core.model.metadata.fields that return QTableMetaDataModifier and TypeMethodDescriptionFieldAndJoinTable.joinTable()Returns the value of thejoinTablerecord component.Methods in com.kingsrook.qqq.backend.core.model.metadata.fields with parameters of type QTableMetaDataModifier 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) CaseChangeBehavior.applyToFilterCriteriaValue(Serializable value, QInstance instance, QTableMetaData table, QFieldMetaData field) FieldFilterBehavior.applyToFilterCriteriaValue(Serializable value, QInstance instance, QTableMetaData table, QFieldMetaData field) Apply the filter to a value from a criteria.WhiteSpaceBehavior.applyToFilterCriteriaValue(Serializable value, QInstance instance, QTableMetaData table, QFieldMetaData field) static FieldAndJoinTableFieldAndJoinTable.get(QTableMetaData mainTable, String fieldName) given a table, and a field-name string (which should either be the name of a field on that table, or another tableName + "." + fieldName (from that table) - get back the pair of table invalid input: '&' field metaData that the input string is talking about.static FieldAndJoinTableFieldAndJoinTable.get(QTableMetaData mainTable, String fieldName, Collection<QueryJoin> queryJoins, boolean allowVirtualFields) given a table, and a field-name string (which should either be the name of a field on that table, or another tableName + "." + fieldName (from that table - or an alias insteaad of tableName) - get back the pair of table invalid input: '&' field metaData that the input string is talking about.FieldAndJoinTable.getLabel(QTableMetaData mainTable) CaseChangeBehavior.validateBehaviorConfiguration(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) CronExpressionDisplayValueBehavior.validateBehaviorConfiguration(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) DateTimeDisplayValueBehavior.validateBehaviorConfiguration(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) FieldBehavior.validateBehaviorConfiguration(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) allow this behavior to be validated during QInstance validation.ValueRangeBehavior.validateBehaviorConfiguration(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) WhiteSpaceBehavior.validateBehaviorConfiguration(QTableMetaData tableMetaData, QFieldMetaData fieldMetaData) Constructors in com.kingsrook.qqq.backend.core.model.metadata.fields with parameters of type QTableMetaDataModifierConstructorDescriptionFieldAndJoinTable(QFieldMetaData field, QTableMetaData joinTable) Creates an instance of aFieldAndJoinTablerecord class. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.frontend
Constructors in com.kingsrook.qqq.backend.core.model.metadata.frontend with parameters of type QTableMetaDataModifierConstructorDescriptionQFrontendTableMetaData(AbstractActionInput actionInput, QBackendMetaData backendForTable, QTableMetaData tableMetaData, boolean includeFullMetaData, boolean includeJoins) standard constructor - uses all fields on the table.QFrontendTableMetaData(AbstractActionInput actionInput, QBackendMetaData backendForTable, QTableMetaData tableMetaData, boolean includeFullMetaData, boolean includeJoins, Map<String, QFieldMetaData> overrideFields) alternative constructor - takes a map of fields to use (e.g., for an old api version of the table w/ different fields!) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.layout
Methods in com.kingsrook.qqq.backend.core.model.metadata.layout with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidQSupplementalAppMetaData.enrich(QInstance qInstance, QTableMetaData table) voidQSupplementalAppMetaData.validate(QInstance qInstance, QTableMetaData tableMetaData, QInstanceValidator qInstanceValidator) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.permissions
Methods in com.kingsrook.qqq.backend.core.model.metadata.permissions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionTableFeatureImplication.impliedBy(QInstance instance, QTableMetaData table) Null means explicit grant only.booleanTableFeaturePredicate.test(QInstance instance, QTableMetaData table) Whether this permission applies to the table. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.producers
Classes in com.kingsrook.qqq.backend.core.model.metadata.producers that implement interfaces with type arguments of type QTableMetaDataModifier and TypeClassDescriptionclassGeneric meta-data-producer, which should be instantiated (e.g., by MetaDataProducerHelper), to produce a QPossibleValueSource meta-data based on a QRecordEntity class (which has corresponding QTableMetaData).Methods in com.kingsrook.qqq.backend.core.model.metadata.producers that return QTableMetaDataModifier and TypeMethodDescriptionMethods in com.kingsrook.qqq.backend.core.model.metadata.producers that return types with arguments of type QTableMetaDataModifier and TypeMethodDescriptionRecordEntityToTableGenericMetaDataProducer.getDefaultMetaDataCustomizer()Getter for defaultMetaDataCustomizerMethod parameters in com.kingsrook.qqq.backend.core.model.metadata.producers with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidRecordEntityToTableGenericMetaDataProducer.addRecordEntityTableMetaDataProductionCustomizer(MetaDataCustomizerInterface<QTableMetaData> metaDataMetaDataCustomizer) static voidRecordEntityToTableGenericMetaDataProducer.setDefaultMetaDataCustomizer(MetaDataCustomizerInterface<QTableMetaData> defaultMetaDataCustomizer) Setter for defaultMetaDataCustomizer -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.qbits
Methods in com.kingsrook.qqq.backend.core.model.metadata.qbits that return types with arguments of type QTableMetaData -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.sharing
Methods in com.kingsrook.qqq.backend.core.model.metadata.sharing with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidShareableTableMetaData.validate(QInstance qInstance, QTableMetaData tableMetaData, QInstanceValidator qInstanceValidator) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.tables
Subclasses with type arguments of type QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.tablesModifier and TypeClassDescriptionclasspossible-value source provider for the `Tables` PVS - a list of all tables in an application/qInstance.Methods in com.kingsrook.qqq.backend.core.model.metadata.tables that return QTableMetaDataModifier and TypeMethodDescriptionQTableMetaData.clone()protected QTableMetaDataTablesCustomPossibleValueProvider.getSourceObject(Serializable id) QTableMetaData.withAssociatedScript(AssociatedScript associatedScript) Fluent setter for associatedScriptsQTableMetaData.withAssociatedScripts(List<AssociatedScript> associatedScripts) Fluent setter for associatedScriptsQTableMetaData.withAssociation(Association association) Fluent setter for associationsQTableMetaData.withAssociations(List<Association> associations) Fluent setter for associationsQTableMetaData.withAuditRules(QAuditRules auditRules) Fluent setter for auditRulesQTableMetaData.withAutomationDetails(QTableAutomationDetails automationDetails) Fluent Setter for automationDetailsQTableMetaData.withBackendDetails(QTableBackendDetails backendDetails) Fluent Setter for backendDetailsQTableMetaData.withBackendName(String backendName) QTableMetaData.withCacheOf(CacheOf cacheOf) Fluent setter for cacheOfQTableMetaData.withCapabilities(Capability... enabledCapabilities) Fluent setter for enabledCapabilitiesQTableMetaData.withCapabilities(Set<Capability> enabledCapabilities) Alternative fluent setter for enabledCapabilitiesQTableMetaData.withCapability(Capability capability) Alternative fluent setter for a single enabledCapabilitiesQTableMetaData.withCustomizer(TableCustomizers tableCustomizer, QCodeReference customizer) QTableMetaData.withCustomizer(String role, QCodeReference customizer) QTableMetaData.withCustomizers(Map<String, QCodeReference> customizers) QTableMetaData.withDisabledCapabilities(Set<Capability> disabledCapabilities) Fluent setter for disabledCapabilitiesQTableMetaData.withEnabledCapabilities(Set<Capability> enabledCapabilities) Fluent setter for enabledCapabilitiesQTableMetaData.withExposedJoin(ExposedJoin exposedJoin) Fluent setter for exposedJoinsQTableMetaData.withExposedJoins(List<ExposedJoin> exposedJoins) Fluent setter for exposedJoinsQTableMetaData.withField(QFieldMetaData field) QTableMetaData.withFields(List<QFieldMetaData> fields) QTableMetaData.withFields(Map<String, QFieldMetaData> fields) QTableMetaData.withFieldsFromEntity(Class<? extends QRecordEntity> entityClass) QTableMetaData.withHelpContent(String slot, QHelpContent helpContent) Fluent setter for adding 1 helpContent (for a slot)QTableMetaData.withHelpContent(Map<String, List<QHelpContent>> helpContent) Fluent setter for helpContentFluent setter for iconQTableMetaData.withIsHidden(boolean isHidden) Fluent Setter for isHiddenFluently add a single menuFluent setter for menusQTableMetaData.withoutCapabilities(Capability... disabledCapabilities) Fluent setter for disabledCapabilitiesQTableMetaData.withoutCapabilities(Set<Capability> disabledCapabilities) Alternative fluent setter for disabledCapabilitiesQTableMetaData.withoutCapability(Capability capability) Alternative fluent setter for a single disabledCapabilitiesQTableMetaData.withPermissionRules(QPermissionRules permissionRules) Fluent setter for permissionRulesQTableMetaData.withPrimaryKeyField(String primaryKeyField) QTableMetaData.withQuickCreateSectionName(String quickCreateSectionName) Fluent setter for quickCreateSectionNameQTableMetaData.withRecordLabelFields(String... recordLabelFields) Fluent setter for recordLabelFieldsQTableMetaData.withRecordLabelFields(List<String> recordLabelFields) Fluent setter for recordLabelFieldsQTableMetaData.withRecordLabelFormat(String recordLabelFormat) Fluent setter for recordLabelFormatQTableMetaData.withRecordLabelFormatAndFields(String format, String... fields) fluent setter for both recordLabelFormat and recordLabelFieldsQTableMetaData.withRecordSecurityLock(RecordSecurityLock recordSecurityLock) Fluent setter for recordSecurityLocksQTableMetaData.withRecordSecurityLocks(List<RecordSecurityLock> recordSecurityLocks) Fluent setter for recordSecurityLocksQTableMetaData.withRecordVersionField(String recordVersionField) Fluent setter for recordVersionFieldQTableMetaData.withRelatedRecordPicker(QRelatedRecordPicker relatedRecordPicker) Add a related-record picker (keyed by its name).QTableMetaData.withRelatedRecordPickers(Map<String, QRelatedRecordPicker> relatedRecordPickers) Fluent setter for relatedRecordPickersQTableMetaData.withSearchFields(String... searchFields) Fluent setter for searchFieldsQTableMetaData.withSearchFields(List<String> searchFields) Fluent setter for searchFieldsQTableMetaData.withSection(QFieldSection fieldSection) QTableMetaData.withSectionOfFields(QFieldSection fieldSection, QFieldMetaData... fields) Fluently add a section and fields in that section.QTableMetaData.withSections(List<QFieldSection> fieldSections) Fluent setter for sectionsQTableMetaData.withShareableTableMetaData(ShareableTableMetaData shareableTableMetaData) Fluent setter for shareableTableMetaDataQTableMetaData.withSourceQBitName(String sourceQBitName) Fluent setter for sourceQBitNameQTableMetaData.withSupplementalMetaData(QSupplementalTableMetaData supplementalMetaData) Fluent setter for supplementalMetaDataQTableMetaData.withSupplementalMetaData(Map<String, QSupplementalTableMetaData> supplementalMetaData) Fluent setter for supplementalMetaDataQTableMetaData.withUniqueKey(UniqueKey uniqueKey) Fluent setter for uniqueKeysQTableMetaData.withUniqueKeys(List<UniqueKey> uniqueKeys) Fluent setter for uniqueKeysQTableMetaData.withVirtualField(QVirtualFieldMetaData virtualField) QTableMetaData.withVirtualFields(List<QVirtualFieldMetaData> virtualFields) QTableMetaData.withVirtualFields(Map<String, QVirtualFieldMetaData> virtualFields) Fluent setter for virtualFieldsMethods in com.kingsrook.qqq.backend.core.model.metadata.tables that return types with arguments of type QTableMetaDataModifier and TypeMethodDescriptionprotected List<QTableMetaData> TablesCustomPossibleValueProvider.getAllSourceObjects()Methods in com.kingsrook.qqq.backend.core.model.metadata.tables with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidQSupplementalTableMetaData.enrich(QInstance qInstance, QTableMetaData table) UniqueKey.getDescription(QTableMetaData table) protected booleanTablesCustomPossibleValueProvider.isTableAllowed(QTableMetaData table) protected QPossibleValue<String> TablesCustomPossibleValueProvider.makePossibleValue(QTableMetaData sourceObject) protected static <S extends QSupplementalTableMetaData>
SQSupplementalTableMetaData.of(QTableMetaData table, String type) Return the supplemental table meta data object assigned to the input table under the given type.static TableSchemaFingerprintTableSchemaFingerprint.of(QTableMetaData table) Fingerprint a table.static TableSchemaFingerprintTableSchemaFingerprint.of(QTableMetaData table, String backendType) Fingerprint a table, with an explicit backend type.protected static <S extends QSupplementalTableMetaData>
SQSupplementalTableMetaData.ofOrWithNew(QTableMetaData table, String type, Supplier<S> supplier) Return the supplemental table meta data object assigned to the input table under the given type - but also - if no object is assigned, create a new one by running the input supplier, and then assign that one to the table (that's the "withNew" part of the method namevoidQSupplementalTableMetaData.validate(QInstance qInstance, QTableMetaData tableMetaData, QInstanceValidator qInstanceValidator) voidQTableBackendDetails.validate(QInstance qInstance, QTableMetaData table, QInstanceValidator qInstanceValidator) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.metadata.tables.automation
Methods in com.kingsrook.qqq.backend.core.model.metadata.tables.automation with parameters of type QTableMetaDataModifier and TypeMethodDescriptionprotected booleanTablesSupportingAutomationsCustomPossibleValueProvider.isTableAllowed(QTableMetaData table) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.processes
Methods in com.kingsrook.qqq.backend.core.model.processes that return QTableMetaDataModifier and TypeMethodDescriptionQQQProcessesMetaDataProvider.defineQQQProcess(String backendName, Consumer<QTableMetaData> backendDetailEnricher) QQQProcessesMetaDataProvider.defineQQQProcessCache(String backendName, Consumer<QTableMetaData> backendDetailEnricher) Method parameters in com.kingsrook.qqq.backend.core.model.processes with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidQQQProcessesMetaDataProvider.defineAll(QInstance instance, String persistentBackendName, String cacheBackendName, Consumer<QTableMetaData> backendDetailEnricher) QQQProcessesMetaDataProvider.defineQQQProcess(String backendName, Consumer<QTableMetaData> backendDetailEnricher) QQQProcessesMetaDataProvider.defineQQQProcessCache(String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.querystats
Method parameters in com.kingsrook.qqq.backend.core.model.querystats with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidQueryStatMetaDataProvider.defineAll(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.savedbulkloadprofiles
Methods in com.kingsrook.qqq.backend.core.model.savedbulkloadprofiles that return QTableMetaDataModifier and TypeMethodDescriptionSavedBulkLoadProfileMetaDataProvider.defineSavedBulkLoadProfileTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) SavedBulkLoadProfileMetaDataProvider.defineSharedSavedBulkLoadProfileTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) Methods in com.kingsrook.qqq.backend.core.model.savedbulkloadprofiles with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidSavedBulkLoadProfileJsonFieldDisplayValueFormatter.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) Method parameters in com.kingsrook.qqq.backend.core.model.savedbulkloadprofiles with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidSavedBulkLoadProfileMetaDataProvider.defineAll(QInstance instance, String recordTablesBackendName, Consumer<QTableMetaData> backendDetailEnricher) SavedBulkLoadProfileMetaDataProvider.defineSavedBulkLoadProfileTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) SavedBulkLoadProfileMetaDataProvider.defineSharedSavedBulkLoadProfileTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.savedreports
Methods in com.kingsrook.qqq.backend.core.model.savedreports that return QTableMetaDataModifier and TypeMethodDescriptionSavedReportsMetaDataProvider.defineSavedReportTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) SavedReportsMetaDataProvider.defineSharedSavedReportTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) Methods in com.kingsrook.qqq.backend.core.model.savedreports with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidSavedReportJsonFieldDisplayValueFormatter.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) 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.Method parameters in com.kingsrook.qqq.backend.core.model.savedreports with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidSavedReportsMetaDataProvider.defineAll(QInstance instance, String recordTablesBackendName, String reportStorageBackendName, Consumer<QTableMetaData> backendDetailEnricher) SavedReportsMetaDataProvider.defineSavedReportTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) SavedReportsMetaDataProvider.defineSharedSavedReportTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.savedviews
Methods in com.kingsrook.qqq.backend.core.model.savedviews that return QTableMetaDataModifier and TypeMethodDescriptionSavedViewsMetaDataProvider.defineSavedViewTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) SavedViewsMetaDataProvider.defineSharedSavedViewTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) Method parameters in com.kingsrook.qqq.backend.core.model.savedviews with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidSavedViewsMetaDataProvider.defineAll(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) SavedViewsMetaDataProvider.defineSavedViewTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) SavedViewsMetaDataProvider.defineSharedSavedViewTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.scheduledjobs
Method parameters in com.kingsrook.qqq.backend.core.model.scheduledjobs with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidScheduledJobsMetaDataProvider.defineAll(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) voidScheduledJobsMetaDataProvider.defineStandardTables(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.scripts
Methods in com.kingsrook.qqq.backend.core.model.scripts that return QTableMetaDataModifier and TypeMethodDescriptionScriptsMetaDataProvider.defineTableTriggerTable(String backendName) Method parameters in com.kingsrook.qqq.backend.core.model.scripts with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidScriptsMetaDataProvider.defineAll(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) voidScriptsMetaDataProvider.defineStandardScriptsTables(QInstance instance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.model.tables
Methods in com.kingsrook.qqq.backend.core.model.tables that return QTableMetaDataModifier and TypeMethodDescriptionQQQTablesMetaDataProvider.defineQQQTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) QQQTablesMetaDataProvider.defineQQQTableCache(String backendName, Consumer<QTableMetaData> backendDetailEnricher) Method parameters in com.kingsrook.qqq.backend.core.model.tables with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidQQQTablesMetaDataProvider.defineAll(QInstance instance, String persistentBackendName, String cacheBackendName, Consumer<QTableMetaData> backendDetailEnricher) QQQTablesMetaDataProvider.defineQQQTable(String backendName, Consumer<QTableMetaData> backendDetailEnricher) QQQTablesMetaDataProvider.defineQQQTableCache(String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.modules.authentication.implementations.metadata
Subclasses with type arguments of type QTableMetaData in com.kingsrook.qqq.backend.core.modules.authentication.implementations.metadataModifier and TypeClassDescriptionclassMeta Data Producer for RedirectState tableclassMeta Data Producer for UserSessionclassMeta Data Producer for UserSessionRefreshToken.Methods in com.kingsrook.qqq.backend.core.modules.authentication.implementations.metadata that return QTableMetaDataModifier and TypeMethodDescription -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.modules.backend
Method parameters in com.kingsrook.qqq.backend.core.modules.backend with type arguments of type QTableMetaDataModifier and TypeMethodDescriptiondefault List<SequenceResyncResult> QBackendModuleInterface.resyncKeySequences(QBackendMetaData backend, Collection<QTableMetaData> tables) Advance each table's generated-key sequence past the largest key now in the table, so the next generated insert gets max+1. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.modules.backend.implementations.memory
Methods in com.kingsrook.qqq.backend.core.modules.backend.implementations.memory with parameters of type QTableMetaDataModifier 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 QTableMetaData in com.kingsrook.qqq.backend.core.modules.backend.implementations.mock
Methods in com.kingsrook.qqq.backend.core.modules.backend.implementations.mock with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic SerializableMockQueryAction.getMockValue(QTableMetaData table, String field) Get a mock value to use, based on its type. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert
Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert that return QTableMetaDataModifier and TypeMethodDescriptionBulkInsertPrepareValueMappingStep.TableAndField.table()Returns the value of thetablerecord component.Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert with parameters of type QTableMetaDataModifier 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) Constructors in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert with parameters of type QTableMetaDataModifierConstructorDescriptionTableAndField(QTableMetaData table, QFieldMetaData field) Creates an instance of aTableAndFieldrecord class. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.mapping
Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.mapping with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic voidBulkLoadValueMapper.valueMapping(List<QRecord> records, BulkInsertMapping mapping, QTableMetaData table) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.model
Methods in com.kingsrook.qqq.backend.core.processes.implementations.bulk.insert.model with parameters of type QTableMetaDataModifier and TypeMethodDescriptionBulkInsertMapping.getFieldDefaultValues(QTableMetaData table, String associationNameChain, List<Integer> wideAssociationIndexes) get a map of default-values for fields in a given table (at the specified association chain and wide-indexes).BulkInsertMapping.getFieldIndexes(QTableMetaData table, String associationNameChain, BulkLoadFileRow headerRow) BulkInsertMapping.getFieldIndexes(QTableMetaData table, String associationNameChain, BulkLoadFileRow headerRow, List<Integer> wideAssociationIndexes) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.processes.implementations.columnstats
Methods in com.kingsrook.qqq.backend.core.processes.implementations.columnstats with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic ColumnStatsTableConfigColumnStatsTableConfig.of(QTableMetaData tableMetaData) static ColumnStatsTableConfigColumnStatsTableConfig.ofOrWithNew(QTableMetaData tableMetaData) Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.columnstats with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidColumnStatsFullInstanceVerifier.verify(Collection<QTableMetaData> tables) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.processes.implementations.savedreports
Methods in com.kingsrook.qqq.backend.core.processes.implementations.savedreports that return QTableMetaDataModifier and TypeMethodDescriptionSavedReportToReportMetaDataAdapter.FieldAndJoinTable.joinTable()Returns the value of thejoinTablerecord component.Method parameters in com.kingsrook.qqq.backend.core.processes.implementations.savedreports with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionvoidReportsFullInstanceVerifier.verify(Collection<QTableMetaData> tables, String storageTableName) Constructors in com.kingsrook.qqq.backend.core.processes.implementations.savedreports with parameters of type QTableMetaDataModifierConstructorDescriptionFieldAndJoinTable(QFieldMetaData field, QTableMetaData joinTable) Creates an instance of aFieldAndJoinTablerecord class. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.scheduler
Methods in com.kingsrook.qqq.backend.core.scheduler with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidCronExpressionTooltipFieldBehavior.apply(ValueBehaviorApplier.Action action, List<QRecord> recordList, QInstance instance, QTableMetaData table, QFieldMetaData field) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.scheduler.processes
Methods in com.kingsrook.qqq.backend.core.scheduler.processes with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic QCodeReferenceWithPropertiesBaseSyncToScheduledJobTableCustomizer.makeCodeReference(QTableMetaData tableMetaData, AbstractRecordSyncToScheduledJobProcess syncProcess) Create aQCodeReferenceWithPropertiesthat can be used to add this class to a table.static voidBaseSyncToScheduledJobTableCustomizer.setTableCustomizers(QTableMetaData tableMetaData, AbstractRecordSyncToScheduledJobProcess syncProcess) Add post insert/update/delete customizers to a table, that will run a sync-scheduled-job process. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.core.utils
Methods in com.kingsrook.qqq.backend.core.utils with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic SerializableValueUtils.getValueAsFieldType(QTableMetaData table, QFieldMetaData field, Object value) Convert with field context, removing classified values and nested parse causes from errors.static voidJsonFieldUtils.project(QRecord record, QTableMetaData table, String prefix) Project logical fields without exposing the backing JSON column.static <T> TValueUtils.withFieldConversionContext(QTableMetaData table, QFieldMetaData field, Supplier<T> conversion) Preserve conversion semantics while removing classified input from failures. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.api.actions
Methods in com.kingsrook.qqq.backend.module.api.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionprotected StringBaseAPIActionUtil.buildQueryStringForUpdate(QTableMetaData table, List<QRecord> recordList) method to build up a query string for updates based on a given QFilter objectprotected StringBaseAPIActionUtil.buildTableUrl(QTableMetaData table) Helper method to build the URL for a table.protected voidBaseAPIActionUtil.checkForOAuthExpiredToken(QTableMetaData table, org.apache.http.client.methods.HttpRequestBase request, QHttpResponse response) BaseAPIActionUtil.doCount(QTableMetaData table, CountInput countInput) BaseAPIActionUtil.doDelete(QTableMetaData table, DeleteInput deleteInput) BaseAPIActionUtil.doGet(QTableMetaData table, GetInput getInput) BaseAPIActionUtil.doInsert(QTableMetaData table, InsertInput insertInput) BaseAPIActionUtil.doQuery(QTableMetaData table, QueryInput queryInput) OK - so - we will potentially make multiple GET calls to the backend, to fetch up to the full limit from the filter (and, if there is no limit in the filter, then we'll keep fetching until we stop getting results).BaseAPIActionUtil.doUpdate(QTableMetaData table, UpdateInput updateInput) protected APITableBackendDetailsBaseAPIActionUtil.getBackendDetails(QTableMetaData tableMetaData) protected voidBaseAPIActionUtil.handleResponseError(QTableMetaData table, org.apache.http.client.methods.HttpRequestBase request, QHttpResponse response) static 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 voidBaseAPIActionUtil.logRequestDetails(QTableMetaData table, org.apache.http.client.methods.HttpRequestBase request) BaseAPIActionUtil.makeRequest(QTableMetaData table, org.apache.http.client.methods.HttpRequestBase request) protected intBaseAPIActionUtil.processGetResponse(QTableMetaData table, QHttpResponse response, QueryOutput queryOutput) BaseAPIActionUtil.processGetResponseForCount(QTableMetaData table, QHttpResponse response) protected QRecordBaseAPIActionUtil.processPostResponse(QTableMetaData table, QRecord record, QHttpResponse response) BaseAPIActionUtil.processSingleRecordGetResponse(QTableMetaData table, QHttpResponse response) protected 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.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. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.api.model
Method parameters in com.kingsrook.qqq.backend.module.api.model with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionstatic voidOutboundAPILogMetaDataProvider.defineAll(QInstance qInstance, String backendName, Consumer<QTableMetaData> backendDetailEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.filesystem.base.actions
Methods in com.kingsrook.qqq.backend.module.filesystem.base.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionabstract voidAbstractBaseFilesystemAction.deleteFile(QTableMetaData table, String fileReference) In contrast with the DeleteAction, which deletes RECORDS - this is a filesystem-(or s3, sftp, etc)-specific extension to delete an entire FILE e.g., for post-ETL.AbstractBaseFilesystemAction.getFullBasePath(QTableMetaData table, QBackendMetaData backendBase) Append together the backend's base path (if present), with a table's base path (again, if present).protected <T extends AbstractFilesystemTableBackendDetails>
TAbstractBaseFilesystemAction.getTableBackendDetails(Class<T> outputClass, QTableMetaData tableMetaData) Get the backendDetails out of a table, type-checked as the requested typeAbstractBaseFilesystemAction.listFiles(QTableMetaData table, QBackendMetaData backendBase) List the files for a table - to be implemented in module-specific subclasses.AbstractBaseFilesystemAction.listFiles(QTableMetaData table, QBackendMetaData backendBase, String requestedSingleFileName) List the files for a table - or optionally, just a single file name - to be implemented in module-specific subclasses.abstract voidAbstractBaseFilesystemAction.moveFile(QInstance instance, QTableMetaData table, String source, String destination) Move a file from a source path, to a destination path.AbstractBaseFilesystemAction.stripBackendAndTableBasePathsFromFileName(String filePath, QBackendMetaData backend, QTableMetaData table) e.g., with a base path of /foo/ and a table path of /bar/ and a file at /foo/bar/baz.txt give us just the baz.txt part.abstract voidAbstractBaseFilesystemAction.writeFile(QBackendMetaData backend, QTableMetaData table, QRecord record, String path, byte[] contents) Write a file - to be implemented in module-specific subclasses. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.filesystem.base.model.metadata
Methods in com.kingsrook.qqq.backend.module.filesystem.base.model.metadata that return QTableMetaDataModifier and TypeMethodDescriptionFilesystemTableMetaDataBuilder.buildStandardCardinalityOneTable()Methods in com.kingsrook.qqq.backend.module.filesystem.base.model.metadata with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidAbstractFilesystemTableBackendDetails.validate(QInstance qInstance, QTableMetaData table, QInstanceValidator qInstanceValidator) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.filesystem.local.actions
Methods in com.kingsrook.qqq.backend.module.filesystem.local.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidAbstractFilesystemAction.deleteFile(QTableMetaData table, String fileReference) In contrast with the DeleteAction, which deletes RECORDS - this is a filesystem-(or s3, sftp, etc)-specific extension to delete an entire FILE e.g., for post-ETL.AbstractFilesystemAction.listFiles(QTableMetaData table, QBackendMetaData backendBase, String requestedPath) List the files for this table.voidAbstractFilesystemAction.moveFile(QInstance instance, QTableMetaData table, String source, String destination) Move a file from a source path, to a destination path.AbstractFilesystemAction.stripBackendAndTableBasePathsFromFileName(String filePath, QBackendMetaData backend, QTableMetaData table) e.g., with a base path of /foo/ and a table path of /bar/ and a file at /foo/bar/baz.txt give us just the baz.txt part.voidAbstractFilesystemAction.writeFile(QBackendMetaData backend, QTableMetaData table, QRecord record, String path, byte[] contents) Write a file - to be implemented in module-specific subclasses. -
Uses of QTableMetaData 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 QTableMetaDataModifier and TypeMethodDescriptionFilesystemImporterMetaDataTemplate.defineTableImportFile(QBackendMetaData backend, String importBaseName) FilesystemImporterMetaDataTemplate.defineTableImportRecord(QBackendMetaData backend, String importBaseName) FilesystemImporterMetaDataTemplate.getImportFileTable()Getter for importFileTableFilesystemImporterMetaDataTemplate.getImportRecordTable()Getter for importRecordTableMethods in com.kingsrook.qqq.backend.module.filesystem.processes.implementations.filesystem.importer with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidFilesystemImporterMetaDataTemplate.setImportFileTable(QTableMetaData importFileTable) Setter for importFileTablevoidFilesystemImporterMetaDataTemplate.setImportRecordTable(QTableMetaData importRecordTable) Setter for importRecordTableFilesystemImporterMetaDataTemplate.withImportFileTable(QTableMetaData importFileTable) Fluent setter for importFileTableFilesystemImporterMetaDataTemplate.withImportRecordTable(QTableMetaData importRecordTable) Fluent setter for importRecordTableConstructor parameters in com.kingsrook.qqq.backend.module.filesystem.processes.implementations.filesystem.importer with type arguments of type QTableMetaDataModifierConstructorDescriptionFilesystemImporterMetaDataTemplate(QInstance qInstance, String importBaseName, String backendName, FilesystemImporterProcessMetaDataBuilder importerProcessMetaDataBuilder, Consumer<QTableMetaData> tableEnricher) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.filesystem.s3.actions
Methods in com.kingsrook.qqq.backend.module.filesystem.s3.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidAbstractS3Action.deleteFile(QTableMetaData table, String fileReference) In contrast with the DeleteAction, which deletes RECORDS - this is a filesystem-(or s3, sftp, etc)-specific extension to delete an entire FILE e.g., for post-ETL.AbstractS3Action.listFiles(QTableMetaData table, QBackendMetaData backendBase, String requestedPath) List the files for a table.voidAbstractS3Action.moveFile(QInstance instance, QTableMetaData table, String source, String destination) In contrast with the DeleteAction, which deletes RECORDS - this is a filesystem-(or s3, sftp, etc)-specific extension to delete an entire FILE e.g., for post-ETL.AbstractS3Action.stripBackendAndTableBasePathsFromFileName(String filePath, QBackendMetaData backend, QTableMetaData table) e.g., with a base path of /foo/ and a table path of /bar/ and a file at /foo/bar/baz.txt give us just the baz.txt part.voidAbstractS3Action.writeFile(QBackendMetaData backendMetaData, QTableMetaData table, QRecord record, String path, byte[] contents) Write a file - to be implemented in module-specific subclasses. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.filesystem.s3.model.metadata
Methods in com.kingsrook.qqq.backend.module.filesystem.s3.model.metadata with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidS3TableBackendDetails.validate(QInstance qInstance, QTableMetaData table, QInstanceValidator qInstanceValidator) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.filesystem.sftp.actions
Methods in com.kingsrook.qqq.backend.module.filesystem.sftp.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidAbstractSFTPAction.deleteFile(QTableMetaData table, String fileReference) AbstractSFTPAction.listFiles(QTableMetaData table, QBackendMetaData backendBase, String requestedPath) voidAbstractSFTPAction.moveFile(QInstance instance, QTableMetaData table, String source, String destination) voidAbstractSFTPAction.writeFile(QBackendMetaData backend, QTableMetaData table, QRecord record, String path, byte[] contents) -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.mongodb.actions
Methods in com.kingsrook.qqq.backend.module.mongodb.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionprotected org.bson.DocumentAbstractMongoDBAction.buildAddFieldsDocument(QTableMetaData table, MongoDBBackendMetaData backend, QQueryFilter filter) Build an $addFields document for virtual fields on a table.protected StringAbstractMongoDBAction.getBackendTableName(QTableMetaData table) Get the name to use for a table in the mongoDB, from the table's backendDetails.protected StringAbstractMongoDBAction.getFieldReference(QTableMetaData table, String fieldName) Get a MongoDB aggregation field reference for a field in the table.protected List<org.bson.conversions.Bson> AbstractMongoDBAction.makeFilterPipeline(QTableMetaData table, MongoDBBackendMetaData backend, QQueryFilter filter) Keep computed predicates separate from stored fields, including READ locks.protected List<org.bson.conversions.Bson> AbstractMongoDBAction.makeFilterPipeline(QTableMetaData table, MongoDBBackendMetaData backend, QQueryFilter filter, MongoClientContainer client) Public keys encode ObjectIds as Strings.protected org.bson.conversions.BsonAbstractMongoDBAction.makeSearchQueryDocument(QTableMetaData table, QQueryFilter filter) Convert QQueryFilter to Bson search query document - including security for the table if needed.protected org.bson.DocumentAbstractMongoDBAction.recordToDocument(QTableMetaData table, QRecord record) Convert a QRecord to a mongodb document. -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.rdbms
Method parameters in com.kingsrook.qqq.backend.module.rdbms with type arguments of type QTableMetaDataModifier and TypeMethodDescriptionRDBMSBackendModule.resyncKeySequences(QBackendMetaData backend, Collection<QTableMetaData> tables) Advance each table's key sequence past its largest key, per vendor: - postgres: setval on the column's serial/identity sequence -
Uses of QTableMetaData in com.kingsrook.qqq.backend.module.rdbms.actions
Methods in com.kingsrook.qqq.backend.module.rdbms.actions with parameters of type QTableMetaDataModifier and TypeMethodDescriptionvoidRDBMSDeleteAction.doDeleteList(Connection connection, QTableMetaData table, List<Serializable> primaryKeys, DeleteOutput deleteOutput) voidRDBMSDeleteAction.doDeleteOne(Connection connection, QTableMetaData table, Serializable primaryKey, DeleteOutput deleteOutput) protected booleanAbstractRDBMSAction.doesSelectClauseRequireDistinct(QTableMetaData table) Determine if a SELECT clause requires DISTINCT due to security lock joins.static StringAbstractRDBMSAction.getTableName(QTableMetaData table) Get the table name to use in the RDBMS from a QTableMetaData.AbstractRDBMSAction.makeFieldNameToColumnReferenceFunction(String tableNameOrAlias, QTableMetaData table) Build a function that maps a QQQ field name to its fully-qualified, escaped SQL column reference (e.g.,"timeZone"→`t1`.`time_zone`).protected StringAbstractRDBMSAction.makeOrderByClause(QTableMetaData table, List<QFilterOrderBy> orderBys, JoinsContext joinsContext, List<Serializable> params) Build the ORDER BY clause for a SQL query.protected SerializableAbstractRDBMSAction.scrubValue(QTableMetaData table, QFieldMetaData field, QFieldType type, Serializable value) Retain the owning field's classification during JDBC coercion.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 QTableMetaData in com.kingsrook.qqq.backend.module.rdbms.model.metadata
Methods in com.kingsrook.qqq.backend.module.rdbms.model.metadata that return QTableMetaDataModifier and TypeMethodDescriptionRDBMSTableMetaDataBuilder.buildTableMetaData(RDBMSBackendMetaData backendMetaData, String tableName) Constructor parameters in com.kingsrook.qqq.backend.module.rdbms.model.metadata with type arguments of type QTableMetaDataModifierConstructorDescriptionRDBMSBackendAssessor(QInstanceAssessor assessor, RDBMSBackendMetaData backendMetaData, List<QTableMetaData> tables) -
Uses of QTableMetaData in com.kingsrook.qqq.esb.model
Methods in com.kingsrook.qqq.esb.model with parameters of type QTableMetaDataModifier and TypeMethodDescriptionstatic EsbTableMetaDataEsbTableMetaData.of(QTableMetaData table) Get the ESB meta-data on a table - or null if it has none.static EsbTableMetaDataEsbTableMetaData.ofOrWithNew(QTableMetaData table) Get the ESB meta-data on a table - creating (and adding) it if the table doesn't have any yet.voidEsbTableMetaData.validate(QInstance qInstance, QTableMetaData tableMetaData, QInstanceValidator qInstanceValidator) Each publication must be to a known destination. -
Uses of QTableMetaData in com.kingsrook.qqq.middleware.javalin
Methods in com.kingsrook.qqq.middleware.javalin with parameters of type QTableMetaDataModifier 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 QTableMetaData in com.kingsrook.qqq.middleware.javalin.executors.utils
Methods in com.kingsrook.qqq.middleware.javalin.executors.utils with parameters of type QTableMetaDataModifier 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).