com.ibm.commerce.foundation.server.services.search.metadata

Class AbstractSearchResultFilter

  • java.lang.Object
    • com.ibm.commerce.foundation.server.services.search.metadata.AbstractSearchResultFilter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void filter(SelectionCriteria selectionCriteria, commonj.sdo.DataObject dataObject)
      Invoke the search filter to modify the given data object to make it suitable for business use.
      java.lang.String getControlParameterValue(java.lang.String controlParameterName)
      Returns the first value in the given control parameter of the current SelectionCriteria object.
      java.util.List getControlParameterValues(java.lang.String controlParameterName)
      Returns a list of values for the given control parameter of the current SelectionCriteria object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractSearchResultFilter

        public AbstractSearchResultFilter()
    • Method Detail

      • filter

        public void filter(SelectionCriteria selectionCriteria,
                           commonj.sdo.DataObject dataObject)
                    throws java.lang.RuntimeException
        Description copied from interface: SearchResultFilter
        Invoke the search filter to modify the given data object to make it suitable for business use.
        Specified by:
        filter in interface SearchResultFilter
        Parameters:
        selectionCriteria - Java representation of the search expression
        dataObject - Java object to be filtered
        Throws:
        java.lang.RuntimeException
      • getControlParameterValue

        public java.lang.String getControlParameterValue(java.lang.String controlParameterName)
        Returns the first value in the given control parameter of the current SelectionCriteria object.
        Parameters:
        controlParameterName - Name of the control parameter
        Returns:
        control parameter value
      • getControlParameterValues

        public java.util.List getControlParameterValues(java.lang.String controlParameterName)
        Returns a list of values for the given control parameter of the current SelectionCriteria object.
        Parameters:
        controlParameterName - Name of the control parameter
        Returns:
        control parameter value