com.ibm.commerce.utf.beans

Class RFQProdDataBean

    • Field Detail

      • COPYRIGHT

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

      • RFQProdDataBean

        public RFQProdDataBean()
        Constructs RFQProdDataBean, initializes fields to null.
      • RFQProdDataBean

        public RFQProdDataBean(RFQProdAccessBean anAccessBean)
        Constructs RFQProdDataBean, initializes fields to null.
        Parameters:
        anAccessBean - RFQProdAccessBean
        Throws:
        java.lang.Exception
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        Returns the request parameters as a TypedProperty.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • populate

        public void populate()
        Fetches field values from the access bean.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception - On any access bean error.
      • setCommandContext

        public void setCommandContext(CommandContext newCommandContext)
        Sets the active commandContext.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        newCommandContext - the active command context.
      • setRequestProperties

        public void setRequestProperties(TypedProperty newRequestProperties)
        Copies the TypedProperty input parameters.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        newRequestProperties - com.ibm.commerce.datatype.TypedProperty
      • setRFQProdId

        public void setRFQProdId(java.lang.String newRFQProdId)
        Sets the rfqProdId field and uses it to set the rfqProdId key field of the access bean.
        Specified by:
        setRFQProdId in interface RFQProdInputDataBean
        Parameters:
        newRFQProdId - the relevant rfqProdId.
      • getFormattedProductPrice

        public java.lang.String getFormattedProductPrice()
        Gets formatted product price.
        Returns:
        String formatted product price.
      • getFormattedQuantity

        public java.lang.String getFormattedQuantity()
        Returns the requested quantity formatted as a string
        Returns:
        String representing the quantity
      • getDefaultCurrency

        public java.lang.String getDefaultCurrency()
        Returns default currency or null if exception happens
        Returns:
      • getAllAttributesWithValuesForProduct

        public com.ibm.commerce.utf.utils.RFQProductAttributes[] getAllAttributesWithValuesForProduct()
        Provides standard access to RFQProductHelper.getAllAttributesWithValuesForProduct().
        Returns:
        RFQProductAttributes[]
      • getProductCommentsForProduct

        public com.ibm.commerce.utf.utils.RFQProductAttributes[] getProductCommentsForProduct()
        Provides standard access to RFQProductHelper.getProductCommentsForProduct()
        Returns:
        RFQProductAttributes[]
      • getQuantityUnits

        public java.util.TreeMap getQuantityUnits()
        Returns a TreeMap of quantity units
        Returns:
        TreeMap
      • getSupplier

        public java.lang.String getSupplier()
        Returns supplier name
        Returns:
        java.lang.String
      • getAllAttributes

        public java.util.Enumeration getAllAttributes()
        Returns all product attributes
        Returns:
        java.util.Enumeration
      • getOperators

        public java.util.TreeMap getOperators()
        Returns a TreeMap of operators
        Returns:
        TreeMap
      • getOperatorsTS

        public java.util.TreeMap getOperatorsTS()
        Returns a TreeMap of operators for date time
        Returns:
        TreeMap