com.ibm.commerce.contract.objects

Class DisplayCustomizationTCAccessBean

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


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

    • Constructor Detail

      • DisplayCustomizationTCAccessBean

        public DisplayCustomizationTCAccessBean()
      • DisplayCustomizationTCAccessBean

        public DisplayCustomizationTCAccessBean(com.ibm.commerce.contract.objects.DisplayCustomizationTC entity)
      • DisplayCustomizationTCAccessBean

        public DisplayCustomizationTCAccessBean(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)
      • setSequenceNumber

        public void setSequenceNumber(java.lang.Double sequenceNumber)
      • getSequenceNumberInEntityType

        public java.lang.Double getSequenceNumberInEntityType()
      • setSequenceNumber

        public void setSequenceNumber(java.lang.String sequenceNumber)
      • getSequenceNumber

        public java.lang.String getSequenceNumber()
      • setDisplayText

        public void setDisplayText(java.lang.String displayText)
      • getDisplayText

        public java.lang.String getDisplayText()
      • setDisplayTextLocale

        public void setDisplayTextLocale(java.lang.Integer displayTextLocale)
      • getDisplayTextLocale

        public java.lang.Integer getDisplayTextLocale()
      • getTcSubType

        public java.lang.String getTcSubType()
      • setEntireCatalogAdjustment

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

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

        public void setDisplayType(java.lang.String displayType)
      • getDisplayType

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

        public void setAttachmentId(java.lang.Long attachmentId)
      • getAttachmentIdInEntityType

        public java.lang.Long getAttachmentIdInEntityType()
      • setAttachmentId

        public void setAttachmentId(java.lang.String attachmentId)
      • getAttachmentId

        public java.lang.String getAttachmentId()
      • 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.DisplayCustomizationTC getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean