com.ibm.commerce.marketing.promotion.condition

Class DummyFilter

  • java.lang.Object
    • com.ibm.commerce.marketing.promotion.condition.DummyFilter
  • All Implemented Interfaces:
    Filter, XMLizable, java.io.Serializable


    public class DummyFilter
    extends java.lang.Object
    implements Filter
    DummyFilter class provides dummy implementation for Filter interface. It doesn't do any filtration on the LineItemSet passed as input but returns back the same LineItemSet. XML Snippet for this type of Filter.
     <Filter impl="com.ibm.commerce.marketing.promotion.condition.DummyFilter"/>
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DummyFilter()
      Constructor for DummyFilter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      LineItemSet filter(LineItemSet input, PromotionContext context)
      This method performs the business logic to filter the input LineItemSet and return a subset of the original LineItemSet.
      void fromXML(org.w3c.dom.Node anXMLNode)
      Transforms the XML node into its corresponding real Object.
      java.lang.String toXML()
      Converts the object into its corresponding XML format representation.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

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

      • DummyFilter

        public DummyFilter()
        Constructor for DummyFilter.