|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.TermConditionAccessBean
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.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TermConditionAccessBean()
Default constructor. |
|
TermConditionAccessBean(javax.ejb.EJBObject anObject)
Creates an access bean for the specified EJB |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.lang.Long |
createNewVersion(java.lang.Long aNewVersion)
This method creates a new version of the terms and conditions. |
java.util.Enumeration |
findAllTCWithTCLevelParticipantByTrading(java.lang.Long tradingId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. |
java.util.Enumeration |
findByTrading(java.lang.Long tradingId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. |
TermConditionAccessBean |
findByTradingAndSequence(java.lang.Long tradingId,
java.lang.Integer tcSequence)
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 tradingId,
java.lang.String tcSubType)
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 tradingId,
java.lang.String tcSubType,
java.lang.Long buyerMemberId)
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 tradingId,
java.lang.String tcSubType)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID and tcSubType, but without the terms and conditions which have tc level participant(s). |
java.util.Enumeration |
findByTradingAndTCType(java.lang.Long tradingId,
java.lang.String tcType)
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 tradingId,
java.lang.String tcType,
java.lang.Long buyerMemberId)
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 aDByTradingAndTCTypeWithoutTCParticipant,
java.lang.String aDByTradingAndTCTypeWithoutTCParticipant)
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 tradingId,
java.lang.Long buyerMemberId)
Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID, and the buyer member ID. |
java.lang.String |
getChangeableFlag()
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getChangeableFlagInEJBType()
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL. |
TermConditionDescriptionAccessBean |
getDescription(java.lang.Integer langId)
Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. |
TermConditionDescriptionAccessBean |
getDescription(java.lang.Integer langId,
java.lang.Integer storeId)
Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. |
java.lang.String |
getMandatoryFlag()
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getMandatoryFlagInEJBType()
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL. |
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 businessPolicyType)
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 NULL. |
java.lang.Long |
getPriceListIdInEJBType()
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL. |
java.lang.String |
getProductSetId()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL. |
java.lang.Integer |
getProductSetIdInEJBType()
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL. |
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 NULL. |
java.sql.Timestamp |
getTimeCreatedInEJBType()
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getTimeUpdated()
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getTimeUpdatedInEJBType()
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
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 |
getXMLString()
This method returns a String object representing the term condition in XML Element format. |
void |
markForDelete()
This method marks the trading agreement for deletion. |
void |
parseXMLElement(org.w3c.dom.Element aXMLElement)
This method parses the given XML element. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setChangeableFlag(java.lang.Integer aChangeableFlag)
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL. |
void |
setChangeableFlag(java.lang.String aChangeableFlag)
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL. |
void |
setInitKey_referenceNumber(java.lang.String aInitKey_referenceNumber)
Set the primary key for this object |
void |
setMandatoryFlag(java.lang.Integer aMandatoryFlag)
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL. |
void |
setMandatoryFlag(java.lang.String aMandatoryFlag)
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL. |
void |
setPriceListId(java.lang.Long aPriceListId)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL. |
void |
setPriceListId(java.lang.String aPriceListId)
This method provides access to the TERMCOND.BIGINTFIELD1 column of DB2 type BIGINT NULL. |
void |
setProductSetId(java.lang.Integer aProductSetId)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL. |
void |
setProductSetId(java.lang.String aProductSetId)
This method provides access to the TERMCOND.INTEGERFIELD1 column of DB2 type INTEGER NULL. |
void |
setReferenceNumber(java.lang.Long tcId)
This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL. |
void |
setReferenceNumber(java.lang.String tcId)
This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL. |
void |
setTcSequence(java.lang.Integer aTcSequence)
This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL. |
void |
setTcSequence(java.lang.String aTcSequence)
This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL. |
void |
setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL. |
void |
setTradingId(java.lang.Long tradingId)
This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String tradingId)
This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL. |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean |
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef |
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TermConditionAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TermConditionAccessBean(javax.ejb.EJBObject anObject) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
anObject
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long createNewVersion(java.lang.Long aNewVersion) 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.
aNewVersion
- The ID of the terms and conditions.org.xml.sax.SAXException
- The org.xml.sax.SAXException exceptionjava.io.IOException
- The java.io.IOException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.ejb.RemoveException
- The javax.ejb.RemoveException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic java.util.Enumeration findAllTCWithTCLevelParticipantByTrading(java.lang.Long tradingId) 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))
tradingId
- The ID of the trading agreement.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTrading(java.lang.Long tradingId) 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 = ?
tradingId
- The ID of the trading agreement.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic TermConditionAccessBean findByTradingAndSequence(java.lang.Long tradingId, java.lang.Integer tcSequence) 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 = ?
tradingId
- The ID of the trading agreement.tcSequence
- The term condition sequence number.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTradingAndTCSubType(java.lang.Long tradingId, java.lang.String tcSubType) 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 = ?
tradingId
- The ID of the specified trading agreement.tcSubType
- The sub-type of the terms and conditions.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTradingAndTCSubTypeForBuyer(java.lang.Long tradingId, java.lang.String tcSubType, java.lang.Long buyerMemberId) 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 = ?))))
tradingId
- The ID of the trading agreement.tcSubType
- The sub-type of the terms and conditions.buyerMemberId
- The ID of the buyer member.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long tradingId, java.lang.String tcSubType) 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 tcSubType, 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)
tradingId
- The ID of the trading agreement.tcSubType
- The sub-type of the terms and conditions.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTradingAndTCType(java.lang.Long tradingId, java.lang.String tcType) 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 = ?)
tradingId
- The ID of the trading agreement.tcType
- The type of the terms and conditions.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTradingAndTCTypeForBuyer(java.lang.Long tradingId, java.lang.String tcType, java.lang.Long buyerMemberId) 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 = ?))))
tradingId
- The ID of the trading agreement.tcType
- The type of the terms and conditions.buyerMemberId
- The ID of the buyer member.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long aDByTradingAndTCTypeWithoutTCParticipant, java.lang.String aDByTradingAndTCTypeWithoutTCParticipant) 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)
tradingId
- The ID of the trading agreement.tcType
- The type of the terms and conditions.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByTradingForBuyer(java.lang.Long tradingId, java.lang.Long buyerMemberId) 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 = ?))))
tradingId
- The ID of the trading agreement.buyerMemberId
- The ID of the buyer member.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).
getChangeableFlag
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
The following is a description of this column:
This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic TermConditionDescriptionAccessBean getDescription(java.lang.Integer langId) 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.
langId
- The ID of the specified language.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic TermConditionDescriptionAccessBean getDescription(java.lang.Integer langId, 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.
langId
- The ID of the specified language.storeId
- The ID of the specified store.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic 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.
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. (0 - no; 1 - yes).
getMandatoryFlag
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
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. (0 - no; 1 - yes).
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic 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.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String businessPolicyType) 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.
businessPolicyType
- The type of business policy.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic 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 NULL.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
getPriceListId
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
A BIGINT field used to store terms and conditions data.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
getProductSetId
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
An INTEGER field used to store terms and conditions data.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getReferenceNumber
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getTcSequence
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getTcSubType
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time created.
getTimeCreated
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time created.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time updated.
getTimeUpdated
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Time updated.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getTradingId
in interface TermConditionAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic void markForDelete() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method marks the trading agreement for deletion.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic void parseXMLElement(org.w3c.dom.Element aXMLElement) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.ejb.RemoveException
This method parses the given XML element.
aXMLElement
- The XML element associated with the terms and conditions.javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.RemoveException
- The javax.ejb.RemoveException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setChangeableFlag(java.lang.Integer aChangeableFlag)
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).
aChangeableFlag
- The flag indicating whether the trading agreement participant can change the term.public void setChangeableFlag(java.lang.String aChangeableFlag)
This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column indicates if the trading agreement participant can change the term. (0 - no; 1 - yes).
setChangeableFlag
in interface TermConditionAccessBeanData
aChangeableFlag
- The flag indicating whether the trading agreement participant can change the term.public void setInitKey_referenceNumber(java.lang.String aInitKey_referenceNumber)
Set the primary key for this object
aInitKey_referenceNumber
- The ID of the terms and conditions.public void setMandatoryFlag(java.lang.Integer aMandatoryFlag)
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
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. (0 - no; 1 - yes).
aMandatoryFlag
- The flag indicating whether the trading agreement participant must respond to this term during negotiation.public void setMandatoryFlag(java.lang.String aMandatoryFlag)
This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL.
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. (0 - no; 1 - yes).
setMandatoryFlag
in interface TermConditionAccessBeanData
aMandatoryFlag
- The flag indicating whether the trading agreement participant must respond to this term during negotiation.public void setPriceListId(java.lang.Long aPriceListId)
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.
aPriceListId
- The ID of the price list in the terms and conditions.public void setPriceListId(java.lang.String aPriceListId)
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.
setPriceListId
in interface TermConditionAccessBeanData
aPriceListId
- The ID of the price list in the terms and conditions.public void setProductSetId(java.lang.Integer aProductSetId)
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.
aProductSetId
- The ID of the product set.public void setProductSetId(java.lang.String aProductSetId)
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.
setProductSetId
in interface TermConditionAccessBeanData
aProductSetId
- The ID of the product set.public void setReferenceNumber(java.lang.Long tcId)
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.
tcId
- The ID of the terms and conditions.public void setReferenceNumber(java.lang.String tcId)
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.
setReferenceNumber
in interface TermConditionAccessBeanData
tcId
- The ID of the terms and conditions.public void setTcSequence(java.lang.Integer aTcSequence)
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.
aTcSequence
- The number indicating the sequence of the term within a trading agreement.public void setTcSequence(java.lang.String aTcSequence)
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.
setTcSequence
in interface TermConditionAccessBeanData
aTcSequence
- The number indicating the sequence of the term within a trading agreement.public void setTimeCreated(java.lang.String aTimeCreated)
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
setTimeCreated
in interface TermConditionAccessBeanData
aTimeCreated
- The time when the terms and conditions is created.public void setTimeCreated(java.sql.Timestamp aTimeCreated)
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time created.
aTimeCreated
- The time when the terms and conditions are created.public void setTimeUpdated(java.lang.String aTimeUpdated)
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
setTimeUpdated
in interface TermConditionAccessBeanData
aTimeUpdated
- The last updated time of the terms and conditions.public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Time updated.
aTimeUpdated
- The last updated time of the terms and conditions.public void setTradingId(java.lang.Long tradingId)
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.
tradingId
- The ID of the trading agreement this term belongs to.public void setTradingId(java.lang.String tradingId)
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.
setTradingId
in interface TermConditionAccessBeanData
tradingId
- The ID of the trading agreement this term belongs to.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |