Skip to Content
0
Former Member
Apr 20, 2017 at 06:11 PM

Is there a way to extend GenericConditionQueryBuilder and reference as genericQueryBuilder of platformFieldSearchFacadeStrategy?

50 Views

Hi,

I tried extending the GenericConditionQueryBuilder class for overriding buildQuery method and I kept the extended class bean's alias and name as the OOTB ones as below.

 <bean id="CustomGenericConditionQueryBuilder"
       class="classpath.CustomGenericConditionQueryBuilder" parent="defaultGenericQueryBuilder">
       <property name="typeService" ref="typeService"/>
 </bean>

But my custom class is not getting called on execution. Only the OOTB class GenericConditionQueryBuilder is getting called.

Is there anything am missing?