Uses of Class
com.funnelback.publicui.search.model.transaction.SearchTransaction
-
Packages that use SearchTransaction Package Description com.funnelback.publicui.search.model.collection.facetednavigation Provides classes representing the faceted navigation configuration, as infaceted_navigation.cfg.com.funnelback.publicui.search.model.collection.facetednavigation.impl Provides facets definition implementations (GScopeItem, Metadata field fill, etc.).com.funnelback.publicui.search.model.curator.action Provides classes representing Curator system actions.com.funnelback.publicui.search.model.curator.config Provides classes representing the Curator system's configuration, including actions (what should happen) and triggers (when should it happen).com.funnelback.publicui.search.model.curator.trigger Provides classes representing Curator system triggers (controls when Action objects are executed).com.funnelback.publicui.search.model.transaction Provides classes used for a search transaction, from the input parameters to the search results. -
-
Uses of SearchTransaction in com.funnelback.publicui.search.model.collection.facetednavigation
Methods in com.funnelback.publicui.search.model.collection.facetednavigation with parameters of type SearchTransaction Modifier and Type Method Description abstract java.util.List<CategoryValueComputedDataHolder>CategoryDefinition. computeData(SearchTransaction st, FacetDefinition fdef)java.util.List<Facet.CategoryValue>CategoryDefinition. computeValues(SearchTransaction st, FacetDefinition fdef)Generates a list of correspondingFacet.CategoryValueby applying this category type rule over aResultPacket.protected CategoryDefinition.FacetSearchDataCategoryDefinition. getFacetSearchData(SearchTransaction st, FacetDefinition facetDefinition)booleanFacetedNavigationProperties. useDedicatedExtraSearchForCounts(FacetDefinition facet, SearchTransaction searchTransaction)Do we need to run a dedicated extra search to work out the counts? For a selected facet that is a OR type facet we do because the result set could be expanded when selected.booleanFacetedNavigationProperties. useScopedSearchWithFacetDisabledForCounts(FacetDefinition facet, SearchTransaction searchTransaction)booleanFacetedNavigationProperties. useScopedSearchWithFacetDisabledForValues(FacetDefinition facet, SearchTransaction searchTransaction)booleanFacetedNavigationProperties. useUnscopedQueryForCounts(FacetDefinition facet, SearchTransaction searchTransaction)Can we use the counts from the unscoped query? We can do this for single select unselect other facets as the count from the unscoped query will be the same as selecting any value which will first remove any facets (like the unscoped query) and then apply a single constraint (which we can count from the unscoped query). -
Uses of SearchTransaction in com.funnelback.publicui.search.model.collection.facetednavigation.impl
-
Uses of SearchTransaction in com.funnelback.publicui.search.model.curator.action
Methods in com.funnelback.publicui.search.model.curator.action with parameters of type SearchTransaction Modifier and Type Method Description (package private) static voidRemoveUrls. addUrlsStringToRemoveList(SearchTransaction searchTransaction, java.lang.String urlsToRemove)Add URLs for removal to the searchTranaction.voidAddQueryTerm. performAction(SearchTransaction searchTransaction, Action.Phase phase)Add the specified query term to the user's query via the 's' parameter.voidDisplayMessage. performAction(SearchTransaction searchTransaction, Action.Phase phase)Add the given message to the curator model's exhibits in the given searchTransaction.voidDisplayProperties. performAction(SearchTransaction searchTransaction, Action.Phase phase)Adds the action's properties object to the curator model's exhibits.voidDisplayUrlAdvert. performAction(SearchTransaction searchTransaction, Action.Phase phase)Adds the action's URL advert object to the curator model's exhibits and removes any result with the same URL from the main search results.voidGroovyAction. performAction(SearchTransaction searchTransaction, Action.Phase phase)Performs the desired action (by calling performAction on an instance of the specified Groovy class).voidGroovyActionInterface. performAction(SearchTransaction searchTransaction, Action.Phase phase, java.util.Map<java.lang.String,java.lang.Object> properties)Perform the desired action by modifying the passed searchTransaction.voidPromoteUrls. performAction(SearchTransaction searchTransaction, Action.Phase phase)Appends this instance's urlsToPromote to the list of URLs for promotion which will be given to padre.voidRemoveUrls. performAction(SearchTransaction searchTransaction, Action.Phase phase)Appends this instance's urlsToRemove to the list of URLs for removal which will be given to padre.voidReplaceQueryTerm. performAction(SearchTransaction searchTransaction, Action.Phase phase)Replace occurrences of target with replacement within the question's query and metaParameters.voidSetQuery. performAction(SearchTransaction searchTransaction, Action.Phase phase)Replace occurrences of target with replacement within the question's query and metaParameters.voidTransformQuery. performAction(SearchTransaction searchTransaction, Action.Phase phase)Replace occurrences of target with replacement within the question's query and metaParameters. -
Uses of SearchTransaction in com.funnelback.publicui.search.model.curator.config
Methods in com.funnelback.publicui.search.model.curator.config with parameters of type SearchTransaction Modifier and Type Method Description booleanTrigger. activatesOn(SearchTransaction searchTransaction)static booleanCuratorConfig. isCuratorActive(SearchTransaction searchTransaction)Determines, based on the given searchTransaction, whether the curator system should be activated.voidAction. performAction(SearchTransaction searchTransaction, Action.Phase phase)Perform the defined action by modifying the searchTransaction object.voidActionSet. performActions(SearchTransaction searchTransaction, Action.Phase phase)Perform any actions within the set should be run in the given phase.static java.lang.StringTrigger. queryToMatchAgainst(SearchTransaction searchTransaction)Reads FrontEnd.ModernUi.Curator.QUERY_PARAMETER_PATTERN, finds matching input parameters and returns a single query for matching against. -
Uses of SearchTransaction in com.funnelback.publicui.search.model.curator.trigger
Methods in com.funnelback.publicui.search.model.curator.trigger with parameters of type SearchTransaction Modifier and Type Method Description booleanAllQueryWordsTrigger. activatesOn(SearchTransaction searchTransaction)Check the given searchTransaction to see if the query contains all the required words for this trigger.booleanAndTrigger. activatesOn(SearchTransaction searchTransaction)Check each 'sub' trigger in turn to see if it activates on the given searchTransaction, and return true only if they all activate (otherwise return false).booleanCountryNameTrigger. activatesOn(SearchTransaction searchTransaction)Check whether the given searchTransaction originates from a country listed in targetCountries.booleanDateRangeTrigger. activatesOn(SearchTransaction searchTransaction)Check whether the server's current time falls between the startDate and endDate, and return true if it does and false otherwise.booleanExactQueryTrigger. activatesOn(SearchTransaction searchTransaction)Return true if the query within searchTransaction exactly matches the triggerQuery (subject to ignoreCase), otherwise return false.booleanFacetSelectionTrigger. activatesOn(SearchTransaction searchTransaction)Check whether the given searchTransaction contains a selected category in the facetName facet which matches (as defined by matchType) the categoryValue parameter.booleanGroovyTrigger. activatesOn(SearchTransaction searchTransaction)Check the given searchTransaction to see if the trigger activates on this request.booleanGroovyTriggerInterface. activatesOn(SearchTransaction searchTransaction, java.util.Map<java.lang.String,java.lang.Object> properties)booleanNotAnyTrigger. activatesOn(SearchTransaction searchTransaction)Check each 'sub' trigger in turn to see if it activates on the given searchTransaction, and return true only if none of them activate (otherwise return false).booleanOrTrigger. activatesOn(SearchTransaction searchTransaction)Check each 'sub' trigger in turn to see if it activates on the given searchTransaction, and return true only if one of them does (otherwise return false).booleanQueryRegularExpressionTrigger. activatesOn(SearchTransaction searchTransaction)Return true if the query within the searchTransaction matches the triggerPatter, otherwise return falsebooleanQuerySubstringTrigger. activatesOn(SearchTransaction searchTransaction)Return true if the current query in searchTransaction contains the triggerSubstring, otherwise return false.booleanRequestParameterTrigger. activatesOn(SearchTransaction searchTransaction)Check whether the given searchTransaction contains a parameter of the given name which matches (as defined by matchType) the value.booleanUserSegmentTrigger. activatesOn(SearchTransaction searchTransaction)Check whether the given searchTransaction originates from a country listed in targetCountries. -
Uses of SearchTransaction in com.funnelback.publicui.search.model.transaction
Fields in com.funnelback.publicui.search.model.transaction with type parameters of type SearchTransaction Modifier and Type Field Description private java.util.Map<java.lang.String,SearchTransaction>SearchTransaction. extraSearchesAny additional extra search transactions performed during this transaction.private java.util.Optional<SearchTransaction>SearchTransaction. parentTransactionHolds the parent search transaction from which this search transaction was created under.Methods in com.funnelback.publicui.search.model.transaction that return types with arguments of type SearchTransaction Modifier and Type Method Description java.util.Map<java.lang.String,SearchTransaction>SearchTransaction. getExtraSearches()Any additional extra search transactions performed during this transaction.java.util.Optional<SearchTransaction>SearchTransaction. getParentTransaction()Holds the parent search transaction from which this search transaction was created under.Methods in com.funnelback.publicui.search.model.transaction with parameters of type SearchTransaction Modifier and Type Method Description static booleanSearchTransactionUtils. hasCollection(SearchTransaction st)Checks that a transaction has a question which has a collection.static booleanSearchTransactionUtils. hasQuery(SearchTransaction st)Checks that a transaction has a question which has query.static booleanSearchTransactionUtils. hasQueryAndCollection(SearchTransaction st)Checks that a transaction has question which has a query and a collection.static booleanSearchTransactionUtils. hasQuestion(SearchTransaction st)Checks that a transaction has a question.static booleanSearchTransactionUtils. hasResponse(SearchTransaction st)Checks that a transaction has a response.static booleanSearchTransactionUtils. hasResultPacket(SearchTransaction st)Checks that a transaction has a response which has a result packetstatic booleanSearchTransactionUtils. hasResults(SearchTransaction st)Checks that a transaction has a response which has results.static booleanSearchTransactionUtils. hasSession(SearchTransaction st)Checks that a transaction has session datavoidTransactionFacetedNavigationConfigHelper. updateTheFacetConfigToUse(SearchTransaction st, FacetedNavigationConfig facetedNavigationConfig)Updates the search transaction so that the given faceted nav config is used.
-