com.ibm.commerce.utf.beans

Class RFQDataBean

    • Field Detail

      • COPYRIGHT

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

      • RFQDataBean

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

        public RFQDataBean(RFQAccessBean anAccessBean)
        Constructs RFQDataBean, initializes fields to null.
        Parameters:
        anAccessBean - com.ibm.commerce.utf.objects.RFQAccessBean
        Throws:
        ECException
    • 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
      • getRfqId

        public java.lang.String getRfqId()
        Gets the rfqId.
        Specified by:
        getRfqId in interface RFQSmartDataBean
        Returns:
        java.lang.String
      • 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
      • setRfqId

        public void setRfqId(java.lang.String newRfqId)
        Sets the rfqId field and uses it to set the referenceNumber key field of the access bean.
        Specified by:
        setRfqId in interface RFQInputDataBean
        Parameters:
        newRfqId - the relevant referenceNumber.
      • setRfqName

        public void setRfqName(java.lang.String newName)
        Sets the name value. This method will find active RFQ by name.
        Specified by:
        setRfqName in interface RFQInputDataBean
        Parameters:
        newName - relevant name.
        Throws:
        java.lang.Exception
      • setRfqNameAndVersion

        public void setRfqNameAndVersion(java.lang.String newName,
                                         java.lang.Integer newMajorVersion,
                                         java.lang.Integer newMinorVersion)
        Sets the name, majorVersion, and minorVersion value. This method will find RFQ by name and versions.
        Specified by:
        setRfqNameAndVersion in interface RFQInputDataBean
        Parameters:
        newName - relevant name.
        newMajorVersion - relevant majorVersion.
        newMinorVersion - relevant minorVersion.
        Throws:
        java.lang.Exception
      • getAttachments

        public java.util.Collection getAttachments()
        Get all RFQ attachments.
        Returns:
        indexed Collection of AttachmentAccessBean related to trading
      • getAllPriceAdjustmentOnCategory

        public com.ibm.commerce.rfq.utils.RFQPriceAdjustmentOnCategory[] getAllPriceAdjustmentOnCategory()
        Returns RFQPriceAdjustmentOnCategory[] for RFQ.
        Returns:
        RFQPriceAdjustmentOnCategory[]
      • getTargetedStoreFromRFQProds

        public java.lang.Integer getTargetedStoreFromRFQProds()
        Returns targeted store from the RFQ's products
        Returns:
        java.lang.Integer
      • getDefaultCurrency

        public java.lang.String getDefaultCurrency()
        Returns the default currency for the store
        Returns:
        java.lang.String
      • getOrderCommentList

        public OrderCommentData[] getOrderCommentList()
        Returns a list of Term and Condition comments for the RFQ
        Returns:
        com.ibm.commerce.utf.beans.OrderCommentData []
      • hasNextRoundRfqForSeller

        public boolean hasNextRoundRfqForSeller()
        Check if there is an eligible next round RFQ for a seller store.
        Returns:
        boolean returns true if there is eligible next round RFQ.
      • hasPreviousRoundRfqForSeller

        public boolean hasPreviousRoundRfqForSeller()
        Check if there is an eligible previous round RFQ for a seller store.
        Returns:
        boolean returns true if there is eligible previous round RFQ.
      • getSupplierOrgInfo

        public java.util.Vector getSupplierOrgInfo()
        Returns the supplier org info
        Returns:
        java.util.Vector
      • getStoresInfo

        public java.util.Vector getStoresInfo()
        Returns stores info
        Returns:
        java.util.Vector
      • setQuickDescription

        public void setQuickDescription(java.lang.String desc)
        Sets the description into databean when RFQListDataBean use quick search method
        Parameters:
        desc -
      • getQuickDescription

        public java.lang.String getQuickDescription()
        Gets RFQ description when RFQListDataBean use quick search method
        Returns:
        RFQ description as String
      • setLogonId

        public void setLogonId(java.lang.String aLogonId)
        Sets logon id of RFQ owner
        Parameters:
        logonId -
      • getLogonId

        public java.lang.String getLogonId()
        Gets logon Id of RFQ owner
        Returns:
        logon Id as String