public class AddressBookTCAccessBean
extends com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Constructor and Description |
---|
AddressBookTCAccessBean() |
AddressBookTCAccessBean(com.ibm.commerce.contract.objects.AddressBookTC entity) |
AddressBookTCAccessBean(java.lang.Long tradingId,
org.w3c.dom.Element argElement) |
AddressBookTCAccessBean(TermConditionAccessBean aAccessBean) |
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 |
getAddressType() |
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.Double |
getEntireCatalogAdjustment() |
java.lang.Integer |
getEntireCatalogSelected() |
com.ibm.commerce.contract.objects.AddressBookTC |
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 |
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 |
getUseAccountAddressBook() |
java.lang.Integer |
getUseAccountAddressBookInEntityType() |
java.lang.String |
getUseParentOrgAddressBook() |
java.lang.Integer |
getUseParentOrgAddressBookInEntityType() |
java.lang.String |
getUsePersonalAddressBook() |
java.lang.Integer |
getUsePersonalAddressBookInEntityType() |
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 |
setAddressType(java.lang.String addressType) |
void |
setChangeableFlag(java.lang.Integer changeableFlag) |
void |
setChangeableFlag(java.lang.String changeableFlag) |
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 |
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 |
setUseAccountAddressBook(java.lang.Integer useAccountAddressBook) |
void |
setUseAccountAddressBook(java.lang.String useAccountAddressBook) |
void |
setUseParentOrgAddressBook(java.lang.Integer useParentOrgAddressBook) |
void |
setUseParentOrgAddressBook(java.lang.String useParentOrgAddressBook) |
void |
setUsePersonalAddressBook(java.lang.Integer usePersonalAddressBook) |
void |
setUsePersonalAddressBook(java.lang.String usePersonalAddressBook) |
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) |
public static final java.lang.String COPYRIGHT
public AddressBookTCAccessBean()
public AddressBookTCAccessBean(TermConditionAccessBean aAccessBean)
public AddressBookTCAccessBean(com.ibm.commerce.contract.objects.AddressBookTC entity)
public AddressBookTCAccessBean(java.lang.Long tradingId, org.w3c.dom.Element argElement)
public void setInitKey_referenceNumber(java.lang.String referenceNumber)
public void setInitKey_referenceNumber(java.lang.Long referenceNumber)
public void setUsePersonalAddressBook(java.lang.Integer usePersonalAddressBook)
public java.lang.Integer getUsePersonalAddressBookInEntityType()
public void setUsePersonalAddressBook(java.lang.String usePersonalAddressBook)
public java.lang.String getUsePersonalAddressBook()
public java.lang.String getTcSubType()
public void setEntireCatalogAdjustment(java.lang.Double entireCatalogAdjustment)
public java.lang.Double getEntireCatalogAdjustment()
public void setEntireCatalogAdjustment(java.lang.String entireCatalogAdjustment)
public void setAddressType(java.lang.String addressType)
public java.lang.String getAddressType()
public void setChangeableFlag(java.lang.Integer changeableFlag)
public java.lang.Integer getChangeableFlagInEntityType()
public void setChangeableFlag(java.lang.String changeableFlag)
public java.lang.String getChangeableFlag()
public java.lang.Long getPercentagePriceList()
public void setMandatoryFlag(java.lang.Integer mandatoryFlag)
public java.lang.Integer getMandatoryFlagInEntityType()
public void setMandatoryFlag(java.lang.String mandatoryFlag)
public java.lang.String getMandatoryFlag()
public void setUseParentOrgAddressBook(java.lang.Integer useParentOrgAddressBook)
public java.lang.Integer getUseParentOrgAddressBookInEntityType()
public void setUseParentOrgAddressBook(java.lang.String useParentOrgAddressBook)
public java.lang.String getUseParentOrgAddressBook()
public void setReferenceNumber(java.lang.Long referenceNumber)
public java.lang.Long getReferenceNumberInEntityType()
public void setReferenceNumber(java.lang.String referenceNumber)
public java.lang.String getReferenceNumber()
public void setTimeUpdated(java.sql.Timestamp timeUpdated)
public java.sql.Timestamp getTimeUpdatedInEntityType()
public void setTimeUpdated(java.lang.String timeUpdated)
public java.lang.String getTimeUpdated()
public void setTradingId(java.lang.Long tradingId)
public java.lang.Long getTradingIdInEntityType()
public void setTradingId(java.lang.String tradingId)
public java.lang.String getTradingId()
public void setTcSequence(java.lang.Integer tcSequence)
public java.lang.Integer getTcSequenceInEntityType()
public void setTcSequence(java.lang.String tcSequence)
public java.lang.String getTcSequence()
public void setTimeCreated(java.sql.Timestamp timeCreated)
public java.sql.Timestamp getTimeCreatedInEntityType()
public void setTimeCreated(java.lang.String timeCreated)
public java.lang.String getTimeCreated()
public void setUseAccountAddressBook(java.lang.Integer useAccountAddressBook)
public java.lang.Integer getUseAccountAddressBookInEntityType()
public void setUseAccountAddressBook(java.lang.String useAccountAddressBook)
public java.lang.String getUseAccountAddressBook()
public java.lang.Long createNewVersion(java.lang.Long argNewTradingId) throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
public TermConditionDescriptionAccessBean getDescription(java.lang.Integer anLanguageId)
public TermConditionDescriptionAccessBean getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
public ParticipantAccessBean[] getParticipants()
public BusinessPolicyAccessBean[] getPolicies()
public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argPolicyType)
public java.lang.String getXMLString()
public java.lang.String getXMLString(boolean tcdata)
public void markForDelete()
public void parseXMLElement(org.w3c.dom.Element argElement) throws javax.ejb.RemoveException, com.ibm.commerce.contract.helper.TermCondCreateException, javax.naming.NamingException
javax.ejb.RemoveException
com.ibm.commerce.contract.helper.TermCondCreateException
javax.naming.NamingException
public java.lang.String[] getXMLDefinitions(java.lang.Integer type)
public java.lang.String[] getXMLStrings(java.lang.Integer type)
public void setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, org.w3c.dom.Element e, java.lang.Integer sequence)
public void setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, java.lang.String newValue, java.lang.Integer sequence)
public java.lang.Integer getEntireCatalogSelected()
public void setEntireCatalogSelected(java.lang.Integer entireCatalogSelected)
public void setEntireCatalogSelected(java.lang.String entireCatalogSelected)
public java.lang.Integer[] getInclusionProductSets() throws java.sql.SQLException, javax.naming.NamingException
java.sql.SQLException
javax.naming.NamingException
public java.lang.Integer[] getExclusionProductSets() throws java.sql.SQLException, javax.naming.NamingException
java.sql.SQLException
javax.naming.NamingException
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
java.sql.SQLException
javax.naming.NamingException
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
java.sql.SQLException
javax.naming.NamingException
public int deleteProductSetAdjustment(java.lang.Integer productsetId) throws java.sql.SQLException, javax.naming.NamingException
java.sql.SQLException
javax.naming.NamingException
public java.lang.Integer[] findProductSetIdsByTCIdAndType(java.lang.Integer type) throws java.sql.SQLException, javax.naming.NamingException
java.sql.SQLException
javax.naming.NamingException
public java.util.Vector getProductSetAdjustments() throws java.sql.SQLException, javax.naming.NamingException
java.sql.SQLException
javax.naming.NamingException
public java.lang.Long[] getPriceListIds()
public java.lang.Long[] getPercentagePriceListIds()
public void instantiateEntity()
instantiateEntity
in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
public com.ibm.commerce.contract.objects.AddressBookTC getEntity()
getEntity
in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean