|
|
|
|
@ -21,9 +21,9 @@ import java.lang.annotation.RetentionPolicy;
@@ -21,9 +21,9 @@ import java.lang.annotation.RetentionPolicy;
|
|
|
|
|
import java.lang.annotation.Target; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Annotation to customize the binding of HTTP request parameters to a Querydsl {@link com.mysema.query.types.Predicate} |
|
|
|
|
* in Spring MVC handler methods. |
|
|
|
|
* |
|
|
|
|
* Annotation to customize the binding of HTTP request parameters to a Querydsl |
|
|
|
|
* {@link com.querydsl.core.types.Predicate} in Spring MVC handler methods. |
|
|
|
|
* |
|
|
|
|
* @author Christoph Strobl |
|
|
|
|
* @author Oliver Gierke |
|
|
|
|
* @since 1.11 |
|
|
|
|
@ -33,9 +33,9 @@ import java.lang.annotation.Target;
@@ -33,9 +33,9 @@ import java.lang.annotation.Target;
|
|
|
|
|
public @interface QuerydslPredicate { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* The root type to create the {@link com.mysema.query.types.Predicate}. Specify this explicitly if the type is not |
|
|
|
|
* The root type to create the {@link com.querydsl.core.types.Predicate}. Specify this explicitly if the type is not |
|
|
|
|
* contained in the controller method's return type. |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
Class<?> root() default Object.class; |
|
|
|
|
@ -45,7 +45,7 @@ public @interface QuerydslPredicate {
@@ -45,7 +45,7 @@ public @interface QuerydslPredicate {
|
|
|
|
|
* {@link QuerydslBinderCustomizer} can be specified here. We'll try to obtain a Spring bean of this type but fall |
|
|
|
|
* back to a plain instantiation if no bean is found in the current |
|
|
|
|
* {@link org.springframework.beans.factory.BeanFactory}. |
|
|
|
|
* |
|
|
|
|
* |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|
@SuppressWarnings("rawtypes") |
|
|
|
|
|