Uses of Interface
com.kingsrook.qqq.backend.core.utils.lambdas.UnsafeConsumer
Packages that use UnsafeConsumer
Package
Description
-
Uses of UnsafeConsumer in com.kingsrook.qqq.backend.core.actions.reporting
Methods in com.kingsrook.qqq.backend.core.actions.reporting with parameters of type UnsafeConsumerModifier and TypeMethodDescriptionvoidRecordPipe.setPostRecordActions(UnsafeConsumer<List<QRecord>, QException> postRecordActions) -
Uses of UnsafeConsumer in com.kingsrook.qqq.backend.core.actions.tables
Methods in com.kingsrook.qqq.backend.core.actions.tables with parameters of type UnsafeConsumerModifier and TypeMethodDescriptionvoidKeysetPager.forEachPage(UnsafeConsumer<List<QRecord>, QException> consumer) Run the consumer on each page, in primary key order, until the records are exhausted. -
Uses of UnsafeConsumer in com.kingsrook.qqq.backend.core.utils
Methods in com.kingsrook.qqq.backend.core.utils with parameters of type UnsafeConsumerModifier and TypeMethodDescriptionstatic <T,E extends Exception>
voidObjectUtils.ifNotNullUnsafe(T object, UnsafeConsumer<T, E> consumer) -
Uses of UnsafeConsumer in com.kingsrook.qqq.middleware.javalin
Methods in com.kingsrook.qqq.middleware.javalin with parameters of type UnsafeConsumerModifier and TypeMethodDescriptionstatic <T> voidQJavalinImplementation.runStreamedExportOrReport(io.javalin.http.Context context, ReportFormat reportFormat, String filename, UnsafeFunction<PipedOutputStream, T, Exception> preAction, UnsafeConsumer<T, Exception> executor) -
Uses of UnsafeConsumer in com.kingsrook.qqq.middleware.javalin.executors.utils
Methods in com.kingsrook.qqq.middleware.javalin.executors.utils with parameters of type UnsafeConsumerModifier and TypeMethodDescriptionstatic voidRecordDeveloperModeUtils.checkRecordIsReadable(String tableName, String primaryKey, UnsafeConsumer<AbstractActionInput, QException> sessionSetup) Make sure the user can get the record that they're trying to do a related (script) action for: requires READ permission on its table, and throws not-found if there is no such record.RecordDeveloperModeUtils.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).