Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getPathMappingList (0.1 sec)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
            assertNotNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
            pathMappingHelper.removePathMappingList(sessionId);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        public List<PathMapping> getPathMappingList(final String sessionId) {
            if (sessionId == null) {
                return null;
            }
            return pathMappingMap.get(sessionId);
        }
    
        public String replaceUrl(final String sessionId, final String url) { // for crawling
            final List<PathMapping> pathMappingList = getPathMappingList(sessionId);
            if (pathMappingList == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

    public class PathMappingService extends FessAppService {
    
        @Resource
        protected PathMappingBhv pathMappingBhv;
    
        @Resource
        protected FessConfig fessConfig;
    
        public List<PathMapping> getPathMappingList(final PathMapPager pathMappingPager) {
    
            final PagingResultBean<PathMapping> pathMappingList = pathMappingBhv.selectPage(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

                searchPaging(data, form);
            });
        }
    
        protected void searchPaging(final RenderData data, final SearchForm form) {
            RenderDataUtil.register(data, "pathMappingItems", pathMappingService.getPathMappingList(pathMapPager)); // page navi
    
            // restore from pager
            copyBeanToBean(pathMapPager, form, op -> op.include("regex", "replacement"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java

            validateApi(body, messages -> {});
            final PathMapPager pager = copyBeanToNewBean(body, PathMapPager.class);
            final List<PathMapping> list = pathMappingService.getPathMappingList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                ptList.add(Constants.PROCESS_TYPE_CRAWLING);
                ptList.add(Constants.PROCESS_TYPE_BOTH);
                pathMappingHelper.setPathMappingList(options.sessionId, pathMappingService.getPathMappingList(ptList));
    
                // duplicate host
                try {
                    final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper();
                    duplicateHostHelper.init();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top