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