Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 125 for hook (0.03 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

         *
         * @param form the create form containing the item data
         * @param hook the validation error hook
         * @return optional entity containing the created stopwords item
         */
        public static OptionalEntity<StopwordsItem> createStopwordsItem(final CreateForm form, final VaErrorHook hook) {
            return getEntity(form).map(entity -> {
                final String newInput = form.input;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        //                                                                               Hook
        //                                                                              ======
        // to suppress unexpected override by sub-class
        // you should remove the 'final' if you need to override this
        /**
         * Hook method called before action execution.
         * This method refreshes the user information if a user is logged in
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

        /**
         * Get the protected word item.
         * @param form The create form.
         * @param hook The error hook.
         * @return The protected word item.
         */
        protected OptionalEntity<ProtwordsItem> createProtwordsItem(final CreateForm form, final VaErrorHook hook) {
            try {
                return createProtwordsItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        }
    
        // Test hook method when MultiThreadedHttpConnectionManager class is not available
        @Test
        public void test_hook_classNotFound() {
            // Create a custom hook that simulates class not found scenario
            FessCurtainFinallyHook customHook = new FessCurtainFinallyHook() {
                @Override
                public void hook(final FwAssistantDirector assistantDirector) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         * @param hook the validation error hook for handling errors
         * @return OptionalEntity containing the created synonym item or empty if creation failed
         */
        protected OptionalEntity<SynonymItem> createSynonymItem(final CreateForm form, final VaErrorHook hook) {
            try {
                return createSynonymItem(this, form, hook);
            } catch (final ValidationErrorException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

        /**
         * Create a kuromoji item.
         * @param form The create form.
         * @param hook The error hook.
         * @return An optional entity of a kuromoji item.
         */
        protected OptionalEntity<KuromojiItem> createKuromojiItem(final CreateForm form, final VaErrorHook hook) {
            try {
                return createKuromojiItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

         * Create a char mapping item.
         * @param form The create form.
         * @param hook The error hook.
         * @return An optional entity of a char mapping item.
         */
        protected OptionalEntity<CharMappingItem> createCharMappingItem(final CreateForm form, final VaErrorHook hook) {
            try {
                return createCharMappingItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            return super.godHandPrologue(runtime);
        }
    
        /**
         * Hook method called before action execution.
         * <p>
         * This method logs user access activity for the current request.
         * </p>
         *
         * @param runtime the action runtime context
         * @return the action response from the parent hook
         */
        @Override
        public ActionResponse hookBefore(final ActionRuntime runtime) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHook.java

    import org.lastaflute.core.direction.CurtainBeforeHook;
    import org.lastaflute.core.direction.FwAssistantDirector;
    
    /**
     * The hook before curtain.
     *
     * @author jflute
     */
    public class FessCurtainBeforeHook implements CurtainBeforeHook {
    
        @Override
        public void hook(final FwAssistantDirector assistantDirector) {
            processDBFluteSystem();
        }
    
        protected void processDBFluteSystem() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

    import org.lastaflute.core.direction.FwAssistantDirector;
    
    /**
     * The hook for curtain finally.
     *
     * @author jflute
     */
    public class FessCurtainFinallyHook implements CurtainFinallyHook {
    
        private static final Logger logger = LogManager.getLogger(FessCurtainFinallyHook.class);
    
        @Override
        public void hook(final FwAssistantDirector assistantDirector) {
            shutdownCommonsHttpClient();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top