Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 168 for isPresent (0.06 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            return asListHtml();
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
            pageNumber.ifPresent(num -> {
                elevateWordPager.setCurrentPageNumber(pageNumber.get());
            }).orElse(() -> {
                elevateWordPager.setCurrentPageNumber(0);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

            getCharMappingFile(dictId).ifPresent(file -> {
                if (charMappingItem.getId() == 0) {
                    file.insert(charMappingItem);
                } else {
                    file.update(charMappingItem);
                }
            });
        }
    
        public void delete(final String dictId, final CharMappingItem charMappingItem) {
            getCharMappingFile(dictId).ifPresent(file -> {
                file.delete(charMappingItem);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

            getProtwordsFile(dictId).ifPresent(file -> {
                if (protwordsItem.getId() == 0) {
                    file.insert(protwordsItem);
                } else {
                    file.update(protwordsItem);
                }
            });
        }
    
        public void delete(final String dictId, final ProtwordsItem protwordsItem) {
            getProtwordsFile(dictId).ifPresent(file -> {
                file.delete(protwordsItem);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

            return getStemmerOverrideFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final StemmerOverrideItem stemmerOvberrideItem) {
            getStemmerOverrideFile(dictId).ifPresent(file -> {
                if (stemmerOvberrideItem.getId() == 0) {
                    file.insert(stemmerOvberrideItem);
                } else {
                    file.update(stemmerOvberrideItem);
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

                parser.parse(new InputSource(is));
            }
            parser.getWebConfig().ifPresent(c -> {
                logger.debug(c.toString());
            }).orElse(() -> fail());
            parser.getFileConfig().ifPresent(c -> {
                logger.debug(c.toString());
            }).orElse(() -> fail());
            LabelType[] labelTypes = parser.getLabelTypes();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            form.crudMode = CrudMode.CREATE;
            getDoc(form).ifPresent(entity -> {
                form.doc = fessConfig.convertToEditableDoc(entity);
            });
            return asEditHtml();
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            getDoc(form).ifPresent(entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
                    file.insert(stopwordsItem);
                } else {
                    file.update(stopwordsItem);
                }
            });
        }
    
        public void delete(final String dictId, final StopwordsItem stopwordsItem) {
            getStopwordsFile(dictId).ifPresent(file -> {
                file.delete(stopwordsItem);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/SynonymService.java

            getSynonymFile(dictId).ifPresent(file -> {
                if (synonymItem.getId() == 0) {
                    file.insert(synonymItem);
                } else {
                    file.update(synonymItem);
                }
            });
        }
    
        public void delete(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                file.delete(synonymItem);
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

        }
    
        // POST /api/admin/scheduler/{id}/start
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> post$start(final String id) {
            scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
                if (!entity.isEnabled() || entity.isRunning()) {
                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. internal/crypto/sse-kms.go

    	// Otherwise, the metadata is corrupted.
    	keyID, idPresent := metadata[MetaKeyID]
    	b64KMSSealedKey, kmsKeyPresent := metadata[MetaDataEncryptionKey]
    	if !idPresent && kmsKeyPresent {
    		return keyID, kmsKey, sealedKey, ctx, Errorf("The object metadata is missing the internal KMS key-ID for SSE-S3")
    	}
    	if idPresent && !kmsKeyPresent {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top