Skip to content

Add-ons in AfterUpdate

Add-ons are optional interfaces: implement as many as you need next to your role interface.

Available

  • ParentQuery: load parent (lookup) fields before the first handler runs; read them with getNewParent.
  • PriorParentQuery: load the parent the old row pointed to; read it with getOldParent.
  • RelatedQuery: query children, siblings or any other records once per chunk; read them with getRelated.
  • OwnUnitOfWork: give the handler its own unit of work, committed right after it. Writer only.
  • Bypassable: skip this handler for the whole chunk when a condition holds.
  • RecursionGuard: cap how many times this handler acts on the same record in one transaction (default 3).
  • Finalizer: run once after this handler’s records, with the records that qualified.
  • ContinueOnError: log and swallow this handler’s exceptions, so the save goes on.