Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 168 for ifPresent (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                reqHeaderPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                reqHeaderPager.setCurrentPageNumber(0);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

            getKuromojiFile(dictId).ifPresent(file -> {
                if (kuromojiItem.getId() == 0) {
                    file.insert(kuromojiItem);
                } else {
                    file.update(kuromojiItem);
                }
            });
        }
    
        public void delete(final String dictId, final KuromojiItem kuromojiItem) {
            getKuromojiFile(dictId).ifPresent(file -> {
                file.delete(kuromojiItem);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            searchLog.setQueryPageSize(pageSize);
            ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).ifPresent(user -> {
                searchLog.setUser(user.getUserId());
            });
    
            LaRequestUtil.getOptionalRequest().ifPresent(req -> {
                searchLog.setClientIp(StringUtils.abbreviate(ComponentUtil.getViewHelper().getClientIp(req), 100));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                badWordPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                badWordPager.setCurrentPageNumber(0);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/ScheduledJob.java

            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.launchNow();
            }).orElse(() -> {
                throw new JobNotFoundException(this);
            });
        }
    
        public void stop() {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.stopNow();
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                rolePager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                rolePager.setCurrentPageNumber(0);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                elevateWordPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                elevateWordPager.setCurrentPageNumber(0);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

            getCharMappingFile(dictId).ifPresent(file -> {
                if (charMappingItem.getId() == 0) {
                    file.insert(charMappingItem);
                } else {
                    file.update(charMappingItem);
                }
            });
        }
    
        public void delete(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                file.delete(charMappingItem);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

            getProtwordsFile(dictId).ifPresent(file -> {
                if (protwordsItem.getId() == 0) {
                    file.insert(protwordsItem);
                } else {
                    file.update(protwordsItem);
                }
            });
        }
    
        public void delete(final String dictId, final ProtwordsItem protwordsItem) {
            getProtwordsFile(dictId).ifPresent(file -> {
                file.delete(protwordsItem);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

            return getStemmerOverrideFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final StemmerOverrideItem stemmerOvberrideItem) {
            getStemmerOverrideFile(dictId).ifPresent(file -> {
                if (stemmerOvberrideItem.getId() == 0) {
                    file.insert(stemmerOvberrideItem);
                } else {
                    file.update(stemmerOvberrideItem);
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top