Make it an option in the module's interface, whether or not to query for all records being updated or deleted first (makes more sense for an api backend to NOT do this).

This commit is contained in:
2023-04-27 12:48:01 -05:00
parent 8cc16d44e5
commit d12bf3decc
5 changed files with 45 additions and 7 deletions

View File

@ -45,4 +45,16 @@ public class APIUpdateAction extends AbstractAPIAction implements UpdateInterfac
return (apiActionUtil.doUpdate(table, updateInput));
}
/*******************************************************************************
** Specify whether this particular module's update action can & should fetch
** records before updating them, e.g., for audits or "not-found-checks"
*******************************************************************************/
@Override
public boolean supportsPreFetchQuery()
{
return (false);
}
}