com.ibm.commerce.tools.experimentation.commands

Class ExperimentSaveControllerCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • ExperimentSaveControllerCmdImpl

        public ExperimentSaveControllerCmdImpl()
    • Method Detail

      • validateParameters

        public void validateParameters()
                                throws ECException
        Parses and validates the parameters passed to this controller command. The following parameters are valid:
        • xml - An XML document that describes the experiment.
        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 experiment.
        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 bean for the specified experiment ID, or the store access bean for the current store if the experiment ID has not been specified.
        See Also:
        ECCommand#getResources()
      • performExecute

        public void performExecute()
                            throws ECException
        The performExecute method is called to when the Marketing Manager asks to save an experiment.
        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 save the given experiment based on all of the parameters for the experiment being set in this command.
        See Also:
        ECCommand#performExecute()