@Execute public HtmlResponse deleteall() { verifyToken(() -> asListHtml()); failureUrlService.deleteAll(failureUrlPager); failureUrlPager.clear(); saveInfo(messages -> messages.addSuccessFailureUrlDeleteAll(GLOBAL)); return redirect(getClass()); }
@Execute public HtmlResponse deleteall(final FailureUrlEditForm form) { failureUrlService.deleteAll(failureUrlPager); saveInfo(messages -> messages.addSuccessFailureUrlDeleteAll(GLOBAL)); return redirect(getClass()); }