Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 155 for getID (0.02 seconds)

  1. src/main/java/org/codelibs/fess/entity/ChatMessage.java

            return new ChatMessage(ROLE_ASSISTANT, content);
        }
    
        /**
         * Gets the message ID.
         *
         * @return the message ID
         */
        public String getId() {
            return id;
        }
    
        /**
         * Sets the message ID.
         *
         * @param id the message ID
         */
        public void setId(final String id) {
            this.id = id;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("=>output", item.toLineString());
        }
    
        @Test
        public void test_getId() {
            // Test getId method from parent class
            CharMappingItem item = new CharMappingItem(42L, new String[] { "input" }, "output");
            assertEquals(42L, item.getId());
        }
    
        @Test
        public void test_getCreatedBy_getCreatedTime() {
            // Test inherited methods from DictionaryItem
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

         *
         * @param configId the configuration ID to process
         * @return the actual ID without the type prefix, or null if the config ID is invalid
         */
        protected String getId(final String configId) {
            if (configId == null || configId.length() < 2) {
                return null;
            }
            return configId.substring(1);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

            Status(final int id) {
                this.id = id;
            }
    
            /**
             * Gets the numeric ID of the status.
             * @return The numeric ID of the status.
             */
            public int getId() {
                return id;
            }
        }
    
        /**
         * Represents the base API response structure.
         */
        public static class ApiResponse {
            /** The version of the product. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                if (name.startsWith(DATA_STORE.getId())) {
                    return DATA_STORE;
                }
                if (name.startsWith(THEME.getId())) {
                    return THEME;
                }
                if (name.startsWith(INGEST.getId())) {
                    return INGEST;
                }
                if (name.startsWith(SCRIPT.getId())) {
                    return SCRIPT;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                    org.codelibs.fess.crawler.entity.ResultData resultData) {
                // Initialize test access result
            }
    
            @Override
            public String getId() {
                return "test_id";
            }
    
            @Override
            public String getSessionId() {
                return "test_session";
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

            assertEquals(25, pager.getPageSize()); // Default page size
        }
    
        @Test
        public void test_crawlingInfo_entity() {
            final CrawlingInfo info = new CrawlingInfo();
            assertNull(info.getId());
            assertNull(info.getSessionId());
            assertNull(info.getName());
            assertNull(info.getExpiredTime());
            assertNull(info.getCreatedTime());
    
            info.setId("info-id");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/web/api/ApiResultTest.java

        @Test
        public void test_Status_OK() {
            assertEquals(0, Status.OK.getId());
        }
    
        @Test
        public void test_Status_BAD_REQUEST() {
            assertEquals(1, Status.BAD_REQUEST.getId());
        }
    
        @Test
        public void test_Status_SYSTEM_ERROR() {
            assertEquals(2, Status.SYSTEM_ERROR.getId());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 4.5K bytes
    - Click Count (0)
Back to Top