Class FetchSearchTermAssociationBySearchTermAndTypeCmdImpl

  • All Implemented Interfaces:
    AbstractFetchNounCmd, FetchSearchTermAssociationCmd,,,,,,

    public class FetchSearchTermAssociationBySearchTermAndTypeCmdImpl
    extends AbstractFetchNounUsingBusinessObjectMediatorCmdImpl
    implements FetchSearchTermAssociationCmd
    This command is used to fetch SearchTermAssociation nouns by search term and association type. It uses ReadSearchTermAssociationMediator to fetch the nouns based on the the specified XPath and access profile that are defined in the query template file: wc-query-SearchTermAssociation-get.tpl. The results, including empty results, are cached using the data cache, so that on subsequent calls, a database lookup can be avoided. By default, this class is called when evaluating if a landing page is defined for a search term, as well as when the Marketing engine needs to get the synonyms of a keyword.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void performExecute()
      This method calls the business object manager to execute the search expression that was extracted by the get business object document.
      • Methods inherited from class

        execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
      • Methods inherited from class

        getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface

        execute, isReadyToCallExecute, reset
      • Methods inherited from interface

        getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FetchSearchTermAssociationBySearchTermAndTypeCmdImpl

        public FetchSearchTermAssociationBySearchTermAndTypeCmdImpl()
        This method is the default constructor. It delegates to the parent class to fetch the Search activities.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws java.lang.Exception
        This method calls the business object manager to execute the search expression that was extracted by the get business object document. The search expression which was created by the Get controller is passed directly to the business component instance of the business object manager. The business object manager returns a list of nouns that represent the search expression.
        Specified by:
        performExecute in interface
        performExecute in class AbstractFetchNounUsingBusinessObjectMediatorCmdImpl
        java.lang.Exception - An exception was thrown while invoking the business object manager to execute the request.