Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 173 for getRid (0.04 seconds)

  1. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

         *
         * @param fileConfig the file configuration to be deleted
         */
        public void delete(final FileConfig fileConfig) {
    
            final String fileConfigId = fileConfig.getId();
    
            fileConfigBhv.delete(fileConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            fileAuthenticationBhv.queryDelete(cb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertEquals(1L, item1.getId());
            assertArrayEquals(new String[] { "a", "b" }, item1.getInputs());
            assertEquals("c", item1.getOutput());
    
            OptionalEntity<CharMappingItem> result2 = charMappingFile.get(2L);
            assertTrue(result2.isPresent());
            CharMappingItem item2 = result2.get();
            assertEquals(2L, item2.getId());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

                    final ScheduledJob job = (ScheduledJob) jobRuntime.getParameterMap().get(Constants.SCHEDULED_JOB);
                    if (job != null) {
                        prop.setProperty("job.runtime.id", job.getId());
                        prop.setProperty("job.runtime.name", job.getName());
                    }
                }
                prop.store(out, cmdList.toString());
            } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            OptionalEntity<ProtwordsItem> item = protwordsFile.get(1);
            assertTrue(item.isPresent());
            assertEquals("test1", item.get().getInput());
            assertEquals(1, item.get().getId());
        }
    
        @Test
        public void test_get_notFound() {
            // Load data first
            protwordsFile.reload(null);
    
            // Test getting non-existing item
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                            + "\"}}\n" + hit.getSourceAsString() + "\n";
                    try {
                        zos.write(data.getBytes(Constants.CHARSET_UTF_8));
                    } catch (final IOException e) {
                        logger.warn("Failed to access /{}/{}.", index, hit.getId(), e);
                    }
                    return true;
                });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            this.path = path;
            this.timestamp = timestamp;
        }
    
        /**
         * Returns the unique identifier of this dictionary file.
         *
         * @return the dictionary file ID
         */
        public String getId() {
            return id;
        }
    
        /**
         * Gets the file path of this dictionary.
         *
         * @return the file path
         */
        public String getPath() {
            return path;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

         * @param protwordsItem the item to store
         */
        public void store(final String dictId, final ProtwordsItem protwordsItem) {
            getProtwordsFile(dictId).ifPresent(file -> {
                if (protwordsItem.getId() == 0) {
                    file.insert(protwordsItem);
                } else {
                    file.update(protwordsItem);
                }
            });
        }
    
        /**
         * Deletes a protected words item.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(true).status(ApiResult.Status.OK).result());
        }
    
        // PUT /api/admin/elevateword/setting
        /**
         * Updates an existing elevate word setting.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

    import org.codelibs.fess.crawler.client.smb.SmbClient;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    
    public interface CrawlingConfig {
    
        String getId();
    
        String getName();
    
        String[] getPermissions();
    
        String[] getVirtualHosts();
    
        String getDocumentBoost();
    
        String getIndexingTarget(String input);
    
        String getConfigId();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + index + "\",\"_id\":\""
                                            + StringEscapeUtils.escapeJson(hit.getId()) + "\"}}\n");
                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
                                } catch (final IOException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top