java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.negotiation.objects.MessageMemberRelationAccessBean
This table describes the relationship between a message and a member. This access bean corresponds to the database table 'MSGMEMREL'.
Constructor Summary | |
MessageMemberRelationAccessBean() Zero argument constructor used to initialize the access bean. |
|
MessageMemberRelationAccessBean(javax.ejb.EJBObject o) constructor |
|
MessageMemberRelationAccessBean(java.lang.Long arg1, java.lang.Long arg2) Creates an access bean with the specified attributes. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findByRecipient(java.lang.Integer memberid) Retrieves all message/member relationship records for the specified recipient. |
java.util.Enumeration | findByStatus(java.lang.String stat) Retrieves all message/member relationship records of the specified stat. |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getId() This method provides access to the MSGMEMREL.MESSAGE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getIdInEJBType() This method provides access to the MSGMEMREL.MESSAGE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getRecipientId() This method provides access to the MSGMEMREL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getRecipientIdInEJBType() This method provides access to the MSGMEMREL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getSendStatus() This method provides access to the MSGMEMREL.SENDSTAT column of DB2 type CHAR(4). |
java.lang.String | getStatus() This method provides access to the MSGMEMREL.STATUS column of DB2 type CHAR(4) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setId(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_id(java.lang.Long newValue) Set the primary key for this object |
void | setInitKey_recipientId(java.lang.Long newValue) Set the primary key for this object |
void | setRecipientId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setRecipientId(java.lang.String newValue) This method accesses a non-CMP field |
void | setSendStatus(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(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 MessageMemberRelationAccessBean()
public MessageMemberRelationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public MessageMemberRelationAccessBean(java.lang.Long arg1, java.lang.Long arg2) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
Method Detail |
public java.util.Enumeration findByRecipient(java.lang.Integer memberid) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all message/member relationship records for the specified recipient.
The SQL query used to fetch all the required rows from the MSGMEMREL table is:
SELECT * FROM MSGMEMREL T1 WHERE T1.MEMBER_ID = ?
public java.util.Enumeration findByStatus(java.lang.String stat) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all message/member relationship records of the specified stat.
The SQL query used to fetch all the required rows from the MSGMEMREL table is:
SELECT * FROM MSGMEMREL T1 WHERE T1.STATUS = ?
public void setInitKey_id(java.lang.Long newValue)
Set the primary key for this object
public void setInitKey_recipientId(java.lang.Long 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 getSendStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MSGMEMREL.SENDSTAT column of DB2 type CHAR(4).
The following is a description of this column:
Send status. Valid values are as follows:&l
public void setSendStatus(java.lang.String newValue)
public java.lang.String getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MSGMEMREL.STATUS column of DB2 type CHAR(4) NOT NULL.
The following is a description of this column:
Message status. Valid values are as follows:&l
public void setStatus(java.lang.String newValue)
public java.lang.String getId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MSGMEMREL.MESSAGE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Message ID.
public java.lang.Long getIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MSGMEMREL.MESSAGE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
Message ID.
public void setId(java.lang.String newValue)
public void setId(java.lang.Long newValue)
public java.lang.String getRecipientId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MSGMEMREL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the user who will receive the message.
public java.lang.Long getRecipientIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MSGMEMREL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The ID of the user who will receive the message.
public void setRecipientId(java.lang.String newValue)
public void setRecipientId(java.lang.Long newValue)
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.