java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.contract.objects.ParticipantAccessBean
This table stores information about a participant for a TradingAgreement. This access bean corresponds to the database table 'PARTICIPNT'.
Constructor Summary | |
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 an Participant object with the specified argMemberId, argRole, and either argTradingId or argTCId. |
Method Summary | |
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 has. |
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 provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT. |
java.lang.String | getParticipantId() This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getParticipantIdInEJBType() This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getRoleId() This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getRoleIdInEJBType() This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getTcId() This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT. |
java.lang.Long | getTcIdInEJBType() This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT. |
java.lang.String | getTimeCreated() This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getTimeCreatedInEJBType() This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP. |
java.lang.String | getTimeUpdated() This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getTimeUpdatedInEJBType() This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP. |
java.lang.String | getTradingId() This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT. |
java.lang.Long | getTradingIdInEJBType() This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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 an Participant object with the specified argMemberId, argRole, and either argTradingId or argTCId.
Method Detail |
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 has.
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
This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT.
The following is a description of this column:
TermAndConditions ID. If null, this is a TradingAgreement level participant. In this case, either TRADING_ID or TERMCOND_ID must be null.
public java.lang.Long getTcIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PARTICIPNT.TERMCOND_ID column of DB2 type BIGINT.
The following is a description of this column:
TermAndConditions ID. If null, this is a TradingAgreement level participant. In this case, either TRADING_ID or TERMCOND_ID must be null.
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
This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Participant role ID.
public java.lang.Integer getRoleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PARTICIPNT.PARTROLE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
Participant role ID.
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
This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Participant ID. This is a primary key.
public java.lang.Long getParticipantIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PARTICIPNT.PARTICIPNT_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Participant ID. This is a primary key.
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
This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT.
The following is a description of this column:
TradingAgreement ID. If null, this is a terms and conditions level participant. In this case, either TRADING_ID or TERMCOND_ID must be null.
public java.lang.Long getTradingIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PARTICIPNT.TRADING_ID column of DB2 type BIGINT.
The following is a description of this column:
TradingAgreement ID. If null, this is a terms and conditions level participant. In this case, either TRADING_ID or TERMCOND_ID must be null.
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
This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
public java.sql.Timestamp getTimeUpdatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PARTICIPNT.TIMEUPDATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time updated.
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
This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT.
The following is a description of this column:
Member ID for the participant. If null, then there are no restrictions for this participan
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PARTICIPNT.MEMBER_ID column of DB2 type BIGINT.
The following is a description of this column:
Member ID for the participant. If null, then there are no restrictions for this participan
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
This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
public java.sql.Timestamp getTimeCreatedInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the PARTICIPNT.TIMECREATED column of DB2 type TIMESTAMP.
The following is a description of this column:
Time created.
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.