com.ibm.commerce.tools.epromotion
Class RLPromotionFactory

java.lang.Object
  |
  +--com.ibm.commerce.tools.epromotion.RLPromotionFactory

public class RLPromotionFactory
extends java.lang.Object

Representing a RLPromotion Factory


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Constructor Summary
RLPromotionFactory()
          Default constructor for RLPromotionFactory
RLPromotionFactory(java.util.Properties newFactoryClassMap)
          Constructor for RLPromotionFactory
 
Method Summary
  RLPromotion createRLPromotion(java.lang.String rlPromotionType, java.util.Map parameters)
          createRLPromotion creates an object which represents a discrete discount or product promotion type The object returned must derive from the RLPromotion abstract class, which contains all metadata for the discount/product promotion types.
  RLPromotion createRLPromotion(java.lang.String rlPromotionType, java.lang.String xmlString)
          createRLPromotion creates an object which represents a discrete discount or product promotion type.
static  RLPromotionFactory retrieveFromComponentConfiguration()
          Retrieve the RLPromotionFactory from the RLPromotionComponentConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

RLPromotionFactory

public RLPromotionFactory()
Default constructor for RLPromotionFactory

RLPromotionFactory

public RLPromotionFactory(java.util.Properties newFactoryClassMap)
Constructor for RLPromotionFactory
Method Detail

createRLPromotion

public RLPromotion createRLPromotion(java.lang.String rlPromotionType,
                                     java.lang.String xmlString)
createRLPromotion creates an object which represents a discrete discount or product promotion type. The object returned must derive from the RLPromotion abstract class, which contains all metadata for the discount/product promotion types. This RLPromotion object is populated from XML String
Returns:
com.ibm.commerce.tools.epromotion.RLPromotion

createRLPromotion

public RLPromotion createRLPromotion(java.lang.String rlPromotionType,
                                     java.util.Map parameters)
createRLPromotion creates an object which represents a discrete discount or product promotion type The object returned must derive from the RLPromotion abstract class, which contains all metadata for the discount/product promotion types.
Parameters:
rlPromotionType - java.lang.String
Returns:
com.ibm.commerce.tools.epromotion.RLPromotion

retrieveFromComponentConfiguration

public static RLPromotionFactory retrieveFromComponentConfiguration()
Retrieve the RLPromotionFactory from the RLPromotionComponentConfiguration
Returns:
com.ibm.commerce.tools.epromotion.RLPromotionFactory