java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.contract.objects.TradingAgreementAccessBean
Each row in this table represents a TradingAgreement.
Constructor Summary | |
---|---|
TradingAgreementAccessBean() constructor | |
TradingAgreementAccessBean(java.lang.Integer arg0,
java.sql.Timestamp arg1, java.sql.Timestamp arg2) constructor | |
TradingAgreementAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findAll() Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements which are not marked for deleting. |
java.util.Enumeration |
findAllActive() Returns an Enumeration of the TradingAgreementAccessBeans representing all the active trading agreements. |
java.util.Enumeration |
findAllByReferenceId(java.lang.Long arg0) findAllByReferenceId |
java.util.Enumeration |
findAllByType(java.lang.Integer arg0) Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements with the specified trading type. |
java.util.Enumeration |
findDefaultAuctionTradingAgreement() Retrives all trading agreements whose type are 'Auction'. |
java.util.Enumeration |
findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer arg0,
java.lang.Long arg1, java.lang.Integer arg2) Returns an Enumeration of the TradingAgreementAccessBeans representing the trading agreements with the specified trading type, buyer's member ID, and the store ID. |
java.util.Enumeration |
findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long arg0,
java.lang.Integer arg1) Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements with the specified buyer's member ID, and the store ID. |
TradingAgreementAccessBean |
findValidTAById(java.lang.Long arg0) Retrieves the TradingAgreement representing the trading agreement with the specified tradingId. |
java.lang.String |
getAccountId() This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT. |
java.lang.Long |
getAccountIdInEJBType() This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT. |
AttachmentAccessBean[] |
getAttachment() This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getCreditAllowedFlag() This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getCreditAllowedFlagInEJBType() This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0. |
TradingDescriptionAccessBean |
getDescription(java.lang.Integer arg0) Retrieves the TradingDescriptionAccessBean representing the trading agreement description with the specified language ID. |
TradingDescriptionAccessBean |
getDescription(java.lang.Integer arg0,
java.lang.Integer arg1) Retrieves the TradingDescriptionAccessBean representing the trading agreement description with the specified language ID. |
java.lang.String |
getEndTime() This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP. |
java.sql.Timestamp |
getEndTimeInEJBType() This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP. |
java.lang.String |
getMarkForDelete() This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getMarkForDeleteInEJBType() This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
BusinessPolicyAccessBean[] |
getPolicies() The method return an array of BusinessPolicyAccessBean objects representing all the business policies the trading agreement has. |
BusinessPolicyAccessBean[] |
getPolicies(java.lang.Long arg0) The method return all the business policies that the specified member ID has in the trading agreement. |
BusinessPolicyAccessBean[] |
getPoliciesByType(java.lang.String arg0) The method return all the business policies has the specified type in the trading agreement. |
BusinessPolicyAccessBean[] |
getPoliciesByType(java.lang.String arg0,
java.lang.Long arg1) The method returns all the business policies has the specified type and the specified member Id as the buyer participant in the trading agreement. |
java.lang.String |
getReferenceCount() This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getReferenceCountInEJBType() This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String |
getReferenceId() This method accesses a non-CMP field |
java.lang.String |
getStartTime() This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP. |
java.sql.Timestamp |
getStartTimeInEJBType() This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP. |
java.lang.String |
getState() This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer |
getStateInEJBType() This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
TermConditionAccessBean[] |
getTCsByTCSubType(java.lang.String arg0) This method returns all the terms and conditions that has the specified sub-type. |
TermConditionAccessBean[] |
getTCsByTCSubType(java.lang.String arg0,
java.lang.Long arg1) This method returns an array of the TermConditionAccessBean objects which has the specified sub-type, and the specified member id is the buyer participant of the terms and conditions. |
TermConditionAccessBean[] |
getTCsByTCType(java.lang.String arg0) This method returns an array of the TermConditionAccessBean objects which has the specified type. |
TermConditionAccessBean[] |
getTCsByTCType(java.lang.String arg0, java.lang.Long arg1) This method returns an array of the TermConditionAccessBean objects which has the specified type, and the specified member id is the buyer participant of the terms and conditions. |
java.lang.String |
getTradingId() This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getTradingIdInEJBType() This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
ParticipantAccessBean[] |
getTradingLevelParticipants() This method returns all the trading agreement level participants. |
java.lang.String |
getTradingType() This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getTradingTypeInEJBType() This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL. |
boolean |
hasTCLevelParticipant() The method check if the trading agreement has the terms and conditions level participant(s). |
protected
void |
instantiateEJB() |
protected
boolean |
instantiateEJBByPrimaryKey() |
boolean |
isValid() This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL. |
void |
markForDelete() This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
refreshCopyHelper() Load data from the EJBObject. |
void |
setAccountId(java.lang.Long newValue) This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT. |
void |
setAccountId(java.lang.String newValue) This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT. |
void |
setCreditAllowedFlag(java.lang.Integer newValue) This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setCreditAllowedFlag(java.lang.String newValue) This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setEndTime(java.lang.String newValue) This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP. |
void |
setEndTime(java.sql.Timestamp newValue) This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP. |
void |
setInitKey_tradingId(java.lang.String newValue) Set the primary key for this object |
void |
setMarkForDelete(java.lang.Integer newValue) This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setMarkForDelete(java.lang.String newValue) This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setReferenceCount(java.lang.Integer newValue) This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setReferenceCount(java.lang.String newValue) This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setReferenceId(java.lang.Long newValue) This method accesses a non-CMP field |
void |
setReferenceId(java.lang.String newValue) This method accesses a non-CMP field |
void |
setStartTime(java.lang.String newValue) This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP. |
void |
setStartTime(java.sql.Timestamp newValue) This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP. |
void |
setState(java.lang.Integer newValue) This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setState(java.lang.String newValue) This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
void |
setTradingId(java.lang.Long newValue) This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String newValue) This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingType(java.lang.Integer newValue) This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setTradingType(java.lang.String newValue) This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public TradingAgreementAccessBean()
public TradingAgreementAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public TradingAgreementAccessBean(java.lang.Integer arg0, java.sql.Timestamp arg1, java.sql.Timestamp arg2) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
arg0
- java.lang.Integerarg1
- java.sql.Timestamparg2
- java.sql.Timestampjavax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
Method Detail |
---|
public TradingAgreementAccessBean findValidTAById(java.lang.Long arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the TradingAgreement representing the trading agreement with the specified tradingId.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findAll() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements which are not marked for deleting.
The SQL query used to fetch all the required rows from the TRADING table is:
select * from trading T1 where T1.markfordelete = 0
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 findAllActive() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the TradingAgreementAccessBeans representing all the active trading agreements.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findAllByType(java.lang.Integer arg0) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements with the specified trading type.
The SQL query used to fetch all the required rows from the TRADING table is:
select * from trading T1 where T1.markfordelete = 0 and trdtype_id = ?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findDefaultAuctionTradingAgreement() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrives all trading agreements whose type are 'Auction'.
The SQL query used to fetch all the required rows from the TRADING table is:
select * from trading T1 where T1.markfordelete = 0 and trdtype_id = 6
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer arg0, java.lang.Long arg1, java.lang.Integer arg2) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the TradingAgreementAccessBeans representing the trading agreements with the specified trading type, buyer's member ID, and the store ID.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long arg0, java.lang.Integer arg1) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements with the specified buyer's member ID, and the store ID.
The SQL query used to fetch all the required rows from the TRADING table is: select * from trading T1 where T1.java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_tradingId(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 getReferenceCount() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement.
getReferenceCount
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getReferenceCountInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setReferenceCount(java.lang.String newValue)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement.
setReferenceCount
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setReferenceCount(java.lang.Integer newValue)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement.
newValue
- java.lang.Integerpublic java.lang.String getTradingType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the TRDTYPE table.
getTradingType
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getTradingTypeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the TRDTYPE table.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTradingType(java.lang.String newValue)
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the TRDTYPE table.
setTradingType
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setTradingType(java.lang.Integer newValue)
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Foreign key to the TRDTYPE table.
newValue
- java.lang.Integerpublic java.lang.String getStartTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start time for the TradingAgreement. If null, the TradingAgreement starts immediately.
getStartTime
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.sql.Timestamp getStartTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start time for the TradingAgreement. If null, the TradingAgreement starts immediately.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setStartTime(java.lang.String newValue)
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start time for the TradingAgreement. If null, the TradingAgreement starts immediately.
setStartTime
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setStartTime(java.sql.Timestamp newValue)
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
Start time for the TradingAgreement. If null, the TradingAgreement starts immediately.
newValue
- java.sql.Timestamppublic java.lang.String getState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The status of the TradingAgreement as follows:&l
getState
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getStateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The status of the TradingAgreement as follows:&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setState(java.lang.String newValue)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The status of the TradingAgreement as follows:&l
setState
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setState(java.lang.Integer newValue)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The status of the TradingAgreement as follows:&l
newValue
- java.lang.Integerpublic java.lang.String getTradingId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement ID. This is a primary key. A TradingAgreement object can be shared by more than one trading mechanism, such as between an RFQ and a contract.
getTradingId
in interface
TradingAgreementAccessBeanData
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 TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement ID. This is a primary key. A TradingAgreement object can be shared by more than one trading mechanism, such as between an RFQ and a contract.
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 TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement ID. This is a primary key. A TradingAgreement object can be shared by more than one trading mechanism, such as between an RFQ and a contract.
setTradingId
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setTradingId(java.lang.Long newValue)
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The TradingAgreement ID. This is a primary key. A TradingAgreement object can be shared by more than one trading mechanism, such as between an RFQ and a contract.
newValue
- java.lang.Longpublic java.lang.String getAccountId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT.
The following is a description of this column:
Account associated with this trading agreement. There is no foreign key to the account table to prevent deadlock for the Database Cleanup utility.
getAccountId
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getReferenceId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getReferenceId
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Long getAccountIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT.
The following is a description of this column:
Account associated with this trading agreement. There is no foreign key to the account table to prevent deadlock for the Database Cleanup utility.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAccountId(java.lang.String newValue)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT.
The following is a description of this column:
Account associated with this trading agreement. There is no foreign key to the account table to prevent deadlock for the Database Cleanup utility.
setAccountId
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setAccountId(java.lang.Long newValue)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT.
The following is a description of this column:
Account associated with this trading agreement. There is no foreign key to the account table to prevent deadlock for the Database Cleanup utility.
newValue
- java.lang.Longpublic void setReferenceId(java.lang.Long newValue)
public void setReferenceId(java.lang.String newValue)
setReferenceId
in interface
TradingAgreementAccessBeanData
public java.lang.String getMarkForDelete() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this TradingAgreement has been marked for deletion:&l
getMarkForDelete
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getMarkForDeleteInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this TradingAgreement has been marked for deletion:&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMarkForDelete(java.lang.String newValue)
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this TradingAgreement has been marked for deletion:&l
setMarkForDelete
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setMarkForDelete(java.lang.Integer newValue)
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
Indicates if this TradingAgreement has been marked for deletion:&l
newValue
- java.lang.Integerpublic java.lang.String getEndTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End time for the TradingAgreement. If null, the TradingAgreement has no end time.
getEndTime
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.sql.Timestamp getEndTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End time for the TradingAgreement. If null, the TradingAgreement has no end time.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setEndTime(java.lang.String newValue)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End time for the TradingAgreement. If null, the TradingAgreement has no end time.
setEndTime
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setEndTime(java.sql.Timestamp newValue)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP.
The following is a description of this column:
End time for the TradingAgreement. If null, the TradingAgreement has no end time.
newValue
- java.sql.Timestamppublic java.lang.String getCreditAllowedFlag() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column indicates whether or not credit are allowed:&l
getCreditAllowedFlag
in interface
TradingAgreementAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.Integer getCreditAllowedFlagInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column indicates whether or not credit are allowed:&l
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCreditAllowedFlag(java.lang.String newValue)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column indicates whether or not credit are allowed:&l
setCreditAllowedFlag
in interface
TradingAgreementAccessBeanData
newValue
- Stringpublic void setCreditAllowedFlag(java.lang.Integer newValue)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
This column indicates whether or not credit are allowed:&l
newValue
- java.lang.Integerpublic boolean hasTCLevelParticipant() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method check if the trading agreement has the terms and conditions level participant(s).
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 boolean isValid() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Start time for the Trading Agreement. If null, start immediately.
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 AttachmentAccessBean[] getAttachment() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Trading agreement ID (primary key). A Trading Agreement object can be shared by more than one trading mechanism such as RFQ and Contract.
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 return an array of BusinessPolicyAccessBean objects representing all the business policies the trading agreement 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(java.lang.Long arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method return all the business policies that the specified member ID has in the trading agreement.
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 return all the business policies has the specified type in the trading agreement.
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, java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns all the business policies has the specified type and the specified member Id as the buyer participant in the trading agreement.
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[] getTradingLevelParticipants() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns all the trading agreement level participants.
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 TermConditionAccessBean[] getTCsByTCSubType(java.lang.String arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns all the terms and conditions that has the specified sub-type.
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 TermConditionAccessBean[] getTCsByTCSubType(java.lang.String arg0, java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an array of the TermConditionAccessBean objects which has the specified sub-type, and the specified member id is the buyer participant of 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
exceptionpublic TermConditionAccessBean[] getTCsByTCType(java.lang.String arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an array of the TermConditionAccessBean objects which has the specified type.
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 TermConditionAccessBean[] getTCsByTCType(java.lang.String arg0, java.lang.Long arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns an array of the TermConditionAccessBean objects which has the specified type, and the specified member id is the buyer participant of 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
exceptionpublic TradingDescriptionAccessBean getDescription(java.lang.Integer arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the TradingDescriptionAccessBean representing the trading agreement 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 TradingDescriptionAccessBean getDescription(java.lang.Integer arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the TradingDescriptionAccessBean representing the trading agreement 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 void markForDelete() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Indicates if this TradingAgreement has been marked for deletion: 0 = No. 1 = Yes, this TradingAgreement has been marked 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 java.util.Enumeration findAllByReferenceId(java.lang.Long arg0) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
arg0
- java.lang.Longjavax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException