Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for getRequestManager (0.3 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfoParam.java

                    cb.query().docMeta().setId_Equal(getCrawlingInfoId());
                });
            }
            return crawlingInfo;
        }
    
        public String getKeyMsg() {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            final String message = ComponentUtil.getMessageManager().getMessage(locale, "labels.crawling_info_" + getKey());
            if (message == null || message.startsWith("???")) {
                return getKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

            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
        public String getSimilarDocHash() {
    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

            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
        public String getSimilarDocHash() {
    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/helper/SystemHelper.java

                    logger.warn("Failed to process shutdown task.", e);
                }
            });
        }
    
        public String getUsername() {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
            return requestManager.findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(Constants.GUEST_USER);
        }
    
        public Date getCurrentTime() {
            return new Date(getCurrentTimeAsLong());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            });
        }
    
        protected void registerProtocolSchemeItems(final RenderData data) {
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            df.applyPattern(pattern);
            return df.format(value);
        }
    
        private static Locale getUserLocale() {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
        }
    
        public static String formatFileSize(final long value) {
    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/app/web/base/FessSearchAction.java

            runtime.registerData("labelTypeItems", labelTypeItems);
            runtime.registerData("displayLabelTypeItems", labelTypeItems != null && !labelTypeItems.isEmpty());
    
            Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            if (locale == null) {
                locale = Locale.ENGLISH;
            }
            runtime.registerData("langItems", systemHelper.getLanguageItems(locale));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                }
    
                final boolean hasAccessToken = processAccessToken(request, roleSet, isApiRequest);
    
                final RequestManager requestManager = ComponentUtil.getRequestManager();
                try {
                    requestManager.findUserBean(FessUserBean.class)
                            .ifPresent(fessUserBean -> stream(fessUserBean.getPermissions()).of(stream -> stream.forEach(roleSet::add)))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

        public void process(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
            if (!requestManager.findUserBean(FessUserBean.class).map(user -> user.hasRoles(acceptedRoles)).orElse(Boolean.FALSE)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

            });
        }
    
        protected void registerProtocolSchemeItems(final RenderData data) {
            final List<Map<String, String>> itemList = new ArrayList<>();
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.file_auth_scheme_samba"), Constants.SAMBA));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top