public class PriceTCConfigBuildBlockBeanBase extends TermConditionBean
This bean provides access to the TERMCOND table.
The following is a description of this table:
This table contains terms and conditions used in trading agreements (business accounts, contracts, RFQs). To see how columns are used by different terms and conditions, refer to TERMCOND column mapping in the online help. This bean accesses the database table TERMCOND.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
java.lang.Integer | deployStatus
Implementation field for persistent attribute: INTEGERFIELD2
|
java.sql.Timestamp | deployTimeStamp
Implementation field for persistent attribute: TIMESTAMP1
|
java.lang.Long | percentagePriceList
Implementation field for persistent attribute: BIGINTFIELD2
|
java.lang.Long | priceListId
Implementation field for persistent attribute: BIGINTFIELD1
|
java.lang.Integer | productSetId
Implementation field for persistent attribute: INTEGERFIELD1
|
Constructor and Description |
---|
PriceTCConfigBuildBlockBeanBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | createNewVersion(java.lang.Long argNewTradingId)
This method creates a new version of the terms and conditions.
|
com.ibm.commerce.contract.objects.TermConditionKey | ejbCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
Constructs a PriceTCConfigBuildBlockAccessBean object with the specified trading agreement ID, and the price term condition element.
|
void | ejbPostCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement)
Parses the XML element to construct the terms and conditions.
|
java.lang.Integer | getDeployStatus()
This method provides access to the TERMCOND.INTEGERFIELD2 column of DB2 type INTEGER NULL.
|
java.sql.Timestamp | getDeployTimeStamp()
This method provides access to the TERMCOND.TIMEFIELD1 column of DB2 type TIMESTAMP NULL.
|
java.lang.Long | getPercentagePriceList()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
|
java.lang.Long[] | getPercentagePriceListIds()
Retrieves an array of price list IDs associated with the price policy.
|
java.lang.Long | getPriceListId()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
|
java.lang.Integer | getProductSetId()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
|
java.lang.String | getXMLString()
This method retrieves the XML String associated with the terms and conditions.
|
java.lang.String | getXMLString(boolean tcdata)
This method retrieves the XML String associated with the terms and conditions.
|
void | parseXMLElement(org.w3c.dom.Element argElement)
This method parses the given XML element.
|
void | setDeployStatus(java.lang.Integer deployStatus)
This method provides access to the TERMCOND.INTEGERFIELD2 column of DB2 type INTEGER NULL.
|
void | setDeployStatus(java.lang.String deployStatus)
This method provides access to the TERMCOND.INTEGERFIELD2 column of DB2 type INTEGER NULL.
|
void | setDeployTimeStamp(java.lang.String deployTimeStamp)
This method provides access to the TERMCOND.TIMEFIELD1 column of DB2 type TIMESTAMP NULL.
|
void | setDeployTimeStamp(java.sql.Timestamp deployTimeStamp)
This method provides access to the TERMCOND.TIMEFIELD1 column of DB2 type TIMESTAMP NULL.
|
void | setPercentagePriceList(java.lang.Long percentagePriceList)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
|
void | setPercentagePriceList(java.lang.String percentagePriceList)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
|
void | setPriceListId(java.lang.Long argPriceListId)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
|
void | setProductSetId(java.lang.Integer productSetId)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
|
void | setProductSetId(java.lang.String productSetId)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
|
public java.lang.Integer productSetId
public java.lang.Long percentagePriceList
public java.sql.Timestamp deployTimeStamp
public java.lang.Integer deployStatus
public java.lang.Long priceListId
public static final java.lang.String COPYRIGHT
public java.lang.Long createNewVersion(java.lang.Long argNewTradingId) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException, org.xml.sax.SAXException, java.io.IOException
public com.ibm.commerce.contract.objects.TermConditionKey ejbCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException
public void ejbPostCreate(java.lang.Long argTradingId, org.w3c.dom.Element argElement) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException
public java.lang.String getXMLString() throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method retrieves the XML String associated with the terms and conditions.
No terms and conditions data will be included in this XML String.
public java.lang.String getXMLString(boolean tcdata) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void parseXMLElement(org.w3c.dom.Element argElement) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException
public java.lang.Long getPercentagePriceList()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
public void setPercentagePriceList(java.lang.Long percentagePriceList)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
public void setPercentagePriceList(java.lang.String percentagePriceList)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
public java.lang.Integer getProductSetId()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public void setProductSetId(java.lang.Integer productSetId)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public void setProductSetId(java.lang.String productSetId)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public java.sql.Timestamp getDeployTimeStamp()
This method provides access to the TERMCOND.TIMEFIELD1 column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
A TIMESTAMP field used to store terms and conditions data.
public void setDeployTimeStamp(java.sql.Timestamp deployTimeStamp)
This method provides access to the TERMCOND.TIMEFIELD1 column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
A TIMESTAMP field used to store terms and conditions data.
public void setDeployTimeStamp(java.lang.String deployTimeStamp)
This method provides access to the TERMCOND.TIMEFIELD1 column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
A TIMESTAMP field used to store terms and conditions data.
public java.lang.Integer getDeployStatus()
This method provides access to the TERMCOND.INTEGERFIELD2 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public void setDeployStatus(java.lang.Integer deployStatus)
This method provides access to the TERMCOND.INTEGERFIELD2 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public void setDeployStatus(java.lang.String deployStatus)
This method provides access to the TERMCOND.INTEGERFIELD2 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public java.lang.Long getPriceListId()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
public void setPriceListId(java.lang.Long argPriceListId)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
public java.lang.Long[] getPercentagePriceListIds() throws javax.ejb.CreateException, javax.naming.NamingException, javax.ejb.FinderException
Retrieves an array of price list IDs associated with the price policy.
If getPercentagePriceList is not null, then return getPercentagePriceList. If it is null, then read the POLICYTC table, get the policies, find the trading position container from the policy properties field. And return the price list IDs.