|
||||||||
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.negotiation.objects.MessageMemberRelationAccessBean
This bean provides access to the MSGMEMREL table.
The following is a description of this table:
This table describes the message and member relationship.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MessageMemberRelationAccessBean()
Zero argument constructor used to initialize the access bean. |
|
MessageMemberRelationAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
MessageMemberRelationAccessBean(java.lang.Long msgId,
java.lang.Long memberId)
Creates an access bean with the specified attributes. |
Method Summary | |
void |
commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage). |
java.util.Enumeration |
findByRecipient(java.lang.Integer recipientId)
Retrieves all message/member relationship records for the specified recipient. |
java.util.Enumeration |
findByStatus(java.lang.String status)
Retrieves all message/member relationship records of the specified status. |
boolean |
fulfills(java.lang.Long aFills1,
java.lang.String aFills2)
IBM internal use only. |
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()
The ID of the user who will receive the message. |
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) NULL. |
java.lang.String |
getStatus()
This method provides access to the MSGMEMREL.STATUS column of DB2 type CHAR(4) NOT NULL. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setId(java.lang.Long aId1)
This method provides access to the MSGMEMREL.MESSAGE_ID column of DB2 type BIGINT NOT NULL. |
void |
setId(java.lang.String aId1)
This method provides access to the MSGMEMREL.MESSAGE_ID column of DB2 type BIGINT NOT NULL. |
void |
setInitKey_id(java.lang.Long aInitKey_id1)
Set the primary key for this object |
void |
setInitKey_recipientId(java.lang.Long aInitKey_recipientId1)
Set the primary key for this object |
void |
setRecipientId(java.lang.Long aRecipientId1)
This method provides access to the MSGMEMREL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setRecipientId(java.lang.String aRecipientId1)
This method provides access to the MSGMEMREL.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setSendStatus(java.lang.String aSendStatus1)
This method provides access to the MSGMEMREL.SENDSTAT column of DB2 type CHAR(4) NULL. |
void |
setStatus(java.lang.String aStatus1)
This method provides access to the MSGMEMREL.STATUS column of DB2 type CHAR(4) 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 MessageMemberRelationAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method:
public abstract com.ibm.commerce.negotiation.objects.MessageMemberRelation com.ibm.commerce.negotiation.objimpl.MessageMemberRelationHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.MessageMemberRelationKey) throws java.rmi.RemoteException,javax.ejb.FinderException
The home interface method properties need to be set by calling the following setter methods before calling any business methods:
public MessageMemberRelationAccessBean(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 exception.public MessageMemberRelationAccessBean(java.lang.Long msgId, java.lang.Long memberId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
msgId
- The message id.memberId
- The id of the user who will receive the message.Method 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 findByRecipient(java.lang.Integer recipientId) 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 = ?
recipientId
- The id of the user who will receive the message.public java.util.Enumeration findByStatus(java.lang.String status) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Retrieves all message/member relationship records of the specified status.
The SQL query used to fetch all the required rows from the MSGMEMREL table is:
SELECT * FROM MSGMEMREL T1 WHERE T1.STATUS = ?
status
- The message status. Valid values: N=new message not read by recipient,
O=opened, recipient has read the message, D=delete, recipient has deleted the message.public boolean fulfills(java.lang.Long aFills1, java.lang.String aFills2) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
IBM internal use only.
aFills1
- java.lang.LongaFills2
- java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjava.lang.Exception
- The java.lang.Exception exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getId
in interface MessageMemberRelationAccessBeanData
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 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.
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 getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
The ID of the user who will receive the message.
java.lang.Exception
- The java.lang.Exception exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic 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.
getRecipientId
in interface MessageMemberRelationAccessBeanData
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 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.
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 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) NULL.
The following is a description of this column:
Send status. Valid values: N=not sent by e-mail, S=sent by e-mail.
getSendStatus
in interface MessageMemberRelationAccessBeanData
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 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: N=new message not read by recipient, O=opened, recipient has read the message, D=delete, recipient has deleted the message.
getStatus
in interface MessageMemberRelationAccessBeanData
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 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 setId(java.lang.Long aId1)
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.
aId1
- java.lang.Longpublic void setId(java.lang.String aId1)
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.
setId
in interface MessageMemberRelationAccessBeanData
aId1
- java.lang.Stringpublic void setInitKey_id(java.lang.Long aInitKey_id1)
Set the primary key for this object
aInitKey_id1
- java.lang.Longpublic void setInitKey_recipientId(java.lang.Long aInitKey_recipientId1)
Set the primary key for this object
aInitKey_recipientId1
- java.lang.Longpublic void setRecipientId(java.lang.Long aRecipientId1)
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.
aRecipientId1
- java.lang.Longpublic void setRecipientId(java.lang.String aRecipientId1)
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.
setRecipientId
in interface MessageMemberRelationAccessBeanData
aRecipientId1
- java.lang.Stringpublic void setSendStatus(java.lang.String aSendStatus1)
This method provides access to the MSGMEMREL.SENDSTAT column of DB2 type CHAR(4) NULL.
The following is a description of this column:
Send status. Valid values: N=not sent by e-mail, S=sent by e-mail.
setSendStatus
in interface MessageMemberRelationAccessBeanData
aSendStatus1
- java.lang.Stringpublic void setStatus(java.lang.String aStatus1)
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: N=new message not read by recipient, O=opened, recipient has read the message, D=delete, recipient has deleted the message.
setStatus
in interface MessageMemberRelationAccessBeanData
aStatus1
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |