Class CreateRFQItemAttributeCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, CreateRFQItemAttributeCmd,,,,,,

    public class CreateRFQItemAttributeCmdImpl
    extends TaskCommandImpl
    implements CreateRFQItemAttributeCmd
    Creates standard product attribute values for an RFQ item.

    An RFQ item may or may not have all the attributes of its parent product. This command stores the values for the inherited attributes.

    This is the default implementation of the CreateRFQItemAttributeCmd. This command uses the following Data Beans:

    • RFQProductAttributes
    See Also:
    Serialized Form
    • Field Detail


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

        public java.util.Vector attributeVector
        Attribute Vector.
      • catentryId

        public java.lang.Long catentryId
        Catentry Id.
      • languageId

        public java.lang.Integer languageId
        Language Id.
    • Constructor Detail

      • CreateRFQItemAttributeCmdImpl

        public CreateRFQItemAttributeCmdImpl()
        Default Constructor.
    • Method Detail

      • reset

        public void reset()
        Reset the command.
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • getAttributeVector

        public java.util.Vector getAttributeVector()
        Retrieves the list of attributes.
        The list of standard attributes.
      • getCatentryId

        public java.lang.Long getCatentryId()
        Retrieves the catalog entry ID.
        The catalog entry ID.
      • getLanguageId

        public java.lang.Integer getLanguageId()
        Retrieves the language identifier.
        The language identifier.
      • setAttributeVector

        public void setAttributeVector(java.util.Vector newAttributeVector)
        Stores the list of inherited standard attributes.
        Specified by:
        setAttributeVector in interface CreateRFQItemAttributeCmd
        newAttributeVector - The list of standard attributes.
      • setCatentryId

        public void setCatentryId(java.lang.Long newCatentryId)
        Stores the catalog entry ID.
        Specified by:
        setCatentryId in interface CreateRFQItemAttributeCmd
        newCatentryId - The catalog entry ID.
      • setLanguageId

        public void setLanguageId(java.lang.Integer newLanguageId)
        Stores the language identifier.
        Specified by:
        setLanguageId in interface CreateRFQItemAttributeCmd
        languageId - The language identifier.
      • validateParameters

        public void validateParameters()
                                throws ECException
        This method does the following:
        1. Verifies that a catalog entry ID has been provided.
        2. Verifies that a list of standard attributes has been provided.
        3. Verifies that a language identifier has been provided.

        Specified by:
        validateParameters in interface ECCommand
        validateParameters in class AbstractECTargetableCommand
        ECApplicationException -
        • If the catalog entry ID has not been provided.
        • If the list of standard attributes is empty.
        • If the language identifier has not been provided.
        See Also: