public class DisplayCustomizationTCBeanBase 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 |
---|---|
java.lang.Long | attachmentId |
java.lang.String | displayText |
java.lang.Integer | displayTextLocale |
java.lang.String | displayType |
java.lang.Double | sequenceNumber |
Constructor and Description |
---|
DisplayCustomizationTCBeanBase() |
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 DisplayCustomizationTCAccessBean object with the specified trading agreement ID and the display customization 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.Long | getAttachmentId()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
|
java.lang.String | getDisplayText()
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type STRING NULL.
|
java.lang.Integer | getDisplayTextLocale()
This method provides access to the TERMCOND.INTGERFIELD1 column of DB2 type INTEGER NULL.
|
java.lang.String | getDisplayType()
This method provides access to the TERMCOND.STRINGFIELD2 column of DB2 type STRING NULL.
|
java.lang.Double | getSequenceNumber()
This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE 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 | setAttachmentId(java.lang.Long newValue)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL.
|
void | setDisplayText(java.lang.String newValue)
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type STRING NULL.
|
void | setDisplayTextLocale(java.lang.Integer newValue)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
|
void | setDisplayType(java.lang.String newValue)
This method provides access to the TERMCOND.STRINGFIELD2 column of DB2 type STRING NULL.
|
void | setSequenceNumber(java.lang.Double newValue)
This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.
|
public java.lang.Long attachmentId
public java.lang.Double sequenceNumber
public java.lang.String displayType
public java.lang.String displayText
public java.lang.Integer displayTextLocale
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.Long getAttachmentId()
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.Double getSequenceNumber()
This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.
The following is a description of this column:
A DOUBLE field used to store terms and conditions data.
public java.lang.String getDisplayType()
This method provides access to the TERMCOND.STRINGFIELD2 column of DB2 type STRING NULL.
The following is a description of this column:
A STRING field used to store the type of the Display terms and conditions (for example 'ATTACHMENT', 'TEXTFIELD ')
public java.lang.String getDisplayText()
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type STRING NULL.
The following is a description of this column:
A STRING field used to store the display text of the Display terms and conditions
public java.lang.Integer getDisplayTextLocale()
This method provides access to the TERMCOND.INTGERFIELD1 column of DB2 type INTEGER NULL.
The following is a description of this column:
An INTEGER field used to store the display text locale (language id) of the Display terms and conditions
public java.lang.String getXMLString(boolean tcdata) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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 void parseXMLElement(org.w3c.dom.Element argElement) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.RemoveException
public void setAttachmentId(java.lang.Long newValue)
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 setSequenceNumber(java.lang.Double newValue)
This method provides access to the TERMCOND.FLOATFIELD1 column of DB2 type DOUBLE NULL.
The following is a description of this column:
A DOUBLE field used to store terms and conditions data.
public void setDisplayType(java.lang.String newValue)
This method provides access to the TERMCOND.STRINGFIELD2 column of DB2 type STRING NULL.
The following is a description of this column:
A STRING field used to store terms and conditions data.
public void setDisplayText(java.lang.String newValue)
This method provides access to the TERMCOND.STRINGFIELD1 column of DB2 type STRING NULL.
The following is a description of this column:
A STRING field used to store terms and conditions data.
public void setDisplayTextLocale(java.lang.Integer newValue)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL.
The following is a description of this column:
A STRING field used to store terms and conditions data.