- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for OptionalEntity (0.49 sec)
-
src/main/java/org/codelibs/fess/app/service/KuromojiService.java
* @return An optional entity of the Kuromoji file. */ public OptionalEntity<KuromojiFile> getKuromojiFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId) .filter(KuromojiFile.class::isInstance) .map(file -> OptionalEntity.of((KuromojiFile) file)) .orElse(OptionalEntity.empty()); } /** * Get a Kuromoji item. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
* @param currentTime the current timestamp * @return optional duplicate host entity */ public static OptionalEntity<DuplicateHost> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new DuplicateHost()).map(entity -> { entity.setCreatedBy(username);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CharMappingService.java
* before returning it wrapped in an OptionalEntity. * </p> * * @param dictId the dictionary ID to retrieve the character mapping file for * @return an OptionalEntity containing the character mapping file if found and valid, empty otherwise */ public OptionalEntity<CharMappingFile> getCharMappingFile(final String dictId) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java
* @return An OptionalEntity containing the stemmer override file if found, empty otherwise */ public OptionalEntity<StemmerOverrideFile> getStemmerOverrideFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId) .filter(StemmerOverrideFile.class::isInstance) .map(file -> OptionalEntity.of((StemmerOverrideFile) file))Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
* @param currentTime the current time * @return optional key match entity */ public static OptionalEntity<KeyMatch> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new KeyMatch()).map(entity -> { entity.setCreatedBy(username);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
/** * Retrieves a character mapping item by its ID. * * @param id the unique identifier of the mapping item to retrieve * @return an OptionalEntity containing the mapping item if found, empty otherwise */ @Override public OptionalEntity<CharMappingItem> get(final long id) { if (mappingItemList == null) { reload(null); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
* @param currentTime The current time. * @return An optional entity of a data config. */ public static OptionalEntity<DataConfig> getEntity(final CreateForm form, final String username, final long currentTime) { switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new DataConfig()).map(entity -> { entity.setCreatedBy(username);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
import org.codelibs.fess.rank.fusion.SearchResult.SearchResultBuilder; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.DocumentUtil; import org.codelibs.fess.util.FacetResponse; import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.util.LaRequestUtil; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.action.search.SearchResponse;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 09:24:04 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
* @return the protected words file if found */ public OptionalEntity<ProtwordsFile> getProtwordsFile(final String dictId) { return dictionaryManager.getDictionaryFile(dictId) .filter(ProtwordsFile.class::isInstance) .map(file -> OptionalEntity.of((ProtwordsFile) file)) .orElse(OptionalEntity.empty()); } /** * Gets a specific protected words item by ID.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
private static OptionalEntity<StopwordsItem> getEntity(final CreateForm form) { switch (form.crudMode) { case CrudMode.CREATE: final StopwordsItem entity = new StopwordsItem(0, StringUtil.EMPTY); return OptionalEntity.of(entity); case CrudMode.EDIT: if (form instanceof EditForm) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0)