public class RLPromotionComponentConfiguration extends java.lang.Object implements ComponentConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Constructor and Description |
|---|
RLPromotionComponentConfiguration()
The constructor for RLPromotionComponentConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This destroy method will be called when the request servlet is stopped or
destroyed.
|
void |
enable(boolean newEnable)
This method is used to dynamically enable or disable a component.
|
java.lang.String |
getProjectName()
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
java.lang.String |
getProjectPath()
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
java.lang.String |
getPromotionEngineConfigFileLocation()
Get the location of the promotion engine configuration file.
|
java.lang.String |
getRepositoryName()
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
java.lang.String |
getRepositoryPath()
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
RLPromotionFactory |
getRLPromotionFactory()
Get the RLPromotionFactory.
|
java.lang.String |
getVersion()
Get the version of rule-based discounts component.
|
void |
init(org.w3c.dom.Element node)
The initialization method for the component.
|
boolean |
isComponentEngine()
Gets the boolean value whether or not the component promotion engine is
used.
|
void |
registerPromotionType(org.w3c.dom.Node childNode)
This method is using to register promotion type.
|
static RLPromotionComponentConfiguration |
retrieveFromWcs()
This static method will retrieve RLPromotionComponentConfiguration object
from the WebSphere Commerce Server instance.xml.
|
void |
setComponentEngine(boolean componentEngine)
Sets the boolean value whether or not the component promotion engine is
used.
|
void |
setProjectName(java.lang.String proN)
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
void |
setProjectPath(java.lang.String proP)
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
void |
setPromotionEngineConfigFileLocation(java.lang.String string)
Set the location of the promotion engine configuration file.
|
void |
setRepositoryName(java.lang.String newRepositoryName)
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
void |
setRepositoryPath(java.lang.String newRepositoryPath)
Deprecated.
This implementation will no longer be supported. Blaze based
promotion implementation is replaced by Commerce Marketing
promotion implementation.
|
void |
setRLPromotionFactory(RLPromotionFactory newFRLPromotionFactory)
sets the RLPromotionFactory.
|
void |
setVersion(java.lang.String newVersion)
Set the version of promotion component.
|
public static final java.lang.String COPYRIGHT
public RLPromotionComponentConfiguration()
public void destroy()
destroy in interface ComponentConfigurationpublic void enable(boolean newEnable)
throws java.lang.Exception
enable in interface ComponentConfigurationval - boolean true - enable component, false - disable componentjava.lang.Exceptionpublic java.lang.String getProjectName()
public java.lang.String getProjectPath()
public java.lang.String getRepositoryName()
public java.lang.String getRepositoryPath()
public java.lang.String getVersion()
public RLPromotionFactory getRLPromotionFactory()
public void init(org.w3c.dom.Element node)
throws java.lang.Exception
init in interface ComponentConfigurationnode - -
a DOM element node with the parameters for the component, null
if no property is presented.java.lang.Exceptionpublic void registerPromotionType(org.w3c.dom.Node childNode)
childNode - org.w3c.dom.Nodepublic static RLPromotionComponentConfiguration retrieveFromWcs()
public void setProjectName(java.lang.String proN)
proN - java.lang.Stringpublic void setProjectPath(java.lang.String proP)
proP - java.lang.Stringpublic void setRepositoryName(java.lang.String newRepositoryName)
newRepositoryName - The repository namepublic void setRLPromotionFactory(RLPromotionFactory newFRLPromotionFactory)
newFRLPromotionFactory - The RLPromotionFactorypublic void setRepositoryPath(java.lang.String newRepositoryPath)
newRepositoryPath - The repository path.public void setVersion(java.lang.String newVersion)
newVersion - The version of promotion component.public java.lang.String getPromotionEngineConfigFileLocation()
public void setPromotionEngineConfigFileLocation(java.lang.String string)
string - public boolean isComponentEngine()
public void setComponentEngine(boolean componentEngine)
componentEngine - The ComponentEngine flag to set.