Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 168 for ifPresent (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

        // DELETE /api/admin/dict/stopwords/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            stopwordsService.getStopwordsItem(dictId, id).ifPresent(entity -> {
                stopwordsService.delete(dictId, entity);
                saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

        }
    
        // DELETE /api/admin/fileconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            fileConfigService.getFileConfig(id).ifPresent(entity -> {
                try {
                    fileConfigService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/QueryContext.java

            }
            if (StringUtil.isBlank(this.queryString)) {
                this.queryString = "*";
            }
            if (isQuery) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    highlightedQuerySet = new HashSet<>();
                    request.setAttribute(Constants.HIGHLIGHT_QUERIES, highlightedQuerySet);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        // you should remove the 'final' if you need to override this
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            fessLoginAssist.getSavedUserBean().ifPresent(u -> {
                final boolean result = u.getFessUser().refresh();
                if (logger.isDebugEnabled()) {
                    logger.debug("refresh user info: {}", result);
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

            }
            return userInfo;
        }
    
        public void setUserInfo(final OptionalEntity<UserInfo> userInfo) {
            this.userInfo = userInfo;
            userInfo.ifPresent(e -> {
                super.setUserInfoId(e.getId());
            });
        }
    
        public List<Pair<String, String>> getSearchFieldLogList() {
            return searchFieldLogList;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

        }
    
        // DELETE /api/admin/keymatch/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            keyMatchService.getKeyMatch(id).ifPresent(entity -> {
                try {
                    keyMatchService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            if (request.isResume()) {
                projects.stream()
                        .filter(MavenProject::isExecutionRoot)
                        .findFirst()
                        .ifPresent(rootProject -> buildResumptionDataRepository.applyResumptionData(request, rootProject));
            }
        }
    
        private List<MavenProject> getProjectsInRequestScope(MavenExecutionRequest request, List<MavenProject> projects)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

        }
    
        // DELETE /api/admin/labeltype/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            labelTypeService.getLabelType(id).ifPresent(entity -> {
                try {
                    labelTypeService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

        }
    
        // DELETE /api/admin/badword/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                badWordService.getBadWord(id).ifPresent(entity -> {
                    try {
                        badWordService.delete(entity);
                        suggestHelper.deleteBadWord(entity.getSuggestWord());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    processHelper.sendCommand(entity.getSessionId(), Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP);
                    saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top