java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.contract.objects.TermConditionAccessBean
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 &l This access bean corresponds to the database table 'TERMCOND'.
Constructor Summary | |
TermConditionAccessBean() Zero argument constructor used to initialize the access bean. |
|
TermConditionAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
int | addProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type) |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
java.lang.Long | createNewVersion(java.lang.Long argNewTradingId) This method creates a new version of the terms and conditions. |
protected java.lang.String | defaultJNDIName() |
int | deleteProductSetAdjustment(java.lang.Integer productsetId) |
java.util.Enumeration | findAllTCWithTCLevelParticipantByTrading(java.lang.Long argTradingId) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. |
java.util.Enumeration | findByTrading(java.lang.Long argTradingId) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. |
TermConditionAccessBean | findByTradingAndSequence(java.lang.Long argTradingId, java.lang.Integer argTCSequence) Retrieves the TermConditionAccessBean representing the term condition with the specified trading agreement ID, and the term condition sequence number. |
java.util.Enumeration | findByTradingAndTCSubType(java.lang.Long argTradingId, java.lang.String argTCSubType) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition sub-type. |
java.util.Enumeration | findByTradingAndTCSubTypeForBuyer(java.lang.Long argTradingId, java.lang.String argTCSubType, java.lang.Long argMemberId) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition sub-type, and the buyer member ID. |
java.util.Enumeration | findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long argTradingId, java.lang.String argTCSubType) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and argTCSubType, but without the terms and conditions which have tc level participant(s). |
java.util.Enumeration | findByTradingAndTCType(java.lang.Long argTradingId, java.lang.String argTCType) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition type. |
java.util.Enumeration | findByTradingAndTCTypeForBuyer(java.lang.Long argTradingId, java.lang.String argTCType, java.lang.Long argMemberId) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition type, and the buyer member ID. |
java.util.Enumeration | findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long argTradingId, java.lang.String argTCType) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcType, but without the terms and conditions which have tc level participant(s). |
java.util.Enumeration | findByTradingForBuyer(java.lang.Long argTradingId, java.lang.Long argMemberId) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the buyer member ID. |
java.lang.Integer[] | findProductSetIdsByTCIdAndType(java.lang.Integer type) |
java.lang.String | getChangeableFlag() This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getChangeableFlagInEJBType() This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
TermConditionDescriptionAccessBean | getDescription(java.lang.Integer argLanguageId) Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. |
TermConditionDescriptionAccessBean | getDescription(java.lang.Integer language_id, java.lang.Integer storeId) Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. |
java.lang.Double | getEntireCatalogAdjustment() |
java.lang.Integer | getEntireCatalogSelected() |
java.lang.Integer[] | getExclusionProductSets() |
java.lang.Integer[] | getInclusionProductSets() |
java.lang.String | getMandatoryFlag() This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getMandatoryFlagInEJBType() This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0. |
ParticipantAccessBean[] | getParticipants() The method returns an array of ParticipantAccessBeans representing all the participants that the term condition has. |
BusinessPolicyAccessBean[] | getPolicies() The method returns an array of BusinessPolicyAccessBean objects representing the business policies that the term condition has. |
BusinessPolicyAccessBean[] | getPoliciesByType(java.lang.String argPolicyType) The method returns an array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has. |
java.lang.String | getPriceListId() This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT. |
java.lang.Long | getPriceListIdInEJBType() This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT. |
java.lang.Long[] | getPriceListIds() |
java.util.Vector | getProductSetAdjustments() |
java.lang.String | getProductSetId() This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER. |
java.lang.Integer | getProductSetIdInEJBType() This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER. |
java.lang.String | getReferenceNumber() This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getReferenceNumberInEJBType() This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getTcSequence() This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getTcSequenceInEJBType() This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL. |
java.lang.String | getTcSubType() This method provides access to the TERMCOND.TCSUBTYPE_ID column of DB2 type CHARACTER(64) NOT NULL. |
java.lang.String | getTimeCreated() This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getTimeCreatedInEJBType() This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP. |
java.lang.String | getTimeUpdated() This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getTimeUpdatedInEJBType() This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP. |
java.lang.String | getTradingId() This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getTradingIdInEJBType() This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String[] | getXMLDefinitions(java.lang.Integer type) |
java.lang.String | getXMLString() This method returns a String object representing the term condition in XML Element format. |
java.lang.String | getXMLString(boolean tcdata) |
java.lang.String[] | getXMLStrings(java.lang.Integer type) |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | markForDelete() This method marks the trading agreement for deletion. |
void | parseXMLElement(org.w3c.dom.Element argElement) This method parses the given XML element. |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setChangeableFlag(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setChangeableFlag(java.lang.String newValue) This method accesses a non-CMP field |
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.String newValue) Set the primary key for this object |
void | setMandatoryFlag(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setMandatoryFlag(java.lang.String newValue) This method accesses a non-CMP field |
void | setPriceListId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setPriceListId(java.lang.String newValue) This method accesses a non-CMP field |
void | setProductSetId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setProductSetId(java.lang.String newValue) This method accesses a non-CMP field |
void | setReferenceNumber(java.lang.Long newValue) This method accesses a non-CMP field |
void | setReferenceNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setTcSequence(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setTcSequence(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeCreated(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeCreated(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setTimeUpdated(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeUpdated(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setTradingId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setTradingId(java.lang.String newValue) This method accesses a non-CMP field |
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 xml, java.lang.Integer sequence) |
int | updateProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TermConditionAccessBean()
public TermConditionAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public TermConditionAccessBean findByTradingAndSequence(java.lang.Long argTradingId, java.lang.Integer argTCSequence) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the TermConditionAccessBean representing the term condition with the specified trading agreement ID, and the term condition sequence number.
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id = ? and sequence = ?
public java.util.Enumeration findAllTCWithTCLevelParticipantByTrading(java.lang.Long argTradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. The terms and conditions should have tc level participant(s).
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id=? and (termcond_id in (select termcond_id from participant where trading_id is null and termcond_id is not null))
public java.util.Enumeration findByTrading(java.lang.Long argTradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID.
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id = ?
public java.util.Enumeration findByTradingAndTCSubType(java.lang.Long argTradingId, java.lang.String argTCSubType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition sub-type.
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id = ? and tcsubtype_id = ?
public java.util.Enumeration findByTradingAndTCSubTypeForBuyer(java.lang.Long argTradingId, java.lang.String argTCSubType, java.lang.Long argMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition sub-type, and the buyer member ID.
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id=? and tcsubtype_id = ? and (termcond_id not in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))
public java.util.Enumeration findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long argTradingId, java.lang.String argTCSubType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and argTCSubType, but without the terms and conditions which have tc level participant(s).
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id=? and tcsubtype_id = ? and termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2)
public java.util.Enumeration findByTradingAndTCType(java.lang.Long argTradingId, java.lang.String argTCType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the term condition type.
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id = ? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?)
public java.util.Enumeration findByTradingAndTCTypeForBuyer(java.lang.Long argTradingId, java.lang.String argTCType, java.lang.Long argMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, term condition type, and the buyer member ID.
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id=? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?) and (termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))
public java.util.Enumeration findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long argTradingId, java.lang.String argTCType) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcType, but without the terms and conditions which have tc level participant(s).
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id=? and tcsubtype_id in (select tcsubtype_id from tcsubtype where tctype_id = ?) and termcond_id not in (select termcond_id from participant where trading_id is null and termcond_id is not null and partrole_id=2)
public java.util.Enumeration findByTradingForBuyer(java.lang.Long argTradingId, java.lang.Long argMemberId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the buyer member ID.
The SQL query used to fetch the required rows from the TERMCOND table is:
select * from termcond T1 where T1.trading_id=? and (termcond_id not in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2) or termcond_id in (select termcond_id from participnt where trading_id is null and termcond_id is not null and partrole_id=2 and (member_id is null or member_id = ? or member_id in (select ancestor_id from mbrrel where descendant_id = ?) or member_id in (select mbrgrp_id from mbrgrpmbr where member_id = ?))))
public void setInitKey_referenceNumber(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getMandatoryFlag() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column is used to indicate if the trading agreement participant must respond to this term during negotiation. Valid values are as follows:&l
public java.lang.Integer getMandatoryFlagInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column is used to indicate if the trading agreement participant must respond to this term during negotiation. Valid values are as follows:&l
public void setMandatoryFlag(java.lang.String newValue)
public void setMandatoryFlag(java.lang.Integer newValue)
public java.lang.String getPriceListId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
public java.lang.Long getPriceListIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
public void setPriceListId(java.lang.String newValue)
public void setPriceListId(java.lang.Long newValue)
public java.lang.String getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.
public java.lang.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Foreign key to TRADING table. This column indicates the trading agreement this term belongs to.
public void setTradingId(java.lang.String newValue)
public void setTradingId(java.lang.Long newValue)
public java.lang.String getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time that this term and condition was last updated.
public java.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time that this term and condition was last updated.
public void setTimeUpdated(java.lang.String newValue)
public void setTimeUpdated(java.sql.Timestamp newValue)
public java.lang.String getProductSetId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public java.lang.Integer getProductSetIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
public void setProductSetId(java.lang.String newValue)
public void setProductSetId(java.lang.Integer newValue)
public java.lang.String getChangeableFlag() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column indicates if the trading agreement participant can change the term. Valid values are as follows:&l
public java.lang.Integer getChangeableFlagInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column indicates if the trading agreement participant can change the term. Valid values are as follows:&l
public void setChangeableFlag(java.lang.String newValue)
public void setChangeableFlag(java.lang.Integer newValue)
public java.lang.String getTcSubType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TCSUBTYPE_ID column of DB2 type CHARACTER(64) NOT NULL.
The following is a description of this column:
A CHARACTER field used to terms and conditions subtype.
public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time that this term and condition was created.
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time that this term and condition was created.
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
public java.lang.String getTcSequence() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.
public java.lang.Integer getTcSequenceInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column contains a number indicating the sequence of the term within a trading agreement. This number must be unique within a trading agreement.
public void setTcSequence(java.lang.String newValue)
public void setTcSequence(java.lang.Integer newValue)
public java.lang.String getReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key and internal reference number for this term.
public java.lang.Long getReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Primary key and internal reference number for this term.
public void setReferenceNumber(java.lang.String newValue)
public void setReferenceNumber(java.lang.Long newValue)
public BusinessPolicyAccessBean[] getPolicies() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of BusinessPolicyAccessBean objects representing the business policies that the term condition has.
public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argPolicyType) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of BusinessPolicyAccessBean representing the specified type of business policies that the term condition has.
public ParticipantAccessBean[] getParticipants() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of ParticipantAccessBeans representing all the participants that the term condition has.
public TermConditionDescriptionAccessBean getDescription(java.lang.Integer argLanguageId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID.
public TermConditionDescriptionAccessBean getDescription(java.lang.Integer language_id, java.lang.Integer storeId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. If the description for the specified language is not available for the specified store, An alternate language description will be returned.
public java.lang.Long createNewVersion(java.lang.Long argNewTradingId) throws org.xml.sax.SAXException, java.io.IOException, javax.ejb.CreateException, javax.ejb.FinderException, javax.ejb.RemoveException, javax.naming.NamingException, java.rmi.RemoteException
This method creates a new version of the terms and conditions.
public java.lang.String getXMLString() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns a String object representing the term condition in XML Element format.
public java.lang.String getXMLString(boolean tcdata) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
public void markForDelete() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method marks the trading agreement for deletion.
public void parseXMLElement(org.w3c.dom.Element argElement) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.ejb.RemoveException
This method parses the given XML element.
public java.lang.String[] getXMLDefinitions(java.lang.Integer type) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public java.lang.String[] getXMLStrings(java.lang.Integer type) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public void setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, org.w3c.dom.Element e, java.lang.Integer sequence) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public void setXMLDefinition(java.lang.Long tradingId, java.lang.Integer type, java.lang.String xml, java.lang.Integer sequence) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public java.lang.Integer getEntireCatalogSelected() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public void setEntireCatalogSelected(java.lang.Integer entireCatalogSelected) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public void setEntireCatalogSelected(java.lang.String entireCatalogSelected) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public java.lang.Double getEntireCatalogAdjustment() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public void setEntireCatalogAdjustment(java.lang.Double entireCatalogAdjustment) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public void setEntireCatalogAdjustment(java.lang.String entireCatalogAdjustment) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public java.lang.Integer[] getInclusionProductSets() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public java.lang.Integer[] getExclusionProductSets() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
public int addProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.sql.SQLException, java.rmi.RemoteException
public int updateProductSetAdjustment(java.lang.Integer productsetId, java.lang.Double adjustment, java.lang.Integer precedence, java.lang.Integer type) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.sql.SQLException, java.rmi.RemoteException
public int deleteProductSetAdjustment(java.lang.Integer productsetId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.sql.SQLException, java.rmi.RemoteException
public java.lang.Integer[] findProductSetIdsByTCIdAndType(java.lang.Integer type) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.sql.SQLException, java.rmi.RemoteException
public java.util.Vector getProductSetAdjustments() throws javax.naming.NamingException, java.sql.SQLException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
public java.lang.Long[] getPriceListIds() throws javax.ejb.CreateException, javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.