Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 32 of 32 for copyBeanToNewBean (0.13 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        // POST /api/admin/elevateword
        @Execute
        public JsonResponse<ApiResult> settings(final SearchBody body) {
            validateApi(body, messages -> {});
            final ElevateWordPager pager = copyBeanToNewBean(body, ElevateWordPager.class);
            final List<ElevateWord> list = elevateWordService.getElevateWordList(pager);
            return asJson(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

         * @throws Exception
         */
        @Test
        public void testCopy_beanToNewBean() throws Exception {
            final MyBean src = new MyBean();
            src.aaa = "aaa";
            final MyBean dest = BeanUtil.copyBeanToNewBean(src, MyBean.class);
            assertThat(dest.aaa, is("aaa"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_beanToNewMap() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top