Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getFileConfig (0.14 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                    return ComponentUtil.getComponent(FileConfigService.class).getFileConfig(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
            return OptionalEntity.empty();
        }
    
        public static OptionalEntity<FileConfig> getFileConfig(final CreateForm form) {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

     */
    package org.codelibs.fess.app.web.api.admin.fileconfig;
    
    import static org.codelibs.core.stream.StreamUtil.stream;
    import static org.codelibs.fess.app.web.admin.fileconfig.AdminFileconfigAction.getFileConfig;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    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/es/config/exentity/FileAuthentication.java

            asDocMeta().version(version);
        }
    
        public FileConfig getFileConfig() {
            if (fileConfig == null) {
                final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                try {
                    fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get();
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. 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();
            assertEquals(3, labelTypes.length);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

            });
    
            fileAuthenticationBhv.queryDelete(cb -> {
                cb.query().setFileConfigId_Equal(fileConfigId);
            });
        }
    
        public OptionalEntity<FileConfig> getFileConfig(final String id) {
            return fileConfigBhv.selectByPK(id);
        }
    
        public OptionalEntity<FileConfig> getFileConfigByName(final String name) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

                copyOp.excludeNull();
            });
            return body;
        }
    
        protected Boolean isValidFileConfigId(final String fileconfigId) {
            return fileConfigService.getFileConfig(fileconfigId).isPresent();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                    }
                    case FILE -> {
                        final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                        yield fileConfigService.getFileConfig(id).get();
                    }
                    case DATA -> {
                        final DataConfigService dataConfigService = ComponentUtil.getComponent(DataConfigService.class);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                }
            }, WebConfigService.class.getCanonicalName());
            ComponentUtil.register(new FileConfigService() {
                @Override
                public OptionalEntity<FileConfig> getFileConfig(final String id) {
                    final FileConfig fileConfig = new FileConfig();
                    fileConfig.setId(id);
                    if (id.endsWith("P")) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        public OptionalEntity<WebConfig> getWebConfig() {
            return OptionalUtil.ofNullable(webConfig);
        }
    
        public OptionalEntity<FileConfig> getFileConfig() {
            return OptionalUtil.ofNullable(fileConfig);
        }
    
        public LabelType[] getLabelTypes() {
            return labelList.toArray(new LabelType[labelList.size()]);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            } finally {
                deleteTempFile(tempFile);
            }
            configParser.getWebConfig().ifPresent(c -> webConfigBhv.insert(c));
            configParser.getFileConfig().ifPresent(c -> fileConfigBhv.insert(c));
            labelTypeBhv.batchInsert(Arrays.stream(configParser.getLabelTypes()).collect(Collectors.toList()));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top