- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for Bean (0.02 sec)
-
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) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/app/service/GroupService.java
}); } /** * Sets up the search conditions for group list queries based on pager criteria. * Configures the condition bean with ID filtering and ordering by name. * * @param cb the condition bean for building the query * @param groupPager the pager containing search and filter criteria */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
// ============ protected JsonResponse<ApiResult> asJson(final ApiResult bean) { return new JsonResponse<>(bean); } protected ApiResult createFailureBean(final Status status, final String message) { return new ApiErrorResponse().message(message).status(status).result(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* } * } * </pre> * * @author higa * @see BeanDescFactory */ public interface BeanDesc { /** * Returns the class of the Bean. * * @param <T> * The class of the Bean * @return The class of the Bean */ <T> Class<T> getBeanClass(); /** * Returns a map from type variables to type arguments. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
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) -
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)