Package com.funnelback.plugin
Interface DeprecatedSearchLifeCyclePlugin
-
- All Known Subinterfaces:
SearchLifeCyclePlugin
@Deprecated public interface DeprecatedSearchLifeCyclePlugin
Deprecated.replaced bySearchLifeCyclePlugin
This interface is only used for backwards compatability purpose. Dev should only implement methods fromSearchLifeCyclePlugin
. And must not implement both the old and new methods with the same name.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
postDatafetch(SearchTransaction transaction)
Deprecated.default void
postProcess(SearchTransaction transaction)
Deprecated.default void
preDatafetch(SearchTransaction transaction)
Deprecated.default void
preExtraSearchExecution(SearchTransaction transaction)
Deprecated.default void
preProcess(SearchTransaction transaction)
Deprecated.
-
-
-
Method Detail
-
preProcess
@Deprecated default void preProcess(SearchTransaction transaction)
Deprecated.Runs just after thehook_pre_process.groovy
hook and before any input processing occurs. Manipulation of the query and addition or modification of most question attributes can be made at this point.- Parameters:
transaction
-
-
preDatafetch
@Deprecated default void preDatafetch(SearchTransaction transaction)
Deprecated.Runs just after thehook_pre_datafetch.groovy
hook and after all of the input processing is complete, but just before the query is submitted. This hook can be used to manipulate any additional data model elements that are populated by the input processing. This is most commonly used for modifying faceted navigation.- Parameters:
transaction
-
-
postDatafetch
@Deprecated default void postDatafetch(SearchTransaction transaction)
Deprecated.Runs just after thehook_post_datafetch.groovy
hook which is just after the response object is populated based on the raw XML return, but before other response elements are built. This is most commonly used to modify underlying data before the faceted navigation is built.- Parameters:
transaction
-
-
postProcess
@Deprecated default void postProcess(SearchTransaction transaction)
Deprecated.Runs just after thehook_post_process.groovy
hook. This is used to modify the final data model prior to rendering of the search results.- Parameters:
transaction
-
-
preExtraSearchExecution
@Deprecated default void preExtraSearchExecution(SearchTransaction transaction)
Deprecated.Runs just after the search life cycle sectionextraSearchesInputProcessor
which adds configured extra searches fromui.modern.extra_searches
to the main search transaction. This will run on all search transactions just before extra searches are executed. This hook can be used for adding or removing extra searches that would be executed under the given transaction. This hook does not need to be used for editing theSearchQuestion
of the extra searches since that can be done with the other hooks.- Parameters:
transaction
-
-
-