com.ibm.commerce.negotiation.objects
Class MessageAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.negotiation.objects.MessageAccessBean
All Implemented Interfaces:
MessageAccessBeanData
Direct Known Subclasses:
MessageDataBean

public class MessageAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MessageAccessBeanData

This table contains messages generated by the Auctions component. This access bean corresponds to the database table 'MESSAGE'.

See Also:
Serialized Form

Constructor Summary
MessageAccessBean()
Zero argument constructor used to initialize the access bean.
MessageAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAllMessages(com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all messages.
java.util.Enumeration findBySender(java.lang.Long senderid, com.ibm.commerce.negotiation.util.SortingAttribute sort)
Retrieves all messages from the specified sender.
java.lang.String getBase()
This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP.
java.sql.Timestamp getBaseInEJBType()
This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP.
java.lang.String getContent()
This method accesses a non-CMP field
java.lang.String getDelayTime()
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP.
java.sql.Timestamp getDelayTimeInEJBType()
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP.
java.lang.String getId()
This method provides access to the MESSAGE.MESSAGE_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getIdInEJBType()
This method provides access to the MESSAGE.MESSAGE_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getMsgParam1()
This method provides access to the MESSAGE.MSGPARAM1 column of DB2 type VARCHAR(254).
java.lang.String getMsgParam2()
This method provides access to the MESSAGE.MSGPARAM2 column of DB2 type VARCHAR(254).
java.lang.String getMsgParam3()
This method provides access to the MESSAGE.MSGPARAM3 column of DB2 type VARCHAR(254).
java.lang.String getMsgType()
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER.
int getMsgTypeInEJBType()
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER.
java.lang.String getPostTime()
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP.
java.sql.Timestamp getPostTimeInEJBType()
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP.
java.lang.String getSenderId()
This method provides access to the MESSAGE.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getSenderIdInEJBType()
This method provides access to the MESSAGE.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getSubject()
This method provides access to the MESSAGE.SUBJECT column of DB2 type VARCHAR(254).
java.lang.String getTargetId()
This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT.
java.lang.Long getTargetIdInEJBType()
This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void sendTo(java.lang.Long memberid)
Send this message to the specified member.
void setBase(java.lang.String newValue)
This method accesses a non-CMP field
void setBase(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setContent(java.lang.String newValue)
This method accesses a non-CMP field
void setDelayTime(java.lang.String newValue)
This method accesses a non-CMP field
void setDelayTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setDelayTimePeriod(int days, int hours, int minutes)
Sets how many days, hours and minutes to wait until this message gets sent to the shopper's e-mail if they haven't read it.
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 setMsgParam1(java.lang.String newValue)
This method accesses a non-CMP field
void setMsgParam2(java.lang.String newValue)
This method accesses a non-CMP field
void setMsgParam3(java.lang.String newValue)
This method accesses a non-CMP field
void setMsgStatus(java.lang.Long receiverid, java.lang.String newStatus)
Sets the newStatus of the message for the specified member.
void setMsgType(int newValue)
This method accesses a non-CMP field
void setMsgType(java.lang.String newValue)
This method accesses a non-CMP field
void setPostTime(java.lang.String newValue)
This method accesses a non-CMP field
void setPostTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setSenderId(java.lang.Long newValue)
This method accesses a non-CMP field
void setSenderId(java.lang.String newValue)
This method accesses a non-CMP field
void setSendStatus(java.lang.Long receiverid, java.lang.String newSendStatus)
Sets the send status of the message for the specified member.
void setSubject(java.lang.String newValue)
This method accesses a non-CMP field
void setTargetId(java.lang.Long newValue)
This method accesses a non-CMP field
void setTargetId(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

MessageAccessBean

public MessageAccessBean()
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.Message com.ibm.commerce.negotiation.objects.MessageHome.findByPrimaryKey(com.ibm.commerce.negotiation.objects.MessageKey) 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: setInitKey_id( java.lang.Long )

MessageAccessBean

public MessageAccessBean(javax.ejb.EJBObject o)
                  throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException
Method Detail

findAllMessages

public java.util.Enumeration findAllMessages(com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Retrieves all messages.

The SQL query used to fetch all the required rows from the MESSAGE table is:

SELECT * FROM MESSAGE T1 WHERE 1=1

Parameters:
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the MessageAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findBySender

public java.util.Enumeration findBySender(java.lang.Long senderid,
                                          com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

Retrieves all messages from the specified sender.

The SQL query used to fetch all the required rows from the MESSAGE table is:

SELECT * FROM MESSAGE T1 WHERE T1.MEMBER_ID=?

Parameters:
senderid - The member who is sending the message.
sort - The sorting attribute. This is a set of column names and the order in which they are each to be sorted (ascending, descending). This is used to build an ORDER BY clause.
Returns:
An Enumeration of all the MessageAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

setInitKey_id

public void setInitKey_id(java.lang.Long newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.Long
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMsgParam3

public java.lang.String getMsgParam3()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the MESSAGE.MSGPARAM3 column of DB2 type VARCHAR(254).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getMsgParam3 in interface MessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMsgParam3

public void setMsgParam3(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMsgParam3 in interface MessageAccessBeanData

getMsgParam2

public java.lang.String getMsgParam2()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the MESSAGE.MSGPARAM2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Contains the auction ID used with the start auction message.

Specified by:
getMsgParam2 in interface MessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMsgParam2

public void setMsgParam2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMsgParam2 in interface MessageAccessBeanData

getMsgParam1

public java.lang.String getMsgParam1()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the MESSAGE.MSGPARAM1 column of DB2 type VARCHAR(254).

The following is a description of this column:

Contains the bid ID used for for the following messages: auction won, bid overridden, or order completed.

Specified by:
getMsgParam1 in interface MessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMsgParam1

public void setMsgParam1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMsgParam1 in interface MessageAccessBeanData

getTargetId

public java.lang.String getTargetId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT.

The following is a description of this column:

Auction ID and bid ID.

Specified by:
getTargetId in interface MessageAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTargetIdInEJBType

public java.lang.Long getTargetIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT.

The following is a description of this column:

Auction ID and bid ID.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTargetId

public void setTargetId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTargetId in interface MessageAccessBeanData

setTargetId

public void setTargetId(java.lang.Long newValue)
This method accesses a non-CMP field

getMsgType

public java.lang.String getMsgType()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER.

The following is a description of this column:

Message type. Valid values are as follows:&l

Specified by:
getMsgType in interface MessageAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMsgTypeInEJBType

public int getMsgTypeInEJBType()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER.

The following is a description of this column:

Message type. Valid values are as follows:&l

Returns:
int
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMsgType

public void setMsgType(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMsgType in interface MessageAccessBeanData

setMsgType

public void setMsgType(int newValue)
This method accesses a non-CMP field

getSubject

public java.lang.String getSubject()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the MESSAGE.SUBJECT column of DB2 type VARCHAR(254).

The following is a description of this column:

A text field that contains the subject of the message.

Specified by:
getSubject in interface MessageAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSubject

public void setSubject(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSubject in interface MessageAccessBeanData

getPostTime

public java.lang.String getPostTime()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Date and time the message was posted.

Specified by:
getPostTime in interface MessageAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPostTimeInEJBType

public java.sql.Timestamp getPostTimeInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP.

The following is a description of this column:

Date and time the message was posted.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPostTime

public void setPostTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setPostTime in interface MessageAccessBeanData

setPostTime

public void setPostTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getBase

public java.lang.String getBase()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP.

The following is a description of this column:

Fixed time stamp used with the delay to determine when a message is sent by e-mail.

Specified by:
getBase in interface MessageAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getBaseInEJBType

public java.sql.Timestamp getBaseInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP.

The following is a description of this column:

Fixed time stamp used with the delay to determine when a message is sent by e-mail.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setBase

public void setBase(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setBase in interface MessageAccessBeanData

setBase

public void setBase(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getDelayTime

public java.lang.String getDelayTime()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP.

The following is a description of this column:

The amount of time that must elapse before an email is sent to the recipient. The delay is the base plus the delay time (for example, 1 hour).

Specified by:
getDelayTime in interface MessageAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getDelayTimeInEJBType

public java.sql.Timestamp getDelayTimeInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP.

The following is a description of this column:

The amount of time that must elapse before an email is sent to the recipient. The delay is the base plus the delay time (for example, 1 hour).

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDelayTime

public void setDelayTime(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setDelayTime in interface MessageAccessBeanData

setDelayTime

public void setDelayTime(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getContent

public java.lang.String getContent()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getContent in interface MessageAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setContent

public void setContent(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setContent in interface MessageAccessBeanData

getId

public java.lang.String getId()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

This method provides access to the MESSAGE.MESSAGE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Message ID. The primary key for the table.

Specified by:
getId in interface MessageAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getIdInEJBType

public java.lang.Long getIdInEJBType()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the MESSAGE.MESSAGE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Message ID. The primary key for the table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setId

public void setId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setId in interface MessageAccessBeanData

setId

public void setId(java.lang.Long newValue)
This method accesses a non-CMP field

getSenderId

public java.lang.String getSenderId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the MESSAGE.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Member ID. The member who is sending the message. For auctions, this is the owner of the auction.

Specified by:
getSenderId in interface MessageAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getSenderIdInEJBType

public java.lang.Long getSenderIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the MESSAGE.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Member ID. The member who is sending the message. For auctions, this is the owner of the auction.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setSenderId

public void setSenderId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setSenderId in interface MessageAccessBeanData

setSenderId

public void setSenderId(java.lang.Long newValue)
This method accesses a non-CMP field

sendTo

public void sendTo(java.lang.Long memberid)
            throws java.rmi.RemoteException,
                   java.lang.Exception,
                   javax.ejb.FinderException,
                   javax.naming.NamingException

Send this message to the specified member. This creates a record in the MSGMEMREL table where STATUS='N' (new) and SENDSTAT='NS' (not submitted).

Parameters:
memberid - The member Id.
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setDelayTimePeriod

public void setDelayTimePeriod(int days,
                               int hours,
                               int minutes)
                        throws java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

Sets how many days, hours and minutes to wait until this message gets sent to the shopper's e-mail if they haven't read it.

Parameters:
days - The number of days.
hours - The number of hours.
minutes - The number of minutes.
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setMsgStatus

public void setMsgStatus(java.lang.Long receiverid,
                         java.lang.String newStatus)
                  throws java.rmi.RemoteException,
                         java.lang.Exception,
                         javax.ejb.FinderException,
                         javax.naming.NamingException

Sets the newStatus of the message for the specified member.

Parameters:
receiverid - The member Id.
newStatus - The new message newStatus.
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setSendStatus

public void setSendStatus(java.lang.Long receiverid,
                          java.lang.String newSendStatus)
                   throws java.rmi.RemoteException,
                          java.lang.Exception,
                          javax.ejb.FinderException,
                          javax.naming.NamingException

Sets the send status of the message for the specified member.

Parameters:
receiverid - The member Id.
newSendStatus - The new send status.
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

Feedback