Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for getIii (0.04 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        public void test_getId() {
            // Test getId method from parent class
            StopwordsItem item1 = new StopwordsItem(0, "word1");
            assertEquals(0, item1.getId());
    
            StopwordsItem item2 = new StopwordsItem(999, "word2");
            assertEquals(999, item2.getId());
    
            StopwordsItem item3 = new StopwordsItem(-1, "word3");
            assertEquals(-1, item3.getId());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

        public void store(final ElevateWord elevateWord) {
            final boolean isNew = elevateWord.getId() == null;
            final String[] labelTypeIds = elevateWord.getLabelTypeIds();
    
            elevateWordBhv.insertOrUpdate(elevateWord, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            final String elevateWordId = elevateWord.getId();
            if (labelTypeIds != null) {
                if (isNew) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        public void test_getId() {
            // Test getId method inherited from DictionaryItem
            ProtwordsItem item1 = new ProtwordsItem(0, "word");
            assertEquals(0, item1.getId());
    
            ProtwordsItem item2 = new ProtwordsItem(999, "word");
            assertEquals(999, item2.getId());
    
            ProtwordsItem item3 = new ProtwordsItem(-1, "word");
            assertEquals(-1, item3.getId());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
            // Verify they don't affect each other
            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
        }
    
        public void test_constructor() {
            // Test that constructor creates a valid instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            final List<ScheduledJob> scheduledJobs = new ArrayList<>();
    
            // Create test scheduled jobs
            ScheduledJob job1 = new ScheduledJob() {
                @Override
                public String getId() {
                    return "job1";
                }
    
                @Override
                public String getTarget() {
                    return "all";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            }
        }
    
        // Test getId method
        public void test_getId() {
            // Test normal ID
            TestSearchLogEvent event = new TestSearchLogEvent("test-id-123", 1L, "search");
            assertEquals("test-id-123", event.getId());
    
            // Test ID change
            event.setId("new-id-456");
            assertEquals("new-id-456", event.getId());
    
            // Test null ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

                return null;
            });
            kuromojiService.store(body.dictId, entity);
            return asJson(
                    new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Updates an existing Kuromoji dictionary item.
         *
         * @param dictId the dictionary ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

                return null;
            });
            protwordsService.store(body.dictId, entity);
            return asJson(
                    new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Update an existing protected words entry in the specified dictionary.
         *
         * @param dictId identifier of the dictionary
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                try {
                                    writer.write("{\"index\":{\"_index\":\"" + hit.getIndex() + "\",\"_id\":\""
                                            + StringEscapeUtils.escapeJson(hit.getId()) + "\"}}\n");
                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
                                } catch (final IOException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/JobHelper.java

                ComponentUtil.getComponent(ScheduledJobBhv.class)
                        .selectByPK(scheduledJob.getId())
                        .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e))
                        .orElse(() -> {
                            logger.warn("Job {} is not found.", scheduledJob.getId());
                        });
                return params;
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top