public class MessageAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements MessageAccessBeanData
Constructor and Description |
---|
MessageAccessBean()
Zero argument constructor used to initialize the access bean.
|
MessageAccessBean(javax.ejb.EJBObject o) |
MessageAccessBean(java.lang.Long arg1)
Creates an access bean with the specified attributes.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
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() |
java.sql.Timestamp | getBaseInEJBType() |
java.lang.String | getContent() |
java.lang.String | getDelayTime() |
java.sql.Timestamp | getDelayTimeInEJBType() |
java.lang.String | getId() |
java.lang.Long | getIdInEJBType() |
java.lang.String | getMsgParam1() |
java.lang.String | getMsgParam2() |
java.lang.String | getMsgParam3() |
java.lang.String | getMsgType() |
int | getMsgTypeInEJBType() |
java.lang.String | getPostTime() |
java.sql.Timestamp | getPostTimeInEJBType() |
java.lang.String | getSenderId() |
java.lang.Long | getSenderIdInEJBType() |
java.lang.String | getSubject() |
java.lang.String | getTargetId() |
java.lang.Long | getTargetIdInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | sendTo(java.lang.Long memberid)
Send this message to the specified member.
|
void | setBase(java.lang.String newValue) |
void | setBase(java.sql.Timestamp newValue) |
void | setContent(java.lang.String newValue) |
void | setDelayTime(java.lang.String newValue) |
void | setDelayTime(java.sql.Timestamp newValue) |
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) |
void | setId(java.lang.String newValue) |
void | setInitKey_id(java.lang.Long newValue) |
void | setMsgParam1(java.lang.String newValue) |
void | setMsgParam2(java.lang.String newValue) |
void | setMsgParam3(java.lang.String newValue) |
void | setMsgStatus(java.lang.Long receiverid, java.lang.String newStatus)
Sets the newStatus of the message for the specified member.
|
void | setMsgType(int newValue) |
void | setMsgType(java.lang.String newValue) |
void | setPostTime(java.lang.String newValue) |
void | setPostTime(java.sql.Timestamp newValue) |
void | setSenderId(java.lang.Long newValue) |
void | setSenderId(java.lang.String newValue) |
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) |
void | setTargetId(java.lang.Long newValue) |
void | setTargetId(java.lang.String newValue) |
public MessageAccessBean()
public MessageAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public MessageAccessBean(java.lang.Long arg1) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
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
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=?
public void setInitKey_id(java.lang.Long newValue)
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
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getMsgParam3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMsgParam3(java.lang.String newValue)
public java.lang.String getMsgParam2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMsgParam2(java.lang.String newValue)
public java.lang.String getMsgParam1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMsgParam1(java.lang.String newValue)
public java.lang.String getTargetId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getTargetIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setTargetId(java.lang.String newValue)
public void setTargetId(java.lang.Long newValue)
public java.lang.String getMsgType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public int getMsgTypeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMsgType(java.lang.String newValue)
public void setMsgType(int newValue)
public java.lang.String getSubject() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSubject(java.lang.String newValue)
public java.lang.String getPostTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getPostTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPostTime(java.lang.String newValue)
public void setPostTime(java.sql.Timestamp newValue)
public java.lang.String getBase() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getBaseInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setBase(java.lang.String newValue)
public void setBase(java.sql.Timestamp newValue)
public java.lang.String getDelayTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getDelayTimeInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDelayTime(java.lang.String newValue)
public void setDelayTime(java.sql.Timestamp newValue)
public java.lang.String getContent() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setContent(java.lang.String newValue)
public java.lang.String getId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setId(java.lang.String newValue)
public void setId(java.lang.Long newValue)
public java.lang.String getSenderId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getSenderIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setSenderId(java.lang.String newValue)
public void setSenderId(java.lang.Long newValue)
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).
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.
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.
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.