com.ibm.commerce.negotiation.objects
Class MessageInfoAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.negotiation.objects.MessageInfoAccessBean
All Implemented Interfaces:
MessageInfoAccessBeanData, java.io.Serializable
Direct Known Subclasses:
MessageInfoDataBean

public class MessageInfoAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MessageInfoAccessBeanData

This bean provides access to the MSGVIEW table.

The following is a description of this table:

This is a view created from a join of the MESSAGE table (column MESSAGE_ID) and the MSGMEMREL table (column MESSAGE_ID).

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
MessageInfoAccessBean()
          Zero argument constructor used to initialize the access bean.
MessageInfoAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAllMessages(com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records.
 java.util.Enumeration findByRecipient(java.lang.Long recipientId, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records for the specified recipient.
 java.util.Enumeration findByRecipientAndMultipleStatus(java.lang.Long recipientId, java.lang.String[] status, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records for the specified recipient and statuses.
 java.util.Enumeration findByRecipientAndStatus(java.lang.Long recipientId, java.lang.String status, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records for the specified recipient and status.
 java.util.Enumeration findBySender(java.lang.Long senderId, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records for the specified sender.
 java.util.Enumeration findBySendStatus(java.lang.String sendStatus, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records with the specified send status.
 java.util.Enumeration findBySendStatusAndStatus(java.lang.String sendStatus, java.lang.String status, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records with the specified send status and message status.
 java.util.Enumeration findByStatus(java.lang.String status, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records with the specified message status.
 java.util.Enumeration findSendableMessages(java.sql.Timestamp now, com.ibm.commerce.negotiation.util.SortingAttribute sort)
          Retrieves all message view records for messages that should be send via e-mail.
 java.lang.String getBase()
          This method provides access to the MSGVIEW.BASE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getBaseInEJBType()
          This method provides access to the MSGVIEW.BASE column of DB2 type TIMESTAMP NULL.
 java.lang.String getContent()
          This method provides access to the MSGVIEW.CONTENT column of DB2 type LONG VARCHAR NULL.
 int getDelayDays()
          Get the delay for the message in days.
 int getDelayHours()
          Get the delay for the message in hours.
 int getDelayMinutes()
          Get the delay for the message in minutes.
 java.lang.String getDelayTime()
          This method provides access to the MSGVIEW.DELAY column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getDelayTimeInEJBType()
          This method provides access to the MSGVIEW.DELAY column of DB2 type TIMESTAMP NULL.
 java.lang.String getId()
          This method provides access to the MSGVIEW.MESSAGE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getIdInEJBType()
          This method provides access to the MSGVIEW.MESSAGE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getMsgParam1()
          This method provides access to the MSGVIEW.MSGPARAM1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getMsgParam2()
          This method provides access to the MSGVIEW.MSGPARAM2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getMsgParam3()
          This method provides access to the MSGVIEW.MSGPARAM3 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getMsgType()
          This method provides access to the MSGVIEW.MSGTYPE column of DB2 type INTEGER NULL.
 int getMsgTypeInEJBType()
          This method provides access to the MSGVIEW.MSGTYPE column of DB2 type INTEGER NULL.
 java.lang.String getPostTime()
          This method provides access to the MSGVIEW.POSTTIME column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getPostTimeInEJBType()
          This method provides access to the MSGVIEW.POSTTIME column of DB2 type TIMESTAMP NULL.
 java.lang.String getRecipientId()
          This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRecipientIdInEJBType()
          This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getSenderId()
          This method provides access to the MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getSenderIdInEJBType()
          This method provides access to the MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getSendStatus()
          This method provides access to the MSGVIEW.SENDSTAT column of DB2 type CHARACTER(4) NULL.
 java.lang.String getStatus()
          This method provides access to the MSGVIEW.STATUS column of DB2 type CHARACTER(4) NOT NULL.
 java.lang.String getSubject()
          This method provides access to the MSGVIEW.SUBJECT column of DB2 type VARCHAR(254) NULL.
 java.lang.String getTargetId()
          This method provides access to the MSGVIEW.TARGET_ID column of DB2 type BIGINT NULL.
 java.lang.Long getTargetIdInEJBType()
          This method provides access to the MSGVIEW.TARGET_ID column of DB2 type BIGINT NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setBase(java.lang.String aBase1)
          This method provides access to the MSGVIEW.BASE column of DB2 type TIMESTAMP NULL.
 void setBase(java.sql.Timestamp aBase1)
          This method provides access to the MSGVIEW.BASE column of DB2 type TIMESTAMP NULL.
 void setContent(java.lang.String aContent1)
          This method provides access to the MSGVIEW.CONTENT column of DB2 type LONG VARCHAR NULL.
 void setDelayTime(java.lang.String aDelayTime1)
          This method provides access to the MSGVIEW.DELAY column of DB2 type TIMESTAMP NULL.
 void setDelayTime(java.sql.Timestamp aDelayTime1)
          This method provides access to the MSGVIEW.DELAY column of DB2 type TIMESTAMP NULL.
 void setId(java.lang.Long aId1)
          This method provides access to the MSGVIEW.MESSAGE_ID column of DB2 type BIGINT NOT NULL.
 void setId(java.lang.String aId1)
          This method provides access to the MSGVIEW.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 setMsgParam1(java.lang.String aMsgParam11)
          This method provides access to the MSGVIEW.MSGPARAM1 column of DB2 type VARCHAR(254) NULL.
 void setMsgParam2(java.lang.String aMsgParam21)
          This method provides access to the MSGVIEW.MSGPARAM2 column of DB2 type VARCHAR(254) NULL.
 void setMsgParam3(java.lang.String aMsgParam31)
          This method provides access to the MSGVIEW.MSGPARAM3 column of DB2 type VARCHAR(254) NULL.
 void setMsgType(int aMsgType1)
          This method provides access to the MSGVIEW.MSGTYPE column of DB2 type INTEGER NULL.
 void setMsgType(java.lang.String aMsgType1)
          This method provides access to the MSGVIEW.MSGTYPE column of DB2 type INTEGER NULL.
 void setPostTime(java.lang.String aPostTime1)
          This method provides access to the MSGVIEW.POSTTIME column of DB2 type TIMESTAMP NULL.
 void setPostTime(java.sql.Timestamp aPostTime1)
          This method provides access to the MSGVIEW.POSTTIME column of DB2 type TIMESTAMP NULL.
 void setRecipientId(java.lang.Long aRecipientId1)
          This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.
 void setRecipientId(java.lang.String aRecipientId1)
          This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.
 void setSenderId(java.lang.Long aSenderId1)
          This method provides access to the MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.
 void setSenderId(java.lang.String aSenderId1)
          This method provides access to the MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.
 void setSendStatus(java.lang.String aSendStatus1)
          This method provides access to the MSGVIEW.SENDSTAT column of DB2 type CHARACTER(4) NULL.
 void setStatus(java.lang.String aStatus1)
          This method provides access to the MSGVIEW.STATUS column of DB2 type CHARACTER(4) NOT NULL.
 void setSubject(java.lang.String aSubject1)
          This method provides access to the MSGVIEW.SUBJECT column of DB2 type VARCHAR(254) NULL.
 void setTargetId(java.lang.Long aTargetId1)
          This method provides access to the MSGVIEW.TARGET_ID column of DB2 type BIGINT NULL.
 void setTargetId(java.lang.String aTargetId1)
          This method provides access to the MSGVIEW.TARGET_ID column of DB2 type BIGINT 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

MessageInfoAccessBean

public MessageInfoAccessBean()

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.MessageInfo com.ibm.commerce.negotiation.objimpl.MessageInfoHomeBase.findByPrimaryKey(com.ibm.commerce.negotiation.objects.MessageInfoKey) 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:


MessageInfoAccessBean

public MessageInfoAccessBean(javax.ejb.EJBObject object)
                      throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception.
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 message view records.

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

SELECT * FROM MSGVIEW 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 MessageInfoAccessBeans representing rows that match the search criteria.

findByRecipient

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

Retrieves all message view records for the specified recipient.

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

SELECT * FROM MSGVIEW T1 WHERE T1.RECIPIENT_ID=?

Parameters:
recipientId - The id of the user who will receive 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 MessageInfoAccessBeans representing rows that match the search criteria.

findByRecipientAndMultipleStatus

public java.util.Enumeration findByRecipientAndMultipleStatus(java.lang.Long recipientId,
                                                              java.lang.String[] status,
                                                              com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

Retrieves all message view records for the specified recipient and statuses.

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

SELECT * FROM MSGVIEW T1 WHERE T1.RECIPIENT_ID=? AND (T1.STATUS=? {OR T1.STATUS=?}*)

Parameters:
recipientId - The id of the user who will receive the message.
status - The message statuses. Valid values: N=new message not read by recipient, O=opened, recipient has read the message, D=delete, recipient has deleted the message. Each additional status adds another OR clause.
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 MessageInfoAccessBeans representing rows that match the search criteria.

findByRecipientAndStatus

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

Retrieves all message view records for the specified recipient and status.

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

SELECT * FROM MSGVIEW T1 WHERE T1.RECIPIENT_ID=? AND T1.STATUS=?

Parameters:
recipientId - The id of the user who will receive the message.
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.
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 MessageInfoAccessBeans representing rows that match the search criteria.

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 message view records for the specified sender.

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

SELECT * FROM MSGVIEW T1 WHERE T1.SENDER_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 MessageInfoAccessBeans representing rows that match the search criteria.

findBySendStatus

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

Retrieves all message view records with the specified send status.

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

SELECT * FROM MSGVIEW T1 WHERE T1.SENDSTAT=?

Parameters:
sendStatus - Send status. Valid values: NS=not sent by e-mail, S=sent by e-mail.
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 MessageInfoAccessBeans representing rows that match the search criteria.

findBySendStatusAndStatus

public java.util.Enumeration findBySendStatusAndStatus(java.lang.String sendStatus,
                                                       java.lang.String status,
                                                       com.ibm.commerce.negotiation.util.SortingAttribute sort)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

Retrieves all message view records with the specified send status and message status.

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

SELECT * FROM MSGVIEW T1 WHERE T1.SENDSTAT=? AND T1.STATUS=?

Parameters:
sendStatus - Send status. Valid values: NS=not sent by e-mail, S=sent by e-mail.
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.
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 MessageInfoAccessBeans representing rows that match the search criteria.

findByStatus

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

Retrieves all message view records with the specified message status.

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

SELECT * FROM MSGVIEW T1 WHERE T1.STATUS=?

Parameters:
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.
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 MessageInfoAccessBeans representing rows that match the search criteria.

findSendableMessages

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

Retrieves all message view records for messages that should be send via e-mail.

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

SELECT * FROM MSGVIEW T1 WHERE T1.STATUS='N' AND T1.SENDSTAT='NS' AND T1.POSTTIME+(T1.DELAY-T1.BASE) <= ?

Parameters:
now - The current timestamp.
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 MessageInfoAccessBeans representing rows that match the search criteria.

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 MSGVIEW.BASE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

From MESSAGE.BASE.

Specified by:
getBase in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 MSGVIEW.BASE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

From MESSAGE.BASE.

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

getContent

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

This method provides access to the MSGVIEW.CONTENT column of DB2 type LONG VARCHAR NULL.

The following is a description of this column:

From MESSAGE.CONTENT.

Specified by:
getContent in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDelayDays

public int getDelayDays()
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

Get the delay for the message in days.

Returns:
int
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

getDelayHours

public int getDelayHours()
                  throws java.rmi.RemoteException,
                         java.lang.Exception,
                         javax.ejb.FinderException,
                         javax.naming.NamingException

Get the delay for the message in hours.

Returns:
int
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

getDelayMinutes

public int getDelayMinutes()
                    throws java.rmi.RemoteException,
                           java.lang.Exception,
                           javax.ejb.FinderException,
                           javax.naming.NamingException

Get the delay for the message in minutes.

Returns:
int
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

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 MSGVIEW.DELAY column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

From MESSAGE.DELAY.

Specified by:
getDelayTime in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 MSGVIEW.DELAY column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

From MESSAGE.DELAY.

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

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 MSGVIEW.MESSAGE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MESSAGE.MESSAGE_ID.

Specified by:
getId in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 MSGVIEW.MESSAGE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MESSAGE.MESSAGE_ID.

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

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 MSGVIEW.MSGPARAM1 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

From MESSAGE.MSGPARAM1.

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

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 MSGVIEW.MSGPARAM2 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

From MESSAGE.MSGPARAM2.

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

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 MSGVIEW.MSGPARAM3 column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

From MESSAGE.MSGPARAM3.

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

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 MSGVIEW.MSGTYPE column of DB2 type INTEGER NULL.

The following is a description of this column:

From MESSAGE.MSGTYPE.

Specified by:
getMsgType in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMsgTypeInEJBType

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

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

The following is a description of this column:

From MESSAGE.MSGTYPE.

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

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 MSGVIEW.POSTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

From MESSAGE.POSTTIME.

Specified by:
getPostTime in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 MSGVIEW.POSTTIME column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

From MESSAGE.POSTTIME.

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

getRecipientId

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

This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MSGMEMREL.MEMBER_ID.

Specified by:
getRecipientId in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRecipientIdInEJBType

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

This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MSGMEMREL.MEMBER_ID.

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

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 MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MESSAGE.MEMBER_ID.

Specified by:
getSenderId in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MESSAGE.MEMBER_ID.

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

getSendStatus

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

This method provides access to the MSGVIEW.SENDSTAT column of DB2 type CHARACTER(4) NULL.

The following is a description of this column:

From MSGMEMREL.SENDSTAT.

Specified by:
getSendStatus in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStatus

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

This method provides access to the MSGVIEW.STATUS column of DB2 type CHARACTER(4) NOT NULL.

The following is a description of this column:

From MSGMEMREL.STATUS.

Specified by:
getStatus in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 MSGVIEW.SUBJECT column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

From MESSAGE.SUBJECT.

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

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 MSGVIEW.TARGET_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

From MESSAGE.TARGET_ID.

Specified by:
getTargetId in interface MessageInfoAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 MSGVIEW.TARGET_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

From MESSAGE.TARGET_ID.

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setBase

public void setBase(java.lang.String aBase1)

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

The following is a description of this column:

From MESSAGE.BASE.

Specified by:
setBase in interface MessageInfoAccessBeanData
Parameters:
aBase1 - java.lang.String
Returns:
void

setBase

public void setBase(java.sql.Timestamp aBase1)

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

The following is a description of this column:

From MESSAGE.BASE.

Parameters:
aBase1 - java.sql.Timestamp
Returns:
void

setContent

public void setContent(java.lang.String aContent1)

This method provides access to the MSGVIEW.CONTENT column of DB2 type LONG VARCHAR NULL.

The following is a description of this column:

From MESSAGE.CONTENT.

Specified by:
setContent in interface MessageInfoAccessBeanData
Parameters:
aContent1 - java.lang.String
Returns:
void

setDelayTime

public void setDelayTime(java.lang.String aDelayTime1)

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

The following is a description of this column:

From MESSAGE.DELAY.

Specified by:
setDelayTime in interface MessageInfoAccessBeanData
Parameters:
aDelayTime1 - java.lang.String
Returns:
void

setDelayTime

public void setDelayTime(java.sql.Timestamp aDelayTime1)

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

The following is a description of this column:

From MESSAGE.DELAY.

Parameters:
aDelayTime1 - java.sql.Timestamp
Returns:
void

setId

public void setId(java.lang.Long aId1)

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

The following is a description of this column:

From MESSAGE.MESSAGE_ID.

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

setId

public void setId(java.lang.String aId1)

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

The following is a description of this column:

From MESSAGE.MESSAGE_ID.

Specified by:
setId in interface MessageInfoAccessBeanData
Parameters:
aId1 - java.lang.String
Returns:
void

setInitKey_id

public void setInitKey_id(java.lang.Long aInitKey_id1)

Set the primary key for this object

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

setInitKey_recipientId

public void setInitKey_recipientId(java.lang.Long aInitKey_recipientId1)

Set the primary key for this object

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

setMsgParam1

public void setMsgParam1(java.lang.String aMsgParam11)

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

The following is a description of this column:

From MESSAGE.MSGPARAM1.

Specified by:
setMsgParam1 in interface MessageInfoAccessBeanData
Parameters:
aMsgParam11 - java.lang.String
Returns:
void

setMsgParam2

public void setMsgParam2(java.lang.String aMsgParam21)

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

The following is a description of this column:

From MESSAGE.MSGPARAM2.

Specified by:
setMsgParam2 in interface MessageInfoAccessBeanData
Parameters:
aMsgParam21 - java.lang.String
Returns:
void

setMsgParam3

public void setMsgParam3(java.lang.String aMsgParam31)

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

The following is a description of this column:

From MESSAGE.MSGPARAM3.

Specified by:
setMsgParam3 in interface MessageInfoAccessBeanData
Parameters:
aMsgParam31 - java.lang.String
Returns:
void

setMsgType

public void setMsgType(int aMsgType1)

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

The following is a description of this column:

From MESSAGE.MSGTYPE.

Parameters:
aMsgType1 - int
Returns:
void

setMsgType

public void setMsgType(java.lang.String aMsgType1)

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

The following is a description of this column:

From MESSAGE.MSGTYPE.

Specified by:
setMsgType in interface MessageInfoAccessBeanData
Parameters:
aMsgType1 - java.lang.String
Returns:
void

setPostTime

public void setPostTime(java.lang.String aPostTime1)

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

The following is a description of this column:

From MESSAGE.POSTTIME.

Specified by:
setPostTime in interface MessageInfoAccessBeanData
Parameters:
aPostTime1 - java.lang.String
Returns:
void

setPostTime

public void setPostTime(java.sql.Timestamp aPostTime1)

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

The following is a description of this column:

From MESSAGE.POSTTIME.

Parameters:
aPostTime1 - java.sql.Timestamp
Returns:
void

setRecipientId

public void setRecipientId(java.lang.Long aRecipientId1)

This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MSGMEMREL.MEMBER_ID.

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

setRecipientId

public void setRecipientId(java.lang.String aRecipientId1)

This method provides access to the MSGVIEW.RECIPIENT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MSGMEMREL.MEMBER_ID.

Specified by:
setRecipientId in interface MessageInfoAccessBeanData
Parameters:
aRecipientId1 - java.lang.String
Returns:
void

setSenderId

public void setSenderId(java.lang.Long aSenderId1)

This method provides access to the MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MESSAGE.MEMBER_ID.

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

setSenderId

public void setSenderId(java.lang.String aSenderId1)

This method provides access to the MSGVIEW.SENDER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

From MESSAGE.MEMBER_ID.

Specified by:
setSenderId in interface MessageInfoAccessBeanData
Parameters:
aSenderId1 - java.lang.String
Returns:
void

setSendStatus

public void setSendStatus(java.lang.String aSendStatus1)

This method provides access to the MSGVIEW.SENDSTAT column of DB2 type CHARACTER(4) NULL.

The following is a description of this column:

From MSGMEMREL.SENDSTAT.

Specified by:
setSendStatus in interface MessageInfoAccessBeanData
Parameters:
aSendStatus1 - java.lang.String
Returns:
void

setStatus

public void setStatus(java.lang.String aStatus1)

This method provides access to the MSGVIEW.STATUS column of DB2 type CHARACTER(4) NOT NULL.

The following is a description of this column:

From MSGMEMREL.STATUS.

Specified by:
setStatus in interface MessageInfoAccessBeanData
Parameters:
aStatus1 - java.lang.String
Returns:
void

setSubject

public void setSubject(java.lang.String aSubject1)

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

The following is a description of this column:

From MESSAGE.SUBJECT.

Specified by:
setSubject in interface MessageInfoAccessBeanData
Parameters:
aSubject1 - java.lang.String
Returns:
void

setTargetId

public void setTargetId(java.lang.Long aTargetId1)

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

The following is a description of this column:

From MESSAGE.TARGET_ID.

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

setTargetId

public void setTargetId(java.lang.String aTargetId1)

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

The following is a description of this column:

From MESSAGE.TARGET_ID.

Specified by:
setTargetId in interface MessageInfoAccessBeanData
Parameters:
aTargetId1 - java.lang.String
Returns:
void