Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 168 for idPresent (0.12 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

        }
    
        // DELETE /api/admin/badword/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                badWordService.getBadWord(id).ifPresent(entity -> {
                    try {
                        badWordService.delete(entity);
                        suggestHelper.deleteBadWord(entity.getSuggestWord());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    processHelper.sendCommand(entity.getSessionId(), Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP);
                    saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

        }
    
        // DELETE /api/admin/dataconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            dataConfigService.getDataConfig(id).ifPresent(entity -> {
                try {
                    dataConfigService.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)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java

        }
    
        // DELETE /api/admin/dict/synonym/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            synonymService.getSynonymItem(dictId, id).ifPresent(entity -> {
                synonymService.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.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        assertEquals(expected.length(), source.length());
      }
    
      public void testLengthIfKnown() throws IOException {
        Optional<Long> lengthIfKnown = source.lengthIfKnown();
        if (lengthIfKnown.isPresent()) {
          assertEquals(expected.length(), (long) lengthIfKnown.get());
        }
      }
    
      public void testReadLines_withProcessor() throws IOException {
        List<String> list =
            source.readLines(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        // DELETE /api/admin/dict/mapping/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            charMappingService.getCharMappingItem(dictId, id).ifPresent(entity -> {
                charMappingService.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)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            stemmerOverrideService.getStemmerOverrideItem(dictId, id).ifPresent(entity -> {
                stemmerOverrideService.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.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            cmdList.add(fessConfig.getJavaCommandPath());
    
            // -cp
            cmdList.add("-cp");
            final StringBuilder buf = new StringBuilder(100);
            ResourceUtil.getOverrideConfPath().ifPresent(p -> {
                buf.append(p);
                buf.append(cpSeparator);
            });
            final String confPath = System.getProperty(Constants.FESS_CONF_PATH);
            if (StringUtil.isNotBlank(confPath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/SuggestJob.java

            cmdList.add(fessConfig.getJavaCommandPath());
    
            // -cp
            cmdList.add("-cp");
            final StringBuilder buf = new StringBuilder(100);
            ResourceUtil.getOverrideConfPath().ifPresent(p -> {
                buf.append(p);
                buf.append(cpSeparator);
            });
            final String confPath = System.getProperty(Constants.FESS_CONF_PATH);
            if (StringUtil.isNotBlank(confPath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

        public void loginFailure(final OptionalThing<LoginCredential> credential) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
            valueMap.put("action", Action.LOGIN_FAILURE.name());
            credential.ifPresent(c -> {
                valueMap.put("class", c.getClass().getSimpleName());
                if (c instanceof final FessCredential fessCredential) {
                    valueMap.put("user", fessCredential.getUserId());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top