java.lang.Object | +--com.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
Constructor Summary | |
---|---|
TermConditionAccessBean() constructor | |
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 arg0) 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 arg0) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. |
java.util.Enumeration |
findByTrading(java.lang.Long arg0) Retrieves an Enumeration of TermConditionAccessBeans representing all terms and conditions with the specified trading agreement ID. |
TermConditionAccessBean |
findByTradingAndSequence(java.lang.Long arg0,
java.lang.Integer arg1) 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 arg0,
java.lang.String arg1) 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 arg0,
java.lang.String arg1, java.lang.Long arg2) 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 arg0,
java.lang.String arg1) 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 arg0,
java.lang.String arg1) 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 arg0,
java.lang.String arg1, java.lang.Long arg2) 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 arg0,
java.lang.String arg1) 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 arg0,
java.lang.Long arg1) 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 arg0) Retrieves the TermConditionDescriptionAccessBean representing the term condition description with the specified language ID. |
TermConditionDescriptionAccessBean |
getDescription(java.lang.Integer arg0,
java.lang.Integer arg1) 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 arg0) 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 arg) |
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 arg0) This method parses the given XML element. |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setChangeableFlag(java.lang.Integer newValue) This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setChangeableFlag(java.lang.String newValue) This method provides access to the TERMCOND.CHANGEABLE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
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 provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMandatoryFlag(java.lang.String newValue) This method provides access to the TERMCOND.MANDATORY column of DB2 type INTEGER NOT NULL DEFAULT 0. |
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 provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL. |
void |
setReferenceNumber(java.lang.String newValue) This method provides access to the TERMCOND.TERMCOND_ID column of DB2 type BIGINT NOT NULL. |
void |
setTcSequence(java.lang.Integer newValue) This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL. |
void |
setTcSequence(java.lang.String newValue) This method provides access to the TERMCOND.SEQUENCE column of DB2 type INTEGER NOT NULL. |
void |
setTimeCreated(java.lang.String newValue) This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP. |
void |
setTimeCreated(java.sql.Timestamp newValue) This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP. |
void |
setTimeUpdated(java.lang.String newValue) This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP. |
void |
setTimeUpdated(java.sql.Timestamp newValue) This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP. |
void |
setTradingId(java.lang.Long newValue) This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String newValue) This method provides access to the TERMCOND.TRADING_ID column of DB2 type BIGINT NOT NULL. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
Method Detail |
---|
public TermConditionAccessBean findByTradingAndSequence(java.lang.Long arg0, java.lang.Integer arg1) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findAllTCWithTCLevelParticipantByTrading(java.lang.Long arg0) 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))
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTrading(java.lang.Long arg0) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingAndTCSubType(java.lang.Long arg0, java.lang.String arg1) 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 = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingAndTCSubTypeForBuyer(java.lang.Long arg0, java.lang.String arg1, java.lang.Long arg2) 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 = ?))))
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingAndTCSubTypeWithoutTCParticipant(java.lang.Long arg0, java.lang.String arg1) 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)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingAndTCType(java.lang.Long arg0, java.lang.String arg1) 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 = ?)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingAndTCTypeForBuyer(java.lang.Long arg0, java.lang.String arg1, java.lang.Long arg2) 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 = ?))))
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingAndTCTypeWithoutTCParticipant(java.lang.Long arg0, java.lang.String arg1) 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)
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByTradingForBuyer(java.lang.Long arg0, java.lang.Long arg1) 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 = ?))))
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_referenceNumber(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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. (0 - n
getMandatoryFlag
in interface
TermConditionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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. (0 - n
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMandatoryFlag(java.lang.String newValue)
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. (0 - n
setMandatoryFlag
in interface
TermConditionAccessBeanData
newValue
- Stringpublic void setMandatoryFlag(java.lang.Integer newValue)
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. (0 - n
newValue
- java.lang.Integerpublic 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.
getPriceListId
in interface
TermConditionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setPriceListId(java.lang.String newValue)
setPriceListId
in interface
TermConditionAccessBeanData
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.
getTradingId
in interface
TermConditionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTradingId(java.lang.String newValue)
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
newValue
- Stringpublic void setTradingId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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 updated.
getTimeUpdated
in interface
TermConditionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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 updated.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
setTimeUpdated
in interface
TermConditionAccessBeanData
newValue
- Stringpublic void setTimeUpdated(java.sql.Timestamp newValue)
This method provides access to the TERMCOND.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
newValue
- java.sql.Timestamppublic 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.
getProductSetId
in interface
TermConditionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setProductSetId(java.lang.String newValue)
setProductSetId
in interface
TermConditionAccessBeanData
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. (0 - n
getChangeableFlag
in interface
TermConditionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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. (0 - n
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setChangeableFlag(java.lang.String newValue)
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. (0 - n
setChangeableFlag
in interface
TermConditionAccessBeanData
newValue
- Stringpublic void setChangeableFlag(java.lang.Integer newValue)
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. (0 - n
newValue
- java.lang.Integerpublic 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
javax.ejb.FinderException
javax.naming.NamingException
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 created.
getTimeCreated
in interface
TermConditionAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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 created.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
setTimeCreated
in interface
TermConditionAccessBeanData
newValue
- Stringpublic void setTimeCreated(java.sql.Timestamp newValue)
This method provides access to the TERMCOND.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
newValue
- java.sql.Timestamppublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTcSequence(java.lang.String newValue)
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
newValue
- Stringpublic void setTcSequence(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic 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
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setReferenceNumber(java.lang.String newValue)
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
newValue
- Stringpublic void setReferenceNumber(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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 arg0) 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.
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 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 TermConditionDescriptionAccessBean getDescription(java.lang.Integer arg0) 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.
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 arg0, java.lang.Integer arg1) 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.
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.Long createNewVersion(java.lang.Long arg0) 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.
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.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 java.lang.String getXMLString(boolean arg) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
java.lang.String
- The exception description.java.lang.String
- The exception description.java.lang.String
- The exception description.java.lang.String
- The exception description.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.
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 arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.ejb.RemoveException
This method parses the given XML element.
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 java.lang.String[] getXMLDefinitions(java.lang.Integer type) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, java.sql.SQLException
java.lang.String
- The exception description.java.lang.String
- The exception description.java.lang.String
- The exception description.java.lang.String
- The exception description.java.lang.String
- The exception description.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
javax.ejb.CreateException
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException