Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for getLocale (0.29 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
    
            @Override
            public Object getAttribute(final String name) {
                return parent.getAttribute(name);
            }
    
            @Override
            public Locale getLocale() {
                return parent.getLocale();
            }
    
            @Override
            public SearchRequestType getType() {
                return parent.getType();
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

        @Override
        public Object getAttribute(final String name) {
            return LaRequestUtil.getOptionalRequest().map(req -> req.getAttribute(name)).orElse(null);
        }
    
        @Override
        public Locale getLocale() {
            return ComponentUtil.getRequestManager().getUserLocale();
        }
    
        @Override
        public SearchRequestType getType() {
            return SearchRequestType.SEARCH;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

        @Override
        public Object getAttribute(final String name) {
            return LaRequestUtil.getOptionalRequest().map(req -> req.getAttribute(name)).orElse(null);
        }
    
        @Override
        public Locale getLocale() {
            return ComponentUtil.getRequestManager().getUserLocale();
        }
    
        @Override
        public SearchRequestType getType() {
            return SearchRequestType.ADMIN_SEARCH;
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        public abstract int getPageSize();
    
        public abstract int getOffset();
    
        public abstract String[] getExtraQueries();
    
        public abstract Object getAttribute(String name);
    
        public abstract Locale getLocale();
    
        public abstract SearchRequestType getType();
    
        public abstract String getSimilarDocHash();
    
        public String getTrackTotalHits() {
            return null;
        }
    
        public Float getMinScore() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

                validationMessagesLambda.message(messages);
                message = ComponentUtil.getMessageManager()
                        .toMessageList(LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ENGLISH), messages)
                        .stream().collect(Collectors.joining(" "));
                return this;
            }
        }
    
        public static class ApiPluginResponse extends ApiResponse {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        public static String getMessage(final String key, final String defaultValue) {
            final Locale locale = LaRequestUtil.getOptionalRequest().map(HttpServletRequest::getLocale).orElse(Locale.ROOT);
            return ComponentUtil.getMessageManager().findMessage(locale, key).orElse(defaultValue);
        }
    
        public static boolean hasActionRole(final String role) {
            final String[] roles;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                data.setAppendHighlightParams(buf.toString());
            }
    
            queryResponseList.setExecTime(systemHelper.getCurrentTimeAsLong() - startTime);
            final NumberFormat nf = NumberFormat.getInstance(params.getLocale());
            nf.setMaximumIntegerDigits(2);
            nf.setMaximumFractionDigits(2);
            String execTime;
            try {
                execTime = nf.format((double) queryResponseList.getExecTime() / 1000);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

                return null;
            }
    
            @Override
            public Object getAttribute(String name) {
                return null;
            }
    
            @Override
            public Locale getLocale() {
                return null;
            }
    
            @Override
            public SearchRequestType getType() {
                return null;
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_getForumLink() {
            getMockRequest().setLocale(Locale.ENGLISH);
            assertEquals("https://discuss.codelibs.org/c/FessEN/", systemHelper.getForumLink());
            getMockRequest().setLocale(Locale.JAPANESE);
            assertEquals("https://discuss.codelibs.org/c/FessJA/", systemHelper.getForumLink());
            getMockRequest().setLocale(Locale.ITALIAN);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/QueryCommand.java

            }
            return false;
        }
    
        protected OptionalThing<String[]> getQueryLanguages() {
            return LaRequestUtil.getOptionalRequest().map(request -> ComponentUtil.getFessConfig().getQueryLanguages(request.getLocales(),
                    (String[]) request.getAttribute(Constants.REQUEST_LANGUAGES)));
        }
    
        protected DefaultQueryBuilder buildDefaultQueryBuilder(final FessConfig fessConfig, final QueryContext context,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top