com.ibm.commerce.rfq.commands

Class RespondPAttributeCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, RespondPAttributeCmd, 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 RespondPAttributeCmdImpl
    extends TaskCommandImpl
    implements RespondPAttributeCmd
    Implementation class for creating a response personalization attributes value.

    This command calls the following TaskCommands:

    This command uses the following AccessBeans:
    • RFQResponsePAttributeRelAccessBean
    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

      • RespondPAttributeCmdImpl

        public RespondPAttributeCmdImpl()
        Constructs an instance of RespondPAttributeCmdImpl.
    • Method Detail

      • reset

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

        public void performExecute()
                            throws ECException
        Responds OrderItemPAttributeTC Step1: Create the TCs responses Step2: Create the relationships between the request TCs and the requestTCs.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - Any ECException exceptions are allowed to personalize.
      • setAttributeInfo

        public void setAttributeInfo(java.util.Vector newAttributeInfo)
        Sets the product specifications.
        Specified by:
        setAttributeInfo in interface RespondPAttributeCmd
        Parameters:
        newAttrInfo - The vector of hashtables of product specifications.
      • setRequestId

        public void setRequestId(java.lang.Long newRequestId)
        Sets the request ID
        Specified by:
        setRequestId in interface RespondPAttributeCmd
        Parameters:
        requestId - The request ID.
      • setResponseId

        public void setResponseId(java.lang.Long newResponseId)
        Sets the response ID
        Specified by:
        setResponseId in interface RespondPAttributeCmd
        Parameters:
        responseId - The response ID.
      • setRFQResponseProductId

        public void setRFQResponseProductId(java.lang.Long rfqResponseProductId)
        Sets the rfq response product ID.
        Specified by:
        setRFQResponseProductId in interface RespondPAttributeCmd
        Parameters:
        rfqResponseProductId - The rfq response product ID.