com.ibm.commerce.edp.commands

Class PICopyVoidCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, AEDPCtrlCmd, PICopyCmd, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class PICopyVoidCmdImpl
    extends AEDPPIEditCtrlCmdImpl
    implements PICopyCmd
    This is the void implementation of the PICopyCmdcontroller command.

    The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base. Note that please use the void implementation of all commands once you decide to disable the command implementation.

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • PICopyVoidCmdImpl

        public PICopyVoidCmdImpl()
        The default constructor.
    • Method Detail

      • getToOrderID

        public java.lang.Long getToOrderID()
        This method gets the ID of the order to be copied to.
        Returns:
        iToOrderID the ID of the order to be copied to
      • setToOrderId

        public void setToOrderId(java.lang.Long anToOrderId)
        This method sets the ID of the order to be copied to
        Specified by:
        setToOrderId in interface PICopyCmd
        Parameters:
        anToOrderId - the ID of the order to be copied to
      • reset

        public void reset()

        This method resets the command fields.

        After this method is invoked, and proper attributes are set, the command can be executed again.

        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AEDPPIEditCtrlCmdImpl