|
||||||||
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.TradingAgreementAccessBean
This bean provides access to the TRADING table.
The following is a description of this table:
Each row in this table represents a trading agreement.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
TradingAgreementAccessBean()
Default constructor. |
|
TradingAgreementAccessBean(javax.ejb.EJBObject Object)
Creates an access bean for the specified EJB |
|
TradingAgreementAccessBean(java.lang.Integer tradingType)
Constructs a TradingAgreementAccessBean object with the specified trading type. |
|
TradingAgreementAccessBean(java.lang.Integer tradingType,
java.sql.Timestamp startTime,
java.sql.Timestamp endTime)
Constructs a TradingAgreementAccessBean object with the specified trading type. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
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 |
findAllByType(java.lang.Integer tradingType)
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 tradingType,
java.lang.Long buyerId,
java.lang.Integer storeId)
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 buyerId,
java.lang.Integer storeId)
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 aDValidTAById)
Retrieves the TradingAgreementAccessBean 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 NULL. |
java.lang.Long |
getAccountIdInEJBType()
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL. |
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. |
java.lang.Integer |
getCreditAllowedFlagInEJBType()
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL. |
TradingDescriptionAccessBean |
getDescription(java.lang.Integer langId)
Retrieves the TradingDescriptionAccessBean representing the trading agreement description with the specified language ID. |
TradingDescriptionAccessBean |
getDescription(java.lang.Integer langId,
java.lang.Integer storeId)
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 NULL. |
java.sql.Timestamp |
getEndTimeInEJBType()
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getMarkForDelete()
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getMarkForDeleteInEJBType()
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
BusinessPolicyAccessBean[] |
getPolicies()
The method return an array of BusinessPolicyAccessBean objects representing all the business policies the trading agreement has. |
BusinessPolicyAccessBean[] |
getPolicies(java.lang.Long memberId)
The method return all the business policies that the specified member ID has in the trading agreement. |
BusinessPolicyAccessBean[] |
getPoliciesByType(java.lang.String policyType)
The method return all the business policies has the specified type in the trading agreement. |
BusinessPolicyAccessBean[] |
getPoliciesByType(java.lang.String policyType,
java.lang.Long memberId)
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. |
java.lang.Integer |
getReferenceCountInEJBType()
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL. |
java.lang.String |
getStartTime()
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getStartTimeInEJBType()
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getState()
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getStateInEJBType()
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL. |
TermConditionAccessBean[] |
getTCsByTCSubType(java.lang.String tcSubType)
This method returns all the terms and conditions that has the specified sub-type. |
TermConditionAccessBean[] |
getTCsByTCSubType(java.lang.String tcSubType,
java.lang.Long memberId)
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 aTCsByTCType)
This method returns an array of the TermConditionAccessBean objects which has the specified type. |
TermConditionAccessBean[] |
getTCsByTCType(java.lang.String tcType,
java.lang.Long memberId)
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). |
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 aAccountId)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL. |
void |
setAccountId(java.lang.String aAccountId)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL. |
void |
setCreditAllowedFlag(java.lang.Integer aCreditAllowedFlag)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL. |
void |
setCreditAllowedFlag(java.lang.String aCreditAllowedFlag)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL. |
void |
setEndTime(java.lang.String aEndTime)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL. |
void |
setEndTime(java.sql.Timestamp aEndTime)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL. |
void |
setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object |
void |
setMarkForDelete(java.lang.Integer aMarkForDelete)
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setMarkForDelete(java.lang.String aMarkForDelete)
This method provides access to the TRADING.MARKFORDELETE column of DB2 type INTEGER NOT NULL. |
void |
setReferenceCount(java.lang.Integer aReferenceCount)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL. |
void |
setReferenceCount(java.lang.String aReferenceCount)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL. |
void |
setStartTime(java.lang.String aStartTime)
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL. |
void |
setStartTime(java.sql.Timestamp aStartTime)
This method provides access to the TRADING.STARTTIME column of DB2 type TIMESTAMP NULL. |
void |
setState(java.lang.Integer aState)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL. |
void |
setState(java.lang.String aState)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL. |
void |
setTradingId(java.lang.Long aTradingId)
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingId(java.lang.String aTradingId)
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL. |
void |
setTradingType(java.lang.Integer aTradingType)
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER NOT NULL. |
void |
setTradingType(java.lang.String aTradingType)
This method provides access to the TRADING.TRDTYPE_ID column of DB2 type INTEGER 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 TradingAgreementAccessBean()
Default constructor. Maps to findByPrimaryKey.
public TradingAgreementAccessBean(javax.ejb.EJBObject Object) throws java.rmi.RemoteException
Creates an access bean for the specified EJB
object
- The EJB Object used for the access bean construction.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic TradingAgreementAccessBean(java.lang.Integer tradingType) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs a TradingAgreementAccessBean object with the specified trading type. The start time and the ending time of the trading agreement are set to NULL.
tradingType
- The type of 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 TradingAgreementAccessBean(java.lang.Integer tradingType, java.sql.Timestamp startTime, java.sql.Timestamp endTime) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs a TradingAgreementAccessBean object with the specified trading type. The start time of the trading agreement is set to the specified startTime, and the ending time is set to the specified endTime.
tradingType
- The type of the trading agreement.startTime
- The starting time of the trading agreement.endTime
- The ending time of 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 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.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
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findAllByType(java.lang.Integer tradingType) 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 = ?
tradingType
- The type 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 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
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer tradingType, java.lang.Long buyerId, java.lang.Integer storeId) 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.
tradingType
- The type of the trading agreement.buyerId
- The member ID of the buyer.storeId
- The ID of the store.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 findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long buyerId, java.lang.Integer storeId) 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.buyerId
- The member ID of the buyer participant.storeId
- The ID of the store.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic TradingAgreementAccessBean findValidTAById(java.lang.Long aDValidTAById) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the TradingAgreementAccessBean representing the trading agreement with the specified tradingId.
tradingId
- java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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 NULL.
The following is a description of this column:
Account associated with this trading agreement. (No foreign key to the account table to prevent deadlock for the Database Cleanup utility.)
getAccountId
in interface TradingAgreementAccessBeanData
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 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 NULL.
The following is a description of this column:
Account associated with this trading agreement. (No foreign key to the account table to prevent deadlock for the Database Cleanup utility.)
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 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 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.
The following is a description of this column:
This column indicates whether or not credit is allowed:
0 = No.
1 = Yes.
getCreditAllowedFlag
in interface TradingAgreementAccessBeanData
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 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.
The following is a description of this column:
This column indicates whether or not credit is allowed:
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 TradingDescriptionAccessBean getDescription(java.lang.Integer langId) 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.
langId
- The 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 langId, java.lang.Integer storeId) 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.
langId
- The language ID.storeId
- The ID of the 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 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 NULL.
The following is a description of this column:
End time for the Trading Agreement. If null, no end time.
getEndTime
in interface TradingAgreementAccessBeanData
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 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 NULL.
The following is a description of this column:
End time for the Trading Agreement. If null, no end time.
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 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.
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.
getMarkForDelete
in interface TradingAgreementAccessBeanData
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 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.
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.
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 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 memberId) 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.
memberId
- The member 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 BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String policyType) 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.
policyType
- The type of the business policies.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 policyType, java.lang.Long memberId) 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.
policyType
- The type of the business policies.memberId
- The member 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 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.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement
getReferenceCount
in interface TradingAgreementAccessBeanData
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 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.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement
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 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 NULL.
The following is a description of this column:
Start time for the Trading Agreement. If null, start immediately.
getStartTime
in interface TradingAgreementAccessBeanData
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 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 NULL.
The following is a description of this column:
Start time for the Trading Agreement. If null, start immediately.
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 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.
The following is a description of this column:
0=inactive, 1= active. During negotiation, this flag must be set to inactive. When an one time order from RFQ is completed, this flag should be marked inactive.
getState
in interface TradingAgreementAccessBeanData
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 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.
The following is a description of this column:
0=inactive, 1= active. During negotiation, this flag must be set to inactive. When an one time order from RFQ is completed, this flag should be marked inactive.
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 TermConditionAccessBean[] getTCsByTCSubType(java.lang.String tcSubType) 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.
tcSubType
- The sub-type 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[] getTCsByTCSubType(java.lang.String tcSubType, java.lang.Long memberId) 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.
tcSubType
- The type of the terms and conditions.memberId
- The member 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 TermConditionAccessBean[] getTCsByTCType(java.lang.String aTCsByTCType) 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.
aTCsByTCType
- The type 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 tcType, java.lang.Long memberId) 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.
tcType
- The type of the terms and conditions.memberId
- The member 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 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:
Trading agreement ID (primary key). A Trading Agreement object can be shared by more than one trading mechanism such as RFQ and Contract.
getTradingId
in interface TradingAgreementAccessBeanData
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 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.
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[] 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 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 trading type table.
getTradingType
in interface TradingAgreementAccessBeanData
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 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 trading type table.
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 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 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 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 setAccountId(java.lang.Long aAccountId)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Account associated with this trading agreement. (No foreign key to the account table to prevent deadlock for the Database Cleanup utility.)
aAccountId
- The ID of the account associated with this trading agreement.public void setAccountId(java.lang.String aAccountId)
This method provides access to the TRADING.ACCOUNT_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Account associated with this trading agreement. (No foreign key to the account table to prevent deadlock for the Database Cleanup utility.)
setAccountId
in interface TradingAgreementAccessBeanData
aAccountId
- The ID of account associated with this trading agreement.public void setCreditAllowedFlag(java.lang.Integer aCreditAllowedFlag)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column indicates whether or not credit is allowed:
0 = No.
1 = Yes.
aCreditAllowedFlag
- The credit allowed flag. 0 = No. 1 = Yes.public void setCreditAllowedFlag(java.lang.String aCreditAllowedFlag)
This method provides access to the TRADING.CREDITALLOWED column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
This column indicates whether or not credit is allowed:
0 = No.
1 = Yes.
setCreditAllowedFlag
in interface TradingAgreementAccessBeanData
aCreditAllowedFlag
- The credit allowed flag. 0 = No. 1 = Yes.public void setEndTime(java.lang.String aEndTime)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
End time for the Trading Agreement. If null, no end time.
setEndTime
in interface TradingAgreementAccessBeanData
aEndTime
- End time for the Trading Agreement. If null, no end time.public void setEndTime(java.sql.Timestamp aEndTime)
This method provides access to the TRADING.ENDTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
End time for the Trading Agreement. If null, no end time.
aEndTime
- End time for the Trading Agreement. If null, no end time.public void setInitKey_tradingId(java.lang.String aInitKey_tradingId)
Set the primary key for this object
aInitKey_tradingId
- The ID of the trading agreement.public void setMarkForDelete(java.lang.Integer aMarkForDelete)
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.
aMarkForDelete
- The MarkForDelete flag of the trading agreement. 1 = Yes, 0 = No.public void setMarkForDelete(java.lang.String aMarkForDelete)
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.
setMarkForDelete
in interface TradingAgreementAccessBeanData
aMarkForDelete
- The MarkForDelete flag of the trading agreement. 1 = Yes, 0 = No.public void setReferenceCount(java.lang.Integer aReferenceCount)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement
aReferenceCount
- The number of trading mechanisms associated with this TradingAgreement.public void setReferenceCount(java.lang.String aReferenceCount)
This method provides access to the TRADING.REFERENCECOUNT column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Number of trading mechanisms associated with this TradingAgreement
setReferenceCount
in interface TradingAgreementAccessBeanData
aReferenceCount
- The number of trading mechanisms associated with this TradingAgreement.public void setStartTime(java.lang.String aStartTime)
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.
setStartTime
in interface TradingAgreementAccessBeanData
aStartTime
- Start time for the Trading Agreement. If null, start immediately.public void setStartTime(java.sql.Timestamp aStartTime)
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.
aStartTime
- Start time for the Trading Agreement. If null, start immediately.public void setState(java.lang.Integer aState)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
0=inactive, 1= active. During negotiation, this flag must be set to inactive. When an one time order from RFQ is completed, this flag should be marked inactive.
aState
- The state of the trading agreement. 0=inactive, 1= active.public void setState(java.lang.String aState)
This method provides access to the TRADING.STATE column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
0=inactive, 1= active. During negotiation, this flag must be set to inactive. When an one time order from RFQ is completed, this flag should be marked inactive.
setState
in interface TradingAgreementAccessBeanData
aState
- The state of the trading agreement. 0=inactive, 1= active.public void setTradingId(java.lang.Long aTradingId)
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.
aTradingId
- The trading agreement ID.public void setTradingId(java.lang.String aTradingId)
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.
setTradingId
in interface TradingAgreementAccessBeanData
aTradingId
- The ID of the trading agreement.public void setTradingType(java.lang.Integer aTradingType)
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 trading type table.
aTradingType
- The type of the trading agreement.public void setTradingType(java.lang.String aTradingType)
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 trading type table.
setTradingType
in interface TradingAgreementAccessBeanData
aTradingType
- The type of the trading agreement.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |