Class QueryAction
java.lang.Object
com.kingsrook.qqq.backend.core.actions.tables.QueryAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
execute
(QueryInput queryInput) execute
(String tableName, QQueryFilter filter) shorthand way to call for the most common use-case, when you just want the records to be returned, and you just want to pass in a table name and filter.static <T extends QRecordEntity>
List<T> execute
(String tableName, Class<T> entityClass, QQueryFilter filter) shorthand way to call for the most common use-case, when you just want the entities to be returned, and you just want to pass in a table name and filter.void
postRecordActions
(List<QRecord> records) Run the necessary actions on a list of records (which must be a mutable list - e.g., not one created via List.of()).
-
Constructor Details
-
QueryAction
public QueryAction()
-
-
Method Details
-
execute
- Throws:
QException
-
execute
public static <T extends QRecordEntity> List<T> execute(String tableName, Class<T> entityClass, QQueryFilter filter) throws QException shorthand way to call for the most common use-case, when you just want the entities to be returned, and you just want to pass in a table name and filter.- Throws:
QException
-
execute
shorthand way to call for the most common use-case, when you just want the records to be returned, and you just want to pass in a table name and filter.- Throws:
QException
-
postRecordActions
Run the necessary actions on a list of records (which must be a mutable list - e.g., not one created via List.of()). This may include setting display values, translating possible values, and running post-record customizations.- Throws:
QException
-
cancel
public void cancel()
-