Class QFrontendRelatedRecordPicker
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.frontend.QFrontendRelatedRecordPicker
A related-record picker as published to frontends: the metadata with its
tables resolved, defaults applied, and what this user may do with it.
-
Constructor Summary
ConstructorsConstructorDescriptionQFrontendRelatedRecordPicker(AbstractActionInput actionInput, RelatedRecordPickerAction.Resolved resolved) Constructor -
Method Summary
Modifier and TypeMethodDescriptionThe association (MULTI_CHILD, LINK).booleanWhether this user may add child or join rows.booleanWhether this user may quick-create a target record.booleanWhether this user may remove links (LINK).The child or join table (MULTI_CHILD, LINK).The child table's field holding the target key (MULTI_CHILD, LINK).The result columns.The initial, user-editable filter (may hold ${input.x} variables; the query route returns it resolved).The foreign-key field (SINGLE).The filter always applied by the server (may hold ${input.x} variables).getLabel()The dialog title and the child-list button label.The most records one confirm may pick (MULTI_CHILD, LINK).getMode()SINGLE, MULTI_CHILD or LINK.getName()The picker's name (the path segment of its v1 routes).The preview fields.The child fields of the review step (MULTI_CHILD; empty skips it).The table records are picked from.An image URL field of the target, for thumbnails.
-
Constructor Details
-
QFrontendRelatedRecordPicker
public QFrontendRelatedRecordPicker(AbstractActionInput actionInput, RelatedRecordPickerAction.Resolved resolved) Constructor
-
-
Method Details
-
getName
The picker's name (the path segment of its v1 routes). -
getLabel
The dialog title and the child-list button label. -
getMode
SINGLE, MULTI_CHILD or LINK. -
getFieldName
The foreign-key field (SINGLE). -
getAssociationName
The association (MULTI_CHILD, LINK). -
getTargetTableName
The table records are picked from. -
getChildTableName
The child or join table (MULTI_CHILD, LINK). -
getChildTargetFieldName
The child table's field holding the target key (MULTI_CHILD, LINK). -
getFilter
The filter always applied by the server (may hold ${input.x} variables). -
getDefaultFilter
The initial, user-editable filter (may hold ${input.x} variables; the query route returns it resolved). -
getColumns
-
getPreviewFields
-
getThumbnailField
An image URL field of the target, for thumbnails. -
getReviewFieldNames
-
getMaxSelections
The most records one confirm may pick (MULTI_CHILD, LINK). -
getCanCreateTarget
public boolean getCanCreateTarget()Whether this user may quick-create a target record. -
getCanAddChildren
public boolean getCanAddChildren()Whether this user may add child or join rows. -
getCanRemoveChildren
public boolean getCanRemoveChildren()Whether this user may remove links (LINK).
-