public class CampaignInitiativeSaveControllerCmdImpl extends ToolsControllerCommandImpl implements CampaignInitiativeSaveControllerCmd, ECConstants, ECToolsConstants, CampaignConstants, ConditionConstants
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | _contentType
Campaign initiative content type.
|
protected SimpleCondition.Qualifier | _currencyQualifier
An instance of SimpleCondition.Qualifier which is generated using the supplied currencies.
|
protected java.lang.String | _error
Contains the error condition detected by this controller command.
|
protected boolean | _forceSave
This flag indicates that the controller command should try to force the save.
|
protected CampaignInitiativeDetailsDataBean | _initiative
An instance of CampaignInitiativeDetailsDataBean.
|
protected java.lang.Integer | _initiativeId
Campaign initiative ID.
|
protected java.lang.String | _initiativeRule
XML document that describes the initiative rule.
|
protected java.util.Vector | _initiativeSegments
A vector of campaign initiative segments.
|
protected SimpleCondition.Qualifier | _languageQualifier
An instance of SimpleCondition.Qualifier which is generated using the given languages.
|
protected boolean | _newInitiative
This flag indicates that the controller command should do a create or an update.
|
protected java.lang.String | _responseViewTaskName
The view task name from the response.
|
protected java.lang.String | _resulttype
Campaign initiative result type.
|
protected java.lang.String | _xmlFile
XML document that describes the campaign initiative.
|
static java.lang.String | COMPONENT_RULES_SYSTEM
Deprecated.
This field is used when Blaze is used for campaign rule evaluation. Blaze support has been removed in the current release, there will not be a replacement for this field. The element tag constant in the instance.xml to identify the user traffic event listener component.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CampaignInitiativeSaveControllerCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | constructRule()
The constructRule method is called to construct the XML document that contains all the conditions with this initiative.
|
protected SimpleCondition.Qualifier | getCurrencyQualifier()
This function generates the qualifier for the supplied currency.
|
protected SimpleCondition.Qualifier | getLanguageQualifier()
This function generates the qualifier for the given language.
|
AccessVector | getResources()
Gets the resources that are accessed by this controller command.
|
void | performExecute()
The performExecute method is called to when the marketing manager asks to save a campaign initiative.
|
void | validateParameters()
Parses and validates the parameters passed to this controller command.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String COMPONENT_RULES_SYSTEM
protected CampaignInitiativeDetailsDataBean _initiative
protected java.lang.String _xmlFile
protected boolean _forceSave
protected boolean _newInitiative
protected java.util.Vector _initiativeSegments
protected java.lang.String _initiativeRule
protected SimpleCondition.Qualifier _languageQualifier
protected SimpleCondition.Qualifier _currencyQualifier
protected java.lang.String _error
protected java.lang.Integer _initiativeId
protected java.lang.String _responseViewTaskName
protected java.lang.String _resulttype
protected java.lang.String _contentType
public CampaignInitiativeSaveControllerCmdImpl()
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void constructRule()
protected SimpleCondition.Qualifier getCurrencyQualifier()
protected SimpleCondition.Qualifier getLanguageQualifier()