com.ibm.commerce.tools.experimentation.commands

Class ExperimentStatusUpdateControllerCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • ExperimentStatusUpdateControllerCmdImpl

        public ExperimentStatusUpdateControllerCmdImpl()
    • Method Detail

      • validateParameters

        public void validateParameters()
                                throws ECException
        Parses and validates the parameters passed to this controller command. The following parameters are valid:
        • experimentIds - A comma separated list of experiment IDs.
        • experimentStatus - Experiment status.
        Specified by:
        validateParameters in interface ECCommand
        Overrides:
        validateParameters in class AbstractECTargetableCommand
        Throws:
        ECException - Thrown when an exception occurred while this method attempted to retrieve all of the required parameters from the request object.
        See Also:
        ECCommand#validateParameters()
      • getResources

        public AccessVector getResources()
                                  throws ECException
        Gets the resources that are accessed by this controller command. Returns the experiment access beans for the specified experiments.
        Specified by:
        getResources in interface ECCommand
        Overrides:
        getResources in class AbstractECTargetableCommand
        Returns:
        A vector of resources.
        Throws:
        ECException - Thrown when an exception occurred while this method attempted to retrieve the experiment access beans for the specified experiment IDs.
        See Also:
        ECCommand#getResources()
      • performExecute

        public void performExecute()
                            throws ECException
        The performExecute method is called to when the Marketing Manager asks to update the status of one or more experiments.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - Thrown when an exception occurred while this method attempted to update the statuses for the given experiments.
        See Also:
        ECCommand#performExecute()