com.ibm.commerce.tools.optools.returns.commands

Class CSRReturnItemComponentUpdateCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • CSRReturnItemComponentUpdateCmdImpl

        public CSRReturnItemComponentUpdateCmdImpl()
    • Method Detail

      • getReturnItemComponentsToBeUpdated

        public java.util.Vector getReturnItemComponentsToBeUpdated()
        Gets list of components on Return to be updated.
        Returns:
        Vector containing Hashtables representing return items components.
      • performExecute

        public void performExecute()
                            throws ECException
        Sets up the input request property for the ReturnItemComponentUpdateCmd command and calls the command. Sets up the redirect URL by putting the redirect URL parameter into the response property.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - If component is not successfully updated
      • setReturnItemComponentsToBeUpdated

        public void setReturnItemComponentsToBeUpdated(java.util.Vector newReturnItemComponentsToBeUpdated)
        Sets list of components on Return to be updated.
        Parameters:
        newReturnItemComponentsToBeUpdated - vector of hashtables where each hashtable represents data for a return item component