Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for OptionalEntity (0.13 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                    final WebConfig webConfig = new WebConfig();
                    webConfig.setId("01T");
                    webConfig.setName("__TEMPLATE__");
                    return OptionalEntity.of(webConfig);
                }
            }, WebConfigService.class.getCanonicalName());
            ComponentUtil.register(new FileConfigService() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  2. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         * This allows customization of the configuration directory location in containerized deployments.
         *
         * @return an OptionalEntity containing the override configuration path if set and running in Docker,
         *         or empty OptionalEntity otherwise
         */
        public static OptionalEntity<String> getOverrideConfPath() {
            if (FESS_APP_DOCKER.equalsIgnoreCase(getAppType())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

        }
    
        /**
         * Retrieves a specific related content entity by its ID.
         *
         * @param id the unique identifier of the related content
         * @return an OptionalEntity containing the RelatedContent if found, empty otherwise
         */
        public OptionalEntity<RelatedContent> getRelatedContent(final String id) {
            return relatedContentBhv.selectByPK(id);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/GroupService.java

        }
    
        /**
         * Retrieves a specific group by its ID and applies LDAP manager settings.
         *
         * @param id the unique identifier of the group
         * @return an OptionalEntity containing the group if found, empty otherwise
         */
        public OptionalEntity<Group> getGroup(final String id) {
            return groupBhv.selectByPK(id).map(g -> {
                ComponentUtil.getLdapManager().apply(g);
                return g;
            });
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

                    return OptionalEntity.of(permissionSet);
                }).orElseThrow(() -> new InvalidAccessTokenException("invalid_token", "Invalid token: " + token));
            }
            return OptionalEntity.empty();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top