com.ibm.commerce.utf.commands

Class DeleteRFQCatentryRelCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, DeleteRFQCatentryRelCmd, 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 DeleteRFQCatentryRelCmdImpl
    extends TaskCommandImpl
    implements DeleteRFQCatentryRelCmd
    This command deletes the relationship between an RFQ and one or more product entries.

    Behaviour

    1. Verifies that a trading ID has been provided
    2. If no product entry ID is provided, dissociates the RFQ from all its product entries.
    3. If a list of product entries is provided, deletes the relationship between the RFQ and the incoming product entries.
    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

      • DeleteRFQCatentryRelCmdImpl

        public DeleteRFQCatentryRelCmdImpl()
        Default Constructor.
    • Method Detail

      • reset

        public void reset()
        Reset the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • performExecute

        public void performExecute()
                            throws ECException
        Calls the deleteAllCatentryRel method if the incoming catalogEntries is null. Otherwise, calls the deleteSpecificCatentryRel method.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException
        See Also:
        ECCommand#performExecute()
      • getRfqProdId

        public java.lang.Long getRfqProdId()
        Gets the rfqProdId
        Returns:
        Returns a java.lang.Long
      • setRfqProdId

        public void setRfqProdId(java.lang.Long rfqProdId)
        Sets the rfqProdId
        Specified by:
        setRfqProdId in interface DeleteRFQCatentryRelCmd
        Parameters:
        rfqProdId - The rfqProdId to set