Class SearchResultImpl<E,Q extends com.querydsl.core.types.EntityPath<E>>
java.lang.Object
foundation.jpa.querydsl.spring.impl.SearchResultImpl<E,Q>
- All Implemented Interfaces:
Search<Q,,E> SearchResult<E>
public class SearchResultImpl<E,Q extends com.querydsl.core.types.EntityPath<E>>
extends Object
implements SearchResult<E>, Search<Q,E>
-
Constructor Summary
ConstructorsConstructorDescriptionSearchResultImpl(SearchCriteria<? extends com.querydsl.core.types.EntityPath<E>> criteria, org.springframework.data.domain.Page<E> page, Throwable error) -
Method Summary
-
Constructor Details
-
SearchResultImpl
public SearchResultImpl(SearchCriteria<? extends com.querydsl.core.types.EntityPath<E>> criteria, org.springframework.data.domain.Page<E> page, Throwable error)
-
-
Method Details
-
getCriteria
- Specified by:
getCriteriain interfaceSearchResult<E>
-
getPage
- Specified by:
getPagein interfaceSearchResult<E>
-
getError
- Specified by:
getErrorin interfaceSearchResult<E>
-
hasError
public boolean hasError()- Specified by:
hasErrorin interfaceSearchResult<E>
-