- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getPathMappingList (0.08 sec)
-
PathMappingHelperTest.java
pathMappingList = new ArrayList<PathMapping>(); L38: L39: assertNull(pathMappingHelper.getPathMappingList(sessionId)); L40: assertNull(pathMappingHelper.getPathMappingList(sessionId + "1")); L41: pathMappingHelper.setPathMappingList(sessionId, pathMappingList); L42: assertNotNull(pathMappingHelper.getPathMappingList(sessionId)); L43: assertNull(pathMappingHelper.getPathMappingList(sessionId + "1")); L44: pathMappingHelper.removePathMappingList(sessionId); L45:...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.3K bytes -
PathMappingHelper.java
pathMappingMap.remove(sessionId); L111: } L112: L113: public List<PathMapping> getPathMappingList(final String sessionId) { L114: if (sessionId == null) { L115: return null; L116: } L117: return pathMappingMap.get(sessionId); L118: } L119: L120: public String replaceUrl(final String sessionId, final String url) { // for crawling L121: final List<PathMapping> pathMappingList = getPathMappingList(sessionId); L122: if (pathMappingList == null) { L123: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.6K bytes -
PathMappingService.java
L34: L35:public class PathMappingService extends FessAppService { L36: L37: @Resource L38: protected PathMappingBhv pathMappingBhv; L39: L40: @Resource L41: protected FessConfig fessConfig; L42: L43: public List<PathMapping> getPathMappingList(final PathMapPager pathMappingPager) { L44: L45: final PagingResultBean<PathMapping> pathMappingList = pathMappingBhv.selectPage(cb -> { L46: cb.paging(pathMappingPager.getPageSize(), pathMappingPager.getCurrentPageNumber());...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.7K bytes -
AdminPathmapAction.java
L108: searchPaging(data, form); L109: }); L110: } L111: L112: protected void searchPaging(final RenderData data, final SearchForm form) { L113: RenderDataUtil.register(data, "pathMappingItems", pathMappingService.getPathMappingList(pathMapPager)); // page navi L114: L115: // restore from pager L116: copyBeanToBean(pathMapPager, form, op -> op.include("regex", "replacement")); L117: } L118: L119: // ==================================================...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 13K bytes -
ApiAdminPathmapAction.java
JsonResponse<ApiResult> settings(final SearchBody body) { L48: validateApi(body, messages -> {}); L49: final PathMapPager pager = copyBeanToNewBean(body, PathMapPager.class); L50: final List<PathMapping> list = pathMappingService.getPathMappingList(pager); L51: return asJson( L52: new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList())) L53: .total(pager.getAllRecordCount())...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5.6K bytes -
Crawler.java
List<String> ptList = new ArrayList<>(); L485: ptList.add(Constants.PROCESS_TYPE_CRAWLING); L486: ptList.add(Constants.PROCESS_TYPE_BOTH); L487: pathMappingHelper.setPathMappingList(options.sessionId, pathMappingService.getPathMappingList(ptList)); L488: L489: // duplicate host L490: try { L491: final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper(); L492: duplicateHostHelper.init(); L493: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 24K bytes