com.ibm.commerce.messaging.commands

Class GetPickPackListDetailCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, GetPickPackListDetailCmd, 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 GetPickPackListDetailCmdImpl
    extends ControllerCommandImpl
    implements GetPickPackListDetailCmd
    This is the default implementation of the GetPickPackListDetailCmd task command. Retrieves the pick ticket and pack slips for the input pick batch ID and forwards it to a view task. The view task will compose the PickPackListDetails message to be sent to the fulfillment center.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • GetPickPackListDetailCmdImpl

        public GetPickPackListDetailCmdImpl()
        The constructor for GetPickPackListDetailCmdImpl calls its parents constructor.
    • Method Detail

      • getErrorTask

        public java.lang.String getErrorTask()
        This method gets the error task name.
        Returns:
        the error task name
      • getPickBatchId

        public java.lang.String getPickBatchId()
        This method gets the pick batch ID.
        Returns:
        the pick batch ID
      • getViewTask

        public java.lang.String getViewTask()
        This method gets the view task name.
        Returns:
        the view task name
      • performExecute

        public void performExecute()
                            throws ECException
        This method retrieves the pick ticket and pack slips for the given pick batch ID.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - Raised if the execution fails.
        See Also:
        ECCommand#performExecute()
      • setPickBatchId

        public void setPickBatchId(java.lang.String pickbatch_id)
        This method sets the input pick batch ID parameter.
        Parameters:
        pickbatch_id - the input pick batch ID parameter.
      • validateParameters

        public void validateParameters()
                                throws ECException
        This method checks the validity of the following parameters: pickBatchId, pickTicket, orderReleaseList.
        Specified by:
        validateParameters in interface ECCommand
        Overrides:
        validateParameters in class AbstractECTargetableCommand
        Throws:
        ECException - Raised with the following messages: _ERR_INVENTORY_INVALID_PICKBATCH_ID, _ERR_INVENTORY_INVALID_PICKPACKSLIPS, _ERR_CREATE_EXCEPTION, _ERR_FINDER_EXCEPTION, _ERR_NAMING_EXCEPTION, _ERR_REMOTE_EXCEPTION
        See Also:
        ECCommand#validateParameters()