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