Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 186 for orElse (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                relatedQueryPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                relatedQueryPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminRelatedquery_AdminRelatedqueryJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                dataConfigPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                dataConfigPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDataconfig_AdminDataconfigJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                fileConfigPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                fileConfigPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminFileconfig_AdminFileconfigJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                webConfigPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                webConfigPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminWebconfig_AdminWebconfigJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isCache).orElse(false));
            assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false));
            assertEquals("bar", fieldConfigs.getConfig("foo").map(FieldConfigs.Config::getValues).orElse(new String[0])[0]);
        }
    
        public void test_cache_true() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                            .stream().forEach(v -> modifyDeleteEntry(modifyList, attrGivenName, v)));
            final String attrMail = fessConfig.getLdapAttrMail();
            OptionalUtil.ofNullable(user.getMail()).filter(StringUtil::isNotBlank).ifPresent(s -> modifyReplaceEntry(modifyList, attrMail, s))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            if (invokerRequest.options().quiet().orElse(false)) {
                writer.accept(CLIReportingUtils.showVersionMinimal());
            } else if (invokerRequest.options().verbose().orElse(false)) {
                writer.accept(CLIReportingUtils.showVersion(
                        ProcessHandle.current().info().commandLine().orElse(null), describe(context.terminal)));
    
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

                if (fessConfig.isLoggingSearchUseLogfile()) {
                    ComponentUtil.getSearchLogHelper().writeSearchLogEvent(favoriteLog);
                }
                return true;
            }).orElse(false);
        }
    
        public List<String> getUrlList(final String userCode, final List<String> urlList) {
            if (urlList.isEmpty()) {
                return urlList;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("action", Action.LOGIN.name());
            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            valueMap.put("permissions",
                    user.map(u -> stream(u.getPermissions()).get(stream -> stream.collect(Collectors.joining(permissionSeparator))))
                            .filter(StringUtil::isNotBlank).orElse("-"));
            log(valueMap);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            validate(form, messages -> {}, this::asDictIndexHtml);
            pageNumber.ifPresent(num -> {
                charMappingPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                charMappingPager.setCurrentPageNumber(0);
            });
            return asHtml(path_AdminDictMapping_AdminDictMappingJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top