Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 89 for getComponents (0.1 sec)

  1. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                }
                return userCode;
            }).orElse(null);
        }
    
        protected String getUserCodeFromUserBean(final HttpServletRequest request) {
            final SessionManager sessionManager = ComponentUtil.getComponent(SessionManager.class);
            String userCode = sessionManager.getAttribute(USER_BEAN, TypicalUserBean.class)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

        protected Map<String, String> infoMap;
    
        protected Long documentExpires;
    
        protected int maxSessionIdsInList;
    
        protected CrawlingInfoService getCrawlingInfoService() {
            return ComponentUtil.getComponent(CrawlingInfoService.class);
        }
    
        public String getCanonicalSessionId(final String sessionId) {
            final int idx = sessionId.indexOf('-');
            if (idx >= 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(DuplicateHostService.class).getDuplicateHost(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(KeyMatchService.class).getKeyMatch(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

            final CrawlingConfig crawlingConfig = getCrawlingConfig(crawlerContext.getSessionId());
            final String url = urlQueue.getUrl();
    
            final FailureUrlService failureUrlService = ComponentUtil.getComponent(FailureUrlService.class);
            return failureUrlService.store(crawlingConfig, errorName, url, e);
        }
    
        protected CrawlingConfig getCrawlingConfig(final String sessionCountId) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/PythonJob.java

            }
    
            return resultBuf.toString();
    
        }
    
        protected void executePython() {
            final List<String> cmdList = new ArrayList<>();
            final ServletContext servletContext = ComponentUtil.getComponent(ServletContext.class);
            final ProcessHelper processHelper = ComponentUtil.getProcessHelper();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (StringUtil.isBlank(filename)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

            if (getUserInfoId() == null) {
                return OptionalEntity.empty();
            }
            if (userInfo == null) {
                final UserInfoBhv userInfoBhv = ComponentUtil.getComponent(UserInfoBhv.class);
                userInfo = userInfoBhv.selectByPK(getUserInfoId());
            }
            return userInfo;
        }
    
        public void setUserInfo(final OptionalEntity<UserInfo> userInfo) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                    logger.info("Generating Thumbnail: {}", url);
                }
    
                final CrawlerClientFactory crawlerClientFactory =
                        config.initializeClientFactory(() -> ComponentUtil.getComponent(CrawlerClientFactory.class));
                final CrawlerClient client = crawlerClientFactory.getClient(url);
                if (client == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(StopwordsService.class).getStopwordsItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            load();
        }
    
        public List<KeyMatch> getAvailableKeyMatchList() {
            return ComponentUtil.getComponent(KeyMatchBhv.class).selectList(cb -> {
                cb.query().matchAll();
                cb.fetchFirst(ComponentUtil.getFessConfig().getPageKeymatchMaxFetchSizeAsInteger());
            });
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top