public class SegmentSaveControllerCmdImpl extends ToolsControllerCommandImpl implements SegmentSaveControllerCmd, ECConstants, ECToolsConstants, SegmentConstants, ConditionConstants
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector | _conditionsVector
A vector of condition objects.
|
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 java.lang.Long | _ownerId
Member group owner ID.
|
protected SegmentNotebookDataBean | _segment
An instance of SegmentNotebookDataBean.
|
protected java.lang.Long | _segmentId
Member group ID.
|
protected java.lang.String | _segmentProfile
An XML document describing the member group conditions.
|
protected java.lang.String | _xmlFile
XML document that describes the customer segment.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
SegmentSaveControllerCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected Condition | constructAccountAmountSpentCondition()
Constructs the account amount spent condition object.
|
protected Condition | constructAccountBusinessCondition()
Constructs the account business condition object.
|
protected Condition | constructAccountCountriesCondition()
Constructs the account countries condition object.
|
protected Condition | constructAccountCreditCondition()
Constructs the account credit condition object.
|
protected Condition | constructAccountIndustryCondition()
Constructs the account industry condition object.
|
protected Condition | constructAccountLocationCondition()
Constructs the account location condition object.
|
protected Condition | constructAccountsCondition()
Constructs the accounts condition object.
|
protected Condition | constructAccountSizeCondition()
Constructs the account size condition object.
|
protected Condition | constructAgeCondition()
Constructs the age condition object.
|
protected Condition | constructAmountSpentCondition()
Constructs the amount spent condition object.
|
protected Condition | constructChildrenCondition()
Constructs the children condition object.
|
protected Condition | constructCityCondition()
Constructs the city condition object.
|
protected Condition | constructCompanyCondition()
Constructs the company condition object.
|
protected void | constructConditionsVector()
Populates the vector in _conditionsVector with Condition objects that will be collected together in an AndListCondition object.
|
protected Condition | constructCountryCondition()
Constructs the country condition object.
|
protected Condition | constructCurrencyCondition()
Constructs the currency condition object.
|
protected Condition | constructEMailCondition()
Constructs the e-mail condition object.
|
protected Condition | constructGenderCondition()
Constructs the gender condition object.
|
protected Condition | constructHouseholdCondition()
Constructs the household condition object.
|
protected Condition | constructIncomeCondition()
Constructs the income condition object.
|
protected Condition | constructInterestsCondition()
Constructs the interests condition object.
|
protected Condition | constructJobFunctionCondition()
Constructs the job function condition object.
|
protected Condition | constructLanguageCondition()
Constructs the language condition object.
|
protected Condition | constructLastPurchaseDateCondition()
Constructs the last purchase date condition object.
|
protected Condition | constructLastVisitDateCondition()
Constructs the last visit date condition object.
|
protected Condition | constructMaritalStatusCondition()
Constructs the marital status condition object.
|
protected Condition | constructOrdersCondition()
Constructs the orders condition object.
|
protected Condition | constructOrgCondition()
Constructs the role condition object.
|
protected Condition | constructPhoneCondition()
Constructs the phone condition object.
|
protected Condition | constructPreferredCommunicationCondition()
Constructs the preferred communication condition object.
|
protected void | constructProfile()
Constructs the XML document that is saved in the CONDITIONS column of the MBRGRPCOND table.
|
protected Condition | constructRegistrationChangeDateCondition()
Constructs the registration change date condition object.
|
protected Condition | constructRegistrationDateCondition()
Constructs the registration date condition object.
|
protected Condition | constructRegistrationStatusCondition()
Constructs the registration status condition object.
|
protected Condition | constructRoleCondition()
Constructs the role condition object.
|
protected void | constructSegmentNotebookDataBean()
Constructs an instance of SegmentNotebookDataBean and stores it in _segment.
|
protected Condition | constructSegmentsCondition()
Constructs the segments condition object.
|
protected Condition | constructStateCondition()
Constructs the state condition object.
|
protected Condition | constructStatusCondition()
Constructs the role condition object.
|
protected Condition | constructZipCodeCondition()
Constructs the ZIP code condition object.
|
AccessVector | getResources()
Gets the resources that are accessed by this controller command.
|
void | performExecute()
The performExecute method is called when the marketing manager asks to save a customer segment.
|
void | validateParameters()
Parses and validates the parameters passed to this controller command.
|
public static final java.lang.String COPYRIGHT
protected java.lang.String _xmlFile
protected SegmentNotebookDataBean _segment
protected java.util.Vector _conditionsVector
protected java.lang.String _segmentProfile
protected boolean _forceSave
protected java.lang.String _error
protected java.lang.Long _segmentId
protected java.lang.Long _ownerId
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void constructSegmentNotebookDataBean()
protected void constructProfile()
protected void constructConditionsVector()
protected Condition constructRegistrationStatusCondition()
protected Condition constructRegistrationDateCondition()
protected Condition constructRegistrationChangeDateCondition()
protected Condition constructGenderCondition()
protected Condition constructAgeCondition()
protected Condition constructIncomeCondition()
protected Condition constructMaritalStatusCondition()
protected Condition constructChildrenCondition()
protected Condition constructHouseholdCondition()
protected Condition constructCityCondition()
protected Condition constructStateCondition()
protected Condition constructCountryCondition()
protected Condition constructZipCodeCondition()
protected Condition constructPhoneCondition()
protected Condition constructEMailCondition()
protected Condition constructCurrencyCondition()
protected Condition constructLanguageCondition()
protected Condition constructAmountSpentCondition()
protected Condition constructOrdersCondition()
protected Condition constructLastPurchaseDateCondition()
protected Condition constructLastVisitDateCondition()
protected Condition constructCompanyCondition()
protected Condition constructInterestsCondition()
protected Condition constructSegmentsCondition()
protected Condition constructPreferredCommunicationCondition()
protected Condition constructJobFunctionCondition()
protected Condition constructAccountsCondition()
protected Condition constructAccountSizeCondition()
protected Condition constructAccountLocationCondition()
protected Condition constructAccountCountriesCondition()
protected Condition constructAccountIndustryCondition()
protected Condition constructAccountBusinessCondition()
protected Condition constructAccountCreditCondition()
protected Condition constructAccountAmountSpentCondition()
protected Condition constructRoleCondition()
protected Condition constructOrgCondition()
protected Condition constructStatusCondition()