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 Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
Copyright.
-
Constructor Summary
Constructors Constructor and Description DisplayCustomizationTCAccessBean()
DisplayCustomizationTCAccessBean(com.ibm.commerce.contract.objects.DisplayCustomizationTC entity)
DisplayCustomizationTCAccessBean(java.lang.Long tradingId, org.w3c.dom.Element argElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
addProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type)
java.lang.Long
createNewVersion(java.lang.Long argNewTradingId)
int
deleteProductSetAdjustment(java.lang.Integer productsetId)
java.lang.Integer[]
findProductSetIdsByTCIdAndType(java.lang.Integer type)
java.lang.String
getAttachmentId()
java.lang.Long
getAttachmentIdInEntityType()
java.lang.String
getChangeableFlag()
java.lang.Integer
getChangeableFlagInEntityType()
TermConditionDescriptionAccessBean
getDescription(java.lang.Integer anLanguageId)
TermConditionDescriptionAccessBean
getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
java.lang.String
getDisplayText()
java.lang.Integer
getDisplayTextLocale()
java.lang.String
getDisplayType()
java.lang.Double
getEntireCatalogAdjustment()
java.lang.Integer
getEntireCatalogSelected()
com.ibm.commerce.contract.objects.DisplayCustomizationTC
getEntity()
java.lang.Integer[]
getExclusionProductSets()
java.lang.Integer[]
getInclusionProductSets()
java.lang.String
getMandatoryFlag()
java.lang.Integer
getMandatoryFlagInEntityType()
ParticipantAccessBean[]
getParticipants()
java.lang.Long
getPercentagePriceList()
java.lang.Long[]
getPercentagePriceListIds()
BusinessPolicyAccessBean[]
getPolicies()
BusinessPolicyAccessBean[]
getPoliciesByType(java.lang.String argPolicyType)
java.lang.Long[]
getPriceListIds()
java.util.Vector
getProductSetAdjustments()
java.lang.String
getReferenceNumber()
java.lang.Long
getReferenceNumberInEntityType()
java.lang.String
getSequenceNumber()
java.lang.Double
getSequenceNumberInEntityType()
java.lang.String
getTcSequence()
java.lang.Integer
getTcSequenceInEntityType()
java.lang.String
getTcSubType()
java.lang.String
getTimeCreated()
java.sql.Timestamp
getTimeCreatedInEntityType()
java.lang.String
getTimeUpdated()
java.sql.Timestamp
getTimeUpdatedInEntityType()
java.lang.String
getTradingId()
java.lang.Long
getTradingIdInEntityType()
java.lang.String[]
getXMLDefinitions(java.lang.Integer type)
java.lang.String
getXMLString()
java.lang.String
getXMLString(boolean tcdata)
java.lang.String[]
getXMLStrings(java.lang.Integer type)
void
instantiateEntity()
void
markForDelete()
void
parseXMLElement(org.w3c.dom.Element argElement)
void
setAttachmentId(java.lang.Long attachmentId)
void
setAttachmentId(java.lang.String attachmentId)
void
setChangeableFlag(java.lang.Integer changeableFlag)
void
setChangeableFlag(java.lang.String changeableFlag)
void
setDisplayText(java.lang.String displayText)
void
setDisplayTextLocale(java.lang.Integer displayTextLocale)
void
setDisplayType(java.lang.String displayType)
void
setEntireCatalogAdjustment(java.lang.Double entireCatalogAdjustment)
void
setEntireCatalogAdjustment(java.lang.String entireCatalogAdjustment)
void
setEntireCatalogSelected(java.lang.Integer entireCatalogSelected)
void
setEntireCatalogSelected(java.lang.String entireCatalogSelected)
void
setInitKey_referenceNumber(java.lang.Long referenceNumber)
void
setInitKey_referenceNumber(java.lang.String referenceNumber)
void
setMandatoryFlag(java.lang.Integer mandatoryFlag)
void
setMandatoryFlag(java.lang.String mandatoryFlag)
void
setReferenceNumber(java.lang.Long referenceNumber)
void
setReferenceNumber(java.lang.String referenceNumber)
void
setSequenceNumber(java.lang.Double sequenceNumber)
void
setSequenceNumber(java.lang.String sequenceNumber)
void
setTcSequence(java.lang.Integer tcSequence)
void
setTcSequence(java.lang.String tcSequence)
void
setTimeCreated(java.lang.String timeCreated)
void
setTimeCreated(java.sql.Timestamp timeCreated)
void
setTimeUpdated(java.lang.String timeUpdated)
void
setTimeUpdated(java.sql.Timestamp timeUpdated)
void
setTradingId(java.lang.Long tradingId)
void
setTradingId(java.lang.String tradingId)
void
setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, org.w3c.dom.Element e, java.lang.Integer sequence)
void
setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, java.lang.String newValue, java.lang.Integer sequence)
int
updateProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type)
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
Copyright.- See Also:
- Constant Field Values
-
-
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
-
getDescription
public TermConditionDescriptionAccessBean getDescription(java.lang.Integer anLanguageId)
-
getDescription
public TermConditionDescriptionAccessBean getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
-
getParticipants
public ParticipantAccessBean[] getParticipants()
-
getPolicies
public BusinessPolicyAccessBean[] getPolicies()
-
getPoliciesByType
public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argPolicyType)
-
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 classcom.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
getEntity
public com.ibm.commerce.contract.objects.DisplayCustomizationTC getEntity()
- Overrides:
getEntity
in classcom.ibm.commerce.persistence.AbstractJpaEntityAccessBean
-
-