public class ParticipantAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements ParticipantAccessBeanData
Constructor and Description |
---|
ParticipantAccessBean()
Zero argument constructor used to initialize the access bean.
|
ParticipantAccessBean(javax.ejb.EJBObject o)
constructor
|
ParticipantAccessBean(java.lang.Long argTradingId, java.lang.Long argTCId, java.lang.Long argMemberId, java.lang.Integer argRole)
Constructs a Participant object with the specified argMemberId, argRole, and either argTradingId or argTCId.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
|
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAllInTCLevel(java.lang.Long argTCId)
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the term and condition have.
|
java.util.Enumeration | findAllInTradingLevel(java.lang.Long argTradingId)
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the trading agreement has.
|
java.util.Enumeration | findAllVisibleInTradingLevel(java.lang.Long argTradingId)
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with the specified trading ID, whose participant role is neither Creator nor Seller .
|
java.util.Enumeration | findByTCAndRole(java.lang.Long argTCId, java.lang.Integer argRoleId)
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID, and participant role ID.
|
ParticipantAccessBean | findByTCMemberAndRole(java.lang.Long argTCId, java.lang.Long argMemberId, java.lang.Integer argRoleId)
Retrieves the Participant representing the participant with specified term condition ID, member ID, and participant role ID.
|
java.util.Enumeration | findByTradingAndRole(java.lang.Long argTradingId, java.lang.Integer argRoleId)
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified trading ID, and participant role ID.
|
ParticipantAccessBean | findByTradingMemberAndRole(java.lang.Long argTradingId, java.lang.Long argMemberId, java.lang.Integer argRoleId)
Retrieves the Participant representing the participant with specified trading ID, member ID, and participant role ID.
|
java.util.Enumeration | findNonBuyerInTCLevel(java.lang.Long argTCId)
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID.
|
java.lang.String | getInformation()
This method accesses a non-CMP field
|
java.lang.String | getMemberId()
This method accesses a non-CMP field
|
java.lang.Long | getMemberIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getParticipantId()
This method accesses a non-CMP field
|
java.lang.Long | getParticipantIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getRoleId()
This method accesses a non-CMP field
|
java.lang.Integer | getRoleIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTcId()
This method accesses a non-CMP field
|
java.lang.Long | getTcIdInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeCreated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeCreatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTimeUpdated()
This method accesses a non-CMP field
|
java.sql.Timestamp | getTimeUpdatedInEJBType()
This method accesses a non-CMP field
|
java.lang.String | getTradingId()
This method accesses a non-CMP field
|
java.lang.Long | getTradingIdInEJBType()
This method accesses a non-CMP field
|
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper()
Load data from the EJBObject.
|
void | setInformation(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setInitKey_participantId(java.lang.String newValue)
Set the primary key for this object
|
void | setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setParticipantId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setParticipantId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setRoleId(java.lang.Integer newValue)
This method accesses a non-CMP field
|
void | setRoleId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTcId(java.lang.Long newValue)
This method accesses a non-CMP field
|
void | setTcId(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeCreated(java.sql.Timestamp newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.lang.String newValue)
This method accesses a non-CMP field
|
void | setTimeUpdated(java.sql.Timestamp 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
|
public ParticipantAccessBean()
public ParticipantAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ParticipantAccessBean(java.lang.Long argTradingId, java.lang.Long argTCId, java.lang.Long argMemberId, java.lang.Integer argRole) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Constructs a Participant object with the specified argMemberId, argRole, and either argTradingId or argTCId.
public ParticipantAccessBean findByTCMemberAndRole(java.lang.Long argTCId, java.lang.Long argMemberId, java.lang.Integer argRoleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Participant representing the participant with specified term condition ID, member ID, and participant role ID.
The SQL query used to fetch all the required row from the PARTICIPNT table is:
select * from participnt T1 where T1.TRADING_ID = ? and termcond_id is NULL and member_id= ? and partrole_id = ?
public ParticipantAccessBean findByTradingMemberAndRole(java.lang.Long argTradingId, java.lang.Long argMemberId, java.lang.Integer argRoleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves the Participant representing the participant with specified trading ID, member ID, and participant role ID.
The SQL query used to fetch all the required row from the PARTICIPNT table is:
select * from participnt T1 where T1.TRADING_ID = ? and termcond_id is NULL and member_id= ? and partrole_id = ?
public java.util.Enumeration findAllInTCLevel(java.lang.Long argTCId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the term and condition have.
The SQL query used to fetch all the required rows from the PARTICIPNT table is:
select * from participnt T1 where T1.termcond_id = ?
public java.util.Enumeration findAllInTradingLevel(java.lang.Long argTradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants that the trading agreement has.
The SQL query used to fetch all the required rows from the PARTICIPNT table is:
select * from participnt T1 where T1.TRADING_ID = ? and termcond_id is NULL
public java.util.Enumeration findAllVisibleInTradingLevel(java.lang.Long argTradingId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with the specified trading ID, whose participant role is neither Creator nor Seller .
The SQL query used to fetch all the required rows from the PARTICIPNT table is:select * from participnt T1 where T1.TRADING_ID = ? and termcond_id is NULL and partrole_id not in (0,1)public java.util.Enumeration findByTCAndRole(java.lang.Long argTCId, java.lang.Integer argRoleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID, and participant role ID.
The SQL query used to fetch all the required rows from the PARTICIPNT table is:
select * from participnt T1 where T1.TRADING_ID = ? and termcond_id is NULL and member_id= ? and partrole_id = ?
public java.util.Enumeration findByTradingAndRole(java.lang.Long argTradingId, java.lang.Integer argRoleId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified trading ID, and participant role ID.
The SQL query used to fetch all the required rows from the PARTICIPNT table is:
select * from participnt T1 where T1.TRADING_ID = ? and partrole_id = ?
public java.util.Enumeration findNonBuyerInTCLevel(java.lang.Long argTCId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves an Enumeration of the ParticipantAccessBeans representing all the participants with specified term condition ID.
The SQL query used to fetch all the required rows from the PARTICIPNT table is:
select * from participnt T1 where T1.termcond_id = ? and partrole_id != 2
public void setInitKey_participantId(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 getTcId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getTcIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTcId(java.lang.String newValue)
public void setTcId(java.lang.Long newValue)
public java.lang.String getRoleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getRoleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setRoleId(java.lang.String newValue)
public void setRoleId(java.lang.Integer newValue)
public java.lang.String getInformation() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setInformation(java.lang.String newValue)
public java.lang.String getParticipantId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getParticipantIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setParticipantId(java.lang.String newValue)
public void setParticipantId(java.lang.Long 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 getTimeUpdated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
public void setTimeUpdated(java.sql.Timestamp newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getTimeCreated() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)