public class TradingAgreementAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements TradingAgreementAccessBeanData
Constructor and Description |
---|
TradingAgreementAccessBean()
Zero argument constructor used to initialize the access bean.
|
TradingAgreementAccessBean(javax.ejb.EJBObject o)
constructor
|
TradingAgreementAccessBean(java.lang.Integer argType)
Constructs a TradingAgreementAccessBean object with the specified trading type.
|
TradingAgreementAccessBean(java.lang.Integer argType, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime)
Constructs a TradingAgreementAccessBean object with the specified trading type.
|
Modifier and Type | Method and Description |
---|---|
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 delete.
|
java.util.Enumeration | findAllActive()
Returns an Enumeration of the TradingAgreementAccessBeans representing all the active trading agreements.
|
java.util.Enumeration | findAllByReferenceId(java.lang.Long argReferenceId)
findAllByReferenceId
|
java.util.Enumeration | findAllByType(java.lang.Integer argTradingTypeId)
Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements with the specified trading type.
|
java.util.Enumeration | findAllEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.String argMbrGrps, java.lang.Integer argStoreId)
Returns an Enumeration of the TradingAgreementAccessBeans representing the trading agreements.
|
java.util.Enumeration | findAllEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId, java.lang.String argMbrGrps, java.lang.Integer argStoreId)
Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements with the specified buyer's member ID, buyer member groups, and the store ID.
|
java.util.Enumeration | findDefaultAuctionTradingAgreement()
Retrieves all trading agreements whose type is 'Auction'.
|
java.util.Enumeration | findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.Integer argStoreId)
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 | findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.Integer argStoreId, java.lang.Long argOrgentityId)
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 | findEntitledTradingAgreementByTypeForTSRUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.String argMbrGrps, java.lang.Integer argStoreId)
Returns an Enumeration of the TradingAgreementAccessBeans representing the trading agreements with the specified trading type, TSR's member ID, and the store ID.
|
java.util.Enumeration | findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId, java.lang.Integer argStoreId)
Returns an Enumeration of the TradingAgreementAccessBeans representing all the trading agreements with the specified buyer's member ID, and the store ID.
|
java.util.Enumeration | findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId, java.lang.Integer argStoreId, java.lang.Long argOrgentityId)
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 argTradingId)
Retrieves the TradingAgreement representing the trading agreement with the specified tradingId.
|
java.lang.String | getAccountId()
This method accesses a non-CMP field
|
java.lang.Long | getAccountIdInEJBType()
This method accesses a non-CMP field
|
AttachmentAccessBean[] | getAttachment()
This method provides access to the TRADING.TRADING_ID column of DB2 type BIGINT NOT NULL.
|
java.lang.String | getCreditAllowedFlag()
This method accesses a non-CMP field
|
java.lang.Integer | getCreditAllowedFlagInEJBType()
This method accesses a non-CMP field
|
TradingDescriptionAccessBean | getDescription(java.lang.Integer argLanguageId)
Retrieves the TradingDescriptionAccessBean representing the trading agreement description with the specified language ID.
|
TradingDescriptionAccessBean | getDescription(java.lang.Integer language_id, java.lang.Integer storeId)
Retrieves the TradingDescriptionAccessBean representing the trading agreement description with the specified language ID.
|
java.lang.String | getEndTime()
This method accesses a non-CMP field
|
java.sql.Timestamp | getEndTimeInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getMarkForDelete()
This method accesses a non-CMP field
|
java.lang.Integer | getMarkForDeleteInEJBType()
This method accesses a non-CMP field
|
BusinessPolicyAccessBean[] | getPolicies()
The method returns an array of BusinessPolicyAccessBean objects representing all the business policies the trading agreement has.
|
BusinessPolicyAccessBean[] | getPolicies(java.lang.Long argMemberId)
The method returns all the business policies that the specified member ID has in the trading agreement.
|
BusinessPolicyAccessBean[] | getPoliciesByType(java.lang.String argType)
The method returns all the business policies has the specified type in the trading agreement.
|
BusinessPolicyAccessBean[] | getPoliciesByType(java.lang.String argType, java.lang.Long argMemberId)
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 accesses a non-CMP field
|
java.lang.Integer | getReferenceCountInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getReferenceId()
This method accesses a non-CMP field
|
java.lang.String | getStartTime()
This method accesses a non-CMP field
|
java.sql.Timestamp | getStartTimeInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getState()
This method accesses a non-CMP field
|
java.lang.Integer | getStateInEJBType()
This method accesses a non-CMP field
|
TermConditionAccessBean[] | getTCsByTCSubType(java.lang.String argTCSubType)
This method returns all the terms and conditions that has the specified sub-type.
|
TermConditionAccessBean[] | getTCsByTCSubType(java.lang.String argTCSubType, java.lang.Long argMemberId)
This method returns an array of the TermConditionAccessBean objects which has the specified sub-type.
|
TermConditionAccessBean[] | getTCsByTCType(java.lang.String argTCType)
This method returns an array of the TermConditionAccessBean objects which has the specified type.
|
TermConditionAccessBean[] | getTCsByTCType(java.lang.String argTCType, java.lang.Long argMemberId)
This method returns an array of the TermConditionAccessBean objects which has the specified type.
|
java.lang.String | getTradingId()
This method accesses a non-CMP field
|
java.lang.Long | getTradingIdInEJBType()
This method accesses a non-CMP field
|
ParticipantAccessBean[] | getTradingLevelParticipants()
This method returns all the trading agreement level participants.
|
java.lang.String | getTradingType()
This method accesses a non-CMP field
|
java.lang.Integer | getTradingTypeInEJBType()
This method accesses a non-CMP field
|
boolean | hasTCLevelParticipant()
The method checks 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 accesses a non-CMP field
|
void | setAccountId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setCreditAllowedFlag(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setCreditAllowedFlag(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setEndTime(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setEndTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setInitKey_tradingId(java.lang.String newValue)
Set the primary key for this object
|
void | setMarkForDelete(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setMarkForDelete(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setReferenceCount(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setReferenceCount(java.lang.String newValue)
This method accesses a non-CMP field
|
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 accesses a non-CMP field
|
void | setStartTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setState(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setState(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTradingId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setTradingId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTradingType(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setTradingType(java.lang.String newValue)
This method accesses a non-CMP field
|
public TradingAgreementAccessBean()
public TradingAgreementAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public TradingAgreementAccessBean(java.lang.Integer argType) 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.
public TradingAgreementAccessBean(java.lang.Integer argType, java.sql.Timestamp argStartTime, java.sql.Timestamp argEndTime) 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 argStartTime , and the ending time is set to the specified argEndTime .
public TradingAgreementAccessBean findValidTAById(java.lang.Long argTradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the TradingAgreement representing the trading agreement with the specified tradingId.
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 delete.
The SQL query used to fetch all the required rows from the TRADING table is:
select * from trading T1 where T1.markfordelete = 0
public 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.
public java.util.Enumeration findAllByType(java.lang.Integer argTradingTypeId) 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 = ?
public java.util.Enumeration findDefaultAuctionTradingAgreement() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all trading agreements whose type is '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
public java.util.Enumeration findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.Integer argStoreId) 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.
public java.util.Enumeration findEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.Integer argStoreId, java.lang.Long argOrgentityId) 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.
public java.util.Enumeration findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId, java.lang.Integer argStoreId, java.lang.Long argOrgentityId) 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.public java.util.Enumeration findEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId, java.lang.Integer argStoreId) 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:1 SELECT * FROM TRADING WHERE 2 STATE = 1 AND 3 MARKFORDELETE = 0 AND 4 (STARTTIME < ? OR STARTTIME IS NULL) AND 5 (ENDTIME > ? OR ENDTIME IS NULL) AND 6 TRADING_ID IN ( 7 SELECT TRADING_ID FROM PARTICIPNT WHERE 8 PARTROLE_ID = 2 AND 9 TRADING_ID IS NOT NULL AND 10 TERMCOND_ID IS NULL AND ( 11 MEMBER_ID IS NULL OR 12 MEMBER_ID = ? OR 13 MEMBER_ID IN ( 14 SELECT ANCESTOR_ID FROM MBRREL WHERE DESCENDANT_ID = ? 15 ) OR 16 MEMBER_ID IN ( 17 SELECT MBRGRP_ID FROM MBRGRPMBR WHERE MEMBER_ID = ? AND EXCLUDE='0' 18 ) 19 ) 20 ) AND 21 TRADING_ID IN ( 22 SELECT CONTRACT_ID FROM STORECNTR WHERE 23 STORE_ID = ? 24 ) 25 ORDER BY TRADING_IDThis statement will find all trading agreements which are
public void setInitKey_tradingId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
public java.lang.String getReferenceCount() throws 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
public void setReferenceCount(java.lang.String newValue)
public void setReferenceCount(java.lang.Integer newValue)
public java.lang.String getTradingType() throws 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
public void setTradingType(java.lang.String newValue)
public void setTradingType(java.lang.Integer newValue)
public java.lang.String getStartTime() throws 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
public void setStartTime(java.lang.String newValue)
public void setStartTime(java.sql.Timestamp newValue)
public java.lang.String getState() throws 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
public void setState(java.lang.String newValue)
public void setState(java.lang.Integer newValue)
public java.lang.String getTradingId() throws 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
public void setTradingId(java.lang.String newValue)
public void setTradingId(java.lang.Long newValue)
public java.lang.String getAccountId() throws 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
public java.lang.Long getAccountIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAccountId(java.lang.String newValue)
public void setAccountId(java.lang.Long newValue)
public void setReferenceId(java.lang.Long newValue)
public void setReferenceId(java.lang.String newValue)
public java.lang.String getMarkForDelete() throws 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
public void setMarkForDelete(java.lang.String newValue)
public void setMarkForDelete(java.lang.Integer newValue)
public java.lang.String getEndTime() throws 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
public void setEndTime(java.lang.String newValue)
public void setEndTime(java.sql.Timestamp newValue)
public java.lang.String getCreditAllowedFlag() throws 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
public void setCreditAllowedFlag(java.lang.String newValue)
public void setCreditAllowedFlag(java.lang.Integer newValue)
public boolean hasTCLevelParticipant() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method checks if the trading agreement has the terms and conditions level participant(s).
public 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.
public 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.
public BusinessPolicyAccessBean[] getPolicies() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns an array of BusinessPolicyAccessBean objects representing all the business policies the trading agreement has.
public BusinessPolicyAccessBean[] getPolicies(java.lang.Long argMemberId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns all the business policies that the specified member ID has in the trading agreement.
public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
The method returns all the business policies has the specified type in the trading agreement.
public BusinessPolicyAccessBean[] getPoliciesByType(java.lang.String argType, java.lang.Long argMemberId) 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.
public ParticipantAccessBean[] getTradingLevelParticipants() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns all the trading agreement level participants.
public TermConditionAccessBean[] getTCsByTCSubType(java.lang.String argTCSubType) 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.
public TermConditionAccessBean[] getTCsByTCSubType(java.lang.String argTCSubType, java.lang.Long argMemberId) 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.
public TermConditionAccessBean[] getTCsByTCType(java.lang.String argTCType) 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.
public TermConditionAccessBean[] getTCsByTCType(java.lang.String argTCType, java.lang.Long argMemberId) 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.
public TradingDescriptionAccessBean getDescription(java.lang.Integer argLanguageId) 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.
public TradingDescriptionAccessBean getDescription(java.lang.Integer language_id, java.lang.Integer storeId) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Retrieves the 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.
public 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.
public java.util.Enumeration findAllByReferenceId(java.lang.Long argReferenceId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Enumeration findAllEntitledTradingAgreementByTypeForBuyerUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.String argMbrGrps, java.lang.Integer argStoreId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Returns an Enumeration of the TradingAgreementAccessBeans representing the trading agreements. It is with the specified trading type, buyer's member ID, buyer member groups, and the store ID.
public java.util.Enumeration findAllEntitledTradingAgreementForBuyerUnderStore(java.lang.Long argMemberId, java.lang.String argMbrGrps, java.lang.Integer argStoreId) 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, buyer member groups, 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.public java.util.Enumeration findEntitledTradingAgreementByTypeForTSRUnderStore(java.lang.Integer argTradingTypeId, java.lang.Long argMemberId, java.lang.String argMbrGrps, java.lang.Integer argStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Returns an Enumeration of the TradingAgreementAccessBeans representing the trading agreements with the specified trading type, TSR's member ID, and the store ID.