Example #1
0
 @Execute
 public HtmlResponse deleteall() {
   verifyToken(() -> asListHtml());
   failureUrlService.deleteAll(failureUrlPager);
   failureUrlPager.clear();
   saveInfo(messages -> messages.addSuccessFailureUrlDeleteAll(GLOBAL));
   return redirect(getClass());
 }
Example #2
0
 @Execute
 public HtmlResponse reset(final FailureUrlSearchForm form) {
   failureUrlPager.clear();
   return asHtml(path_AdminFailureurl_IndexJsp)
       .renderWith(
           data -> {
             searchPaging(data, form);
           });
 }
Example #3
0
 @Execute
 public HtmlResponse list(final Integer pageNumber, final FailureUrlSearchForm form) {
   failureUrlPager.setCurrentPageNumber(pageNumber);
   return asHtml(path_AdminFailureurl_IndexJsp)
       .renderWith(
           data -> {
             searchPaging(data, form);
           });
 }