com.ibm.commerce.contract.objects

Class ProductSetTCExclusionAccessBean

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


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

    • Constructor Detail

      • ProductSetTCExclusionAccessBean

        public ProductSetTCExclusionAccessBean()
      • ProductSetTCExclusionAccessBean

        public ProductSetTCExclusionAccessBean(com.ibm.commerce.contract.objects.ProductSetTCExclusion entity)
      • ProductSetTCExclusionAccessBean

        public ProductSetTCExclusionAccessBean(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)
      • getTcSubType

        public java.lang.String getTcSubType()
      • 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()
      • setEntireCatalogAdjustment

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

        public java.lang.Double getEntireCatalogAdjustment()
      • 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()
      • 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()
      • 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()
      • 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()
      • 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)
      • getEntireCatalogSelected

        public java.lang.Integer getEntireCatalogSelected()
      • setEntireCatalogSelected

        public void setEntireCatalogSelected(java.lang.Integer entireCatalogSelected)
      • 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.ProductSetTCExclusion getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean