Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 259 for helper (0.03 seconds)

  1. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            assertNotNull(helper.duplicateHostList);
            assertEquals(1, helper.duplicateHostList.size());
            assertEquals("www.test.com", helper.duplicateHostList.get(0).getRegularName());
        }
    
        @Test
        public void test_add_withNullList() {
            DuplicateHostHelper helper = new DuplicateHostHelper();
            helper.duplicateHostList = null;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            LogNotificationHelper helper = new LogNotificationHelper();
            // destroy() without init() should not throw NPE because of null checks
            helper.destroy();
        }
    
        @Test
        public void test_init_destroy_multipleRounds() {
            LogNotificationHelper helper = new LogNotificationHelper();
            helper.init();
            helper.destroy();
            // Second round
            helper.init();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. CLAUDE.md

    ### Service
    - Inject behaviors (Bhv) for data access
    - Use `OptionalEntity<T>` for nullable returns
    - Plain classes (no extends/implements)
    
    ### Helper
    - Stateless utility classes
    - Access via `ComponentUtil.getXyzHelper()`
    - Named with "Helper" suffix
    
    ### DBFlute Generated Code
    ```
    opensearch/{index}/
    ├── bsentity/, bsbhv/    # Base classes (DO NOT EDIT)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java

            } catch (final Exception e) {
                return;
            }
    
            final LogNotificationHelper helper;
            try {
                helper = ComponentUtil.getLogNotificationHelper();
            } catch (final Exception e) {
                return;
            }
    
            final List<LogNotificationEvent> events = helper.drainAll();
            if (events.isEmpty()) {
                return;
            }
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/OsddHelper.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.commons.lang3.StringUtils;
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

        /**
         * Default constructor for DuplicateHostHelper.
         * Creates a new duplicate host helper instance.
         */
        public DuplicateHostHelper() {
            // Default constructor
        }
    
        /**
         * Initializes the duplicate host helper after construction.
         * Loads duplicate host configurations from the DuplicateHostService.
         */
        @PostConstruct
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

    import org.apache.logging.log4j.core.config.plugins.PluginElement;
    import org.apache.logging.log4j.core.config.plugins.PluginFactory;
    import org.codelibs.fess.helper.LogNotificationHelper;
    import org.codelibs.fess.helper.LogNotificationHelper.LogNotificationEvent;
    
    /**
     * Custom Log4j2 Appender that captures log events into a buffer for notification purposes.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/RelatedContentService.java

            return relatedContentBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a related content entity.
         * After storing, updates the related content helper to refresh the cache.
         *
         * @param relatedContent the RelatedContent entity to store
         */
        public void store(final RelatedContent relatedContent) {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top