Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 168 for isPresent (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

            })).status(Status.OK).result());
        }
    
        // DELETE /api/admin/failureurl/log/{id}
        @Execute
        public JsonResponse<ApiResult> delete$log(final String id) {
            failureUrlService.getFailureUrl(id).ifPresent(entity -> {
                try {
                    failureUrlService.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
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

        }
    
        // DELETE /api/admin/accesstoken/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            accessTokenService.getAccessToken(id).ifPresent(entity -> {
                try {
                    accessTokenService.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:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                if (doc.get(fessConfig.getIndexFieldConfigId()) instanceof final String configId) {
                    crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s));
                }
            });
            return asJson(new ApiBulkResponse().items(Arrays.stream(response.getItems()).map(item -> {
                final Map<String, Object> itemMap = new HashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

        }
    
        // DELETE /api/admin/webconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            webConfigService.getWebConfig(id).ifPresent(entity -> {
                try {
                    webConfigService.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)
  5. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                }
            }
            return OptionalEntity.empty();
        }
    
        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
                if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) {
                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

        }
    
        // DELETE /api/admin/boostdoc/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            boostDocumentRuleService.getBoostDocumentRule(id).ifPresent(entity -> {
                try {
                    boostDocumentRuleService.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.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            });
            getUserBean().ifPresent(u -> {
                if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) {
                    throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

            return asHtml(path_AdminFailureurl_AdminFailureurlDetailsJsp).useForm(EditForm.class, op -> {
                op.setup(form -> {
                    failureUrlService.getFailureUrl(id).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                        });
                        form.crudMode = crudMode;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

            saveToken();
            return asHtml(path_AdminJoblog_AdminJoblogDetailsJsp).useForm(EditForm.class, op -> {
                op.setup(form -> {
                    jobLogService.getJobLog(id).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                        });
                        form.crudMode = crudMode;
    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/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)
Back to top