Package foundation.jpa.querydsl.spring
Class SearchHandler
java.lang.Object
foundation.jpa.querydsl.spring.SearchHandler
- All Implemented Interfaces:
org.springframework.web.method.support.HandlerMethodArgumentResolver
public class SearchHandler
extends Object
implements org.springframework.web.method.support.HandlerMethodArgumentResolver
-
Constructor Summary
ConstructorsConstructorDescriptionSearchHandler(SearchCriteriaHandler searchCriteriaHandler, SearchEngine searchEngine, javax.inject.Provider<foundation.jpa.querydsl.QueryVariables> variables) SearchHandler(javax.persistence.EntityManager entityManager, javax.inject.Provider<foundation.jpa.querydsl.QueryVariables> variables) -
Method Summary
Modifier and TypeMethodDescriptionresolveArgument(org.springframework.core.MethodParameter methodParameter, org.springframework.web.method.support.ModelAndViewContainer modelAndViewContainer, org.springframework.web.context.request.NativeWebRequest nativeWebRequest, org.springframework.web.bind.support.WebDataBinderFactory webDataBinderFactory) booleansupportsParameter(org.springframework.core.MethodParameter methodParameter)
-
Constructor Details
-
SearchHandler
public SearchHandler(SearchCriteriaHandler searchCriteriaHandler, SearchEngine searchEngine, javax.inject.Provider<foundation.jpa.querydsl.QueryVariables> variables) -
SearchHandler
public SearchHandler(javax.persistence.EntityManager entityManager, javax.inject.Provider<foundation.jpa.querydsl.QueryVariables> variables)
-
-
Method Details
-
supportsParameter
public boolean supportsParameter(org.springframework.core.MethodParameter methodParameter) - Specified by:
supportsParameterin interfaceorg.springframework.web.method.support.HandlerMethodArgumentResolver
-
resolveArgument
public Object resolveArgument(org.springframework.core.MethodParameter methodParameter, org.springframework.web.method.support.ModelAndViewContainer modelAndViewContainer, org.springframework.web.context.request.NativeWebRequest nativeWebRequest, org.springframework.web.bind.support.WebDataBinderFactory webDataBinderFactory) throws Exception - Specified by:
resolveArgumentin interfaceorg.springframework.web.method.support.HandlerMethodArgumentResolver- Throws:
Exception
-