com.ibm.commerce.contract.objects

Class PriceTCPriceListWithSelectiveAdjustmentAccessBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.contract.objects.PriceTCPriceListWithSelectiveAdjustmentAccessBean
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    com.ibm.commerce.contract.beansrc.PriceTCPriceListWithSelectiveAdjustmentDataBeanBase


    public class PriceTCPriceListWithSelectiveAdjustmentAccessBean
    extends com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • PriceTCPriceListWithSelectiveAdjustmentAccessBean

        public PriceTCPriceListWithSelectiveAdjustmentAccessBean()
      • PriceTCPriceListWithSelectiveAdjustmentAccessBean

        public PriceTCPriceListWithSelectiveAdjustmentAccessBean(com.ibm.commerce.contract.objects.PriceTCPriceListWithSelectiveAdjustment entity)
      • PriceTCPriceListWithSelectiveAdjustmentAccessBean

        public PriceTCPriceListWithSelectiveAdjustmentAccessBean(java.lang.Long tradingId,
                                                                 org.w3c.dom.Element argElement)
    • Method Detail

      • setInitKey_referenceNumber

        public void setInitKey_referenceNumber(java.lang.String referenceNumber)
      • setInitKey_referenceNumber

        public void setInitKey_referenceNumber(java.lang.Long referenceNumber)
      • setAdjustmentProductSetId

        public void setAdjustmentProductSetId(java.lang.Integer adjustmentProductSetId)
      • getAdjustmentProductSetIdInEntityType

        public java.lang.Integer getAdjustmentProductSetIdInEntityType()
      • setAdjustmentProductSetId

        public void setAdjustmentProductSetId(java.lang.String adjustmentProductSetId)
      • getAdjustmentProductSetId

        public java.lang.String getAdjustmentProductSetId()
      • getTcSubType

        public java.lang.String getTcSubType()
      • setEntireCatalogAdjustment

        public void setEntireCatalogAdjustment(java.lang.Double entireCatalogAdjustment)
      • getEntireCatalogAdjustment

        public java.lang.Double getEntireCatalogAdjustment()
      • setProductSetId

        public void setProductSetId(java.lang.Integer productSetId)
      • getProductSetIdInEntityType

        public java.lang.Integer getProductSetIdInEntityType()
      • setProductSetId

        public void setProductSetId(java.lang.String productSetId)
      • getProductSetId

        public java.lang.String getProductSetId()
      • setChangeableFlag

        public void setChangeableFlag(java.lang.Integer changeableFlag)
      • getChangeableFlagInEntityType

        public java.lang.Integer getChangeableFlagInEntityType()
      • setChangeableFlag

        public void setChangeableFlag(java.lang.String changeableFlag)
      • getChangeableFlag

        public java.lang.String getChangeableFlag()
      • getPercentagePriceList

        public java.lang.Long getPercentagePriceList()
      • setCustomProductSetFlag

        public void setCustomProductSetFlag(java.lang.Integer customProductSetFlag)
      • getCustomProductSetFlagInEntityType

        public java.lang.Integer getCustomProductSetFlagInEntityType()
      • setCustomProductSetFlag

        public void setCustomProductSetFlag(java.lang.String customProductSetFlag)
      • getCustomProductSetFlag

        public java.lang.String getCustomProductSetFlag()
      • setPriceListId

        public void setPriceListId(java.lang.Long priceListId)
      • getPriceListIdInEntityType

        public java.lang.Long getPriceListIdInEntityType()
      • setPriceListId

        public void setPriceListId(java.lang.String priceListId)
      • getPriceListId

        public java.lang.String getPriceListId()
      • setSignedPercentage

        public void setSignedPercentage(java.lang.Double signedPercentage)
      • getSignedPercentageInEntityType

        public java.lang.Double getSignedPercentageInEntityType()
      • setSignedPercentage

        public void setSignedPercentage(java.lang.String signedPercentage)
      • getSignedPercentage

        public java.lang.String getSignedPercentage()
      • setMandatoryFlag

        public void setMandatoryFlag(java.lang.Integer mandatoryFlag)
      • getMandatoryFlagInEntityType

        public java.lang.Integer getMandatoryFlagInEntityType()
      • setMandatoryFlag

        public void setMandatoryFlag(java.lang.String mandatoryFlag)
      • getMandatoryFlag

        public java.lang.String getMandatoryFlag()
      • setReferenceNumber

        public void setReferenceNumber(java.lang.Long referenceNumber)
      • getReferenceNumberInEntityType

        public java.lang.Long getReferenceNumberInEntityType()
      • setReferenceNumber

        public void setReferenceNumber(java.lang.String referenceNumber)
      • getReferenceNumber

        public java.lang.String getReferenceNumber()
      • setAdjustmentProductSetName

        public void setAdjustmentProductSetName(java.lang.String adjustmentProductSetName)
      • getAdjustmentProductSetName

        public java.lang.String getAdjustmentProductSetName()
      • setTimeUpdated

        public void setTimeUpdated(java.sql.Timestamp timeUpdated)
      • getTimeUpdatedInEntityType

        public java.sql.Timestamp getTimeUpdatedInEntityType()
      • setTimeUpdated

        public void setTimeUpdated(java.lang.String timeUpdated)
      • getTimeUpdated

        public java.lang.String getTimeUpdated()
      • setTradingId

        public void setTradingId(java.lang.Long tradingId)
      • getTradingIdInEntityType

        public java.lang.Long getTradingIdInEntityType()
      • setTradingId

        public void setTradingId(java.lang.String tradingId)
      • getTradingId

        public java.lang.String getTradingId()
      • setTcSequence

        public void setTcSequence(java.lang.Integer tcSequence)
      • getTcSequenceInEntityType

        public java.lang.Integer getTcSequenceInEntityType()
      • setTcSequence

        public void setTcSequence(java.lang.String tcSequence)
      • getTcSequence

        public java.lang.String getTcSequence()
      • setTimeCreated

        public void setTimeCreated(java.sql.Timestamp timeCreated)
      • getTimeCreatedInEntityType

        public java.sql.Timestamp getTimeCreatedInEntityType()
      • setTimeCreated

        public void setTimeCreated(java.lang.String timeCreated)
      • getTimeCreated

        public java.lang.String getTimeCreated()
      • setAdjustmentProductSetOwnerId

        public void setAdjustmentProductSetOwnerId(java.lang.Long adjustmentProductSetOwnerId)
      • getAdjustmentProductSetOwnerIdInEntityType

        public java.lang.Long getAdjustmentProductSetOwnerIdInEntityType()
      • setAdjustmentProductSetOwnerId

        public void setAdjustmentProductSetOwnerId(java.lang.String adjustmentProductSetOwnerId)
      • getAdjustmentProductSetOwnerId

        public java.lang.String getAdjustmentProductSetOwnerId()
      • setEntireCatalogSelected

        public void setEntireCatalogSelected(java.lang.Integer entireCatalogSelected)
      • getEntireCatalogSelected

        public java.lang.Integer getEntireCatalogSelected()
      • createNewVersion

        public java.lang.Long createNewVersion(java.lang.Long argNewTradingId)
                                        throws org.xml.sax.SAXException,
                                               java.io.IOException
        Throws:
        org.xml.sax.SAXException
        java.io.IOException
      • getXMLString

        public java.lang.String getXMLString()
      • getXMLString

        public java.lang.String getXMLString(boolean tcdata)
      • markForDelete

        public void markForDelete()
      • parseXMLElement

        public void parseXMLElement(org.w3c.dom.Element argElement)
                             throws javax.ejb.RemoveException,
                                    com.ibm.commerce.contract.helper.TermCondCreateException,
                                    javax.naming.NamingException
        Throws:
        javax.ejb.RemoveException
        com.ibm.commerce.contract.helper.TermCondCreateException
        javax.naming.NamingException
      • getXMLDefinitions

        public java.lang.String[] getXMLDefinitions(java.lang.Integer type)
      • getXMLStrings

        public java.lang.String[] getXMLStrings(java.lang.Integer type)
      • setXMLDefinition

        public void setXMLDefinition(java.lang.Long tradingId,
                                     java.lang.Integer type,
                                     org.w3c.dom.Element e,
                                     java.lang.Integer sequence)
      • setXMLDefinition

        public void setXMLDefinition(java.lang.Long tradingId,
                                     java.lang.Integer type,
                                     java.lang.String newValue,
                                     java.lang.Integer sequence)
      • setEntireCatalogSelected

        public void setEntireCatalogSelected(java.lang.String entireCatalogSelected)
      • setEntireCatalogAdjustment

        public void setEntireCatalogAdjustment(java.lang.String entireCatalogAdjustment)
      • getInclusionProductSets

        public java.lang.Integer[] getInclusionProductSets()
                                                    throws java.sql.SQLException,
                                                           javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • getExclusionProductSets

        public java.lang.Integer[] getExclusionProductSets()
                                                    throws java.sql.SQLException,
                                                           javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • addProductSetAdjustment

        public int addProductSetAdjustment(java.lang.Integer productsetId,
                                           java.lang.Double adjustment,
                                           java.lang.Integer precedence,
                                           java.lang.Integer type)
                                    throws java.sql.SQLException,
                                           javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • updateProductSetAdjustment

        public int updateProductSetAdjustment(java.lang.Integer productsetId,
                                              java.lang.Double adjustment,
                                              java.lang.Integer precedence,
                                              java.lang.Integer type)
                                       throws java.sql.SQLException,
                                              javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • deleteProductSetAdjustment

        public int deleteProductSetAdjustment(java.lang.Integer productsetId)
                                       throws java.sql.SQLException,
                                              javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • findProductSetIdsByTCIdAndType

        public java.lang.Integer[] findProductSetIdsByTCIdAndType(java.lang.Integer type)
                                                           throws java.sql.SQLException,
                                                                  javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • getProductSetAdjustments

        public java.util.Vector getProductSetAdjustments()
                                                  throws java.sql.SQLException,
                                                         javax.naming.NamingException
        Throws:
        java.sql.SQLException
        javax.naming.NamingException
      • getPriceListIds

        public java.lang.Long[] getPriceListIds()
      • getPercentagePriceListIds

        public java.lang.Long[] getPercentagePriceListIds()
      • instantiateEntity

        public void instantiateEntity()
        Specified by:
        instantiateEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • getEntity

        public com.ibm.commerce.contract.objects.PriceTCPriceListWithSelectiveAdjustment getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean