Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for copyMapToBean (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

         * This is a utility method that wraps BeanUtil.copyMapToBean with custom options.
         *
         * @param src the source map containing property values
         * @param dest the destination bean object
         * @param option a consumer function to configure copy options
         */
        protected static void copyMapToBean(final Map<String, ? extends Object> src, final Object dest, final Consumer<CopyOptions> option) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

         * @param form the create form
         * @return optional group entity
         */
        public static OptionalEntity<Group> getGroup(final CreateForm form) {
            return getEntity(form).map(entity -> {
                copyMapToBean(form.attributes, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
                copyBeanToBean(form, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
                return entity;
            });
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 16K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

         * @return optional user entity populated from the form
         */
        public static OptionalEntity<User> getUser(final CreateForm form) {
            return getEntity(form).map(entity -> {
                copyMapToBean(form.attributes, entity, op -> op.exclude(Constants.COMMON_CONVERSION_RULE));
                copyBeanToBean(form, entity, op -> op.exclude(ArrayUtils.addAll(Constants.COMMON_CONVERSION_RULE, "password")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 21K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

                    stream(toAddresses).of(stream -> stream.forEach(address -> {
                        postcard.addTo(address);
                    }));
                    BeanUtil.copyMapToBean(dataMap, postcard);
                });
                saveInfo(messages -> messages.addSuccessSendTestmail(GLOBAL));
                updateProperty(Constants.NOTIFICATION_TO_PROPERTY, form.notificationTo);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 05:54:31 GMT 2026
    - 27.2K bytes
    - Click Count (0)
Back to Top