Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Bean (0.16 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 09:24:04 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

        //                                                                       =============
        /**
         * Creates a user bean from the given user entity.
         *
         * @param user the user entity to create a bean from
         * @return the created user bean
         */
        @Override
        protected FessUserBean createUserBean(final FessUser user) {
            return new FessUserBean(user);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

        }
    
        /**
         * Creates search conditions for search log queries based on pager criteria.
         *
         * @param pager The search log pager containing filter criteria
         * @param cb The search log condition bean to configure
         */
        private void createSearchLogCondition(final SearchLogPager pager, final SearchLogCB cb) {
            if (StringUtil.isNotBlank(pager.queryId)) {
                cb.query().setQueryId_Term(pager.queryId);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        protected static final Object[] EMPTY_ARGS = new Object[0];
    
        /** Empty class array */
        protected static final Class<?>[] EMPTY_PARAM_TYPES = new Class<?>[0];
    
        /** The class of the bean */
        protected final Class<?> beanClass;
    
        /** Map of type arguments and type variables */
        protected final Map<TypeVariable<?>, Type> typeVariables;
    
        /** Map from property name to {@link PropertyDesc} */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                if (data != null) {
                    ((OpenSearchAccessResult) bean).setAccessResultData(new OpenSearchAccessResultData(data));
                }
                setId(bean, id);
                return bean;
            }
            return null;
        }
    
        /**
         * Retrieves a list of documents from the OpenSearch index based on the specified criteria.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
Back to top