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

    Constructors
    Constructor
    Description
    SearchHandler(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 Type
    Method
    Description
    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)
     
    boolean
    supportsParameter(org.springframework.core.MethodParameter methodParameter)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      supportsParameter in interface org.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:
      resolveArgument in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
      Throws:
      Exception