Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for Bean (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

            sessionManager.errors().saveMessages(messages);
        }
    
        /**
         * Copies properties from source bean to destination bean.
         * This is a utility method that wraps BeanUtil.copyBeanToBean with custom options.
         *
         * @param src the source bean object
         * @param dest the destination bean object
         * @param option a consumer function to configure copy options
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            TestBean bean = new TestBean();
    
            // Test null value (should be valid)
            bean.setCronExpression(null);
            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test empty string (should be valid)
            bean.setCronExpression("");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

              (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null);
          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToBean_converter() throws Exception {
            final Bean bean = new Bean();
            bean.aaa = "1,000";
            final Bean2 bean2 = new Bean2();
            BeanUtil.copyBeanToBean(bean, bean2, converter(new NumberConverter("#,##0")));
            assertThat(bean2.aaa, is(Integer.valueOf(1000)));
        }
    
        /**
         * @throws Exception
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

        /**
         * Performs a search operation using the specified query and parameters.
         *
         * @param query the search query string
         * @param params the search request parameters
         * @param userBean the optional user bean for access control
         * @return the search result containing documents and metadata
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            }
        }
    
        /**
         * Copies the source Bean to a new instance of the destination Bean and returns it.
         *
         * @param <T> The type of the destination Bean.
         * @param src The source Bean. Must not be {@literal null}.
         * @param destClass The type of the destination Bean. Must not be {@literal null}.
         * @return The newly copied Bean.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. README.md

    nameProperty.setValue(bean, "John Doe");
    
    // Bean copying with flexible options
    BeanUtil.copyBeanToBean(source, destination);
    BeanUtil.copyBeanToBean(source, destination, options -> 
        options.exclude("password", "internalId"));
    
    // Convert between beans and maps
    Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean);
    MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class);
    ```
    
    ### Type Conversion
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            FessUserBean anotherBean = new FessUserBean(anotherUser);
            assertSame(anotherUser, anotherBean.getFessUser());
        }
    
        public void test_empty() {
            // Test empty user bean creation
            FessUserBean emptyBean = FessUserBean.empty();
            assertNotNull(emptyBean);
    
            // Test getUserId returns EMPTY_USER_ID
            assertEquals(Constants.EMPTY_USER_ID, emptyBean.getUserId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultiset.java

       * multisets ("constant multisets"). Example:
       *
       * {@snippet :
       * public static final ImmutableMultiset<Bean> BEANS =
       *     new ImmutableMultiset.Builder<Bean>()
       *         .addCopies(Bean.COCOA, 4)
       *         .addCopies(Bean.GARDEN, 6)
       *         .addCopies(Bean.RED, 8)
       *         .addCopies(Bean.BLACK_EYED, 10)
       *         .build();
       * }
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            }).orElse(null);
        }
    
        /**
         * Extracts the user code from the user bean stored in the session.
         * This method retrieves the authenticated user information and creates an encrypted user code.
         *
         * @param request the HTTP servlet request
         * @return the user code from the user bean, or null if not found or invalid
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top