|
||||||||
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.MessageAccessBean
This bean provides access to the MESSAGE table.
The following is a description of this table:
This table contains messages generated by the Auctions component.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
MessageAccessBean()
Zero argument constructor used to initialize the access bean. |
|
MessageAccessBean(javax.ejb.EJBObject object)
Creates an access bean for the specified EJB |
|
MessageAccessBean(java.lang.Long senderId)
Creates an access bean with the specified attributes. |
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 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 NULL. |
java.sql.Timestamp |
getBaseInEJBType()
This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP NULL. |
java.lang.String |
getContent()
This method provides access to the MESSAGE.CONTENT column of DB2 type LONG NULL. |
java.lang.String |
getDelayTime()
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getDelayTimeInEJBType()
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP NULL. |
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) NULL. |
java.lang.String |
getMsgParam2()
This method provides access to the MESSAGE.MSGPARAM2 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getMsgParam3()
This method provides access to the MESSAGE.MSGPARAM3 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getMsgType()
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER NULL. |
int |
getMsgTypeInEJBType()
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER NULL. |
java.lang.String |
getPostTime()
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP NULL. |
java.sql.Timestamp |
getPostTimeInEJBType()
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP NULL. |
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) NULL. |
java.lang.String |
getTargetId()
This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getTargetIdInEJBType()
This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT NULL. |
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 aBase1)
This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP NULL. |
void |
setBase(java.sql.Timestamp aBase1)
This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP NULL. |
void |
setContent(java.lang.String aContent1)
This method provides access to the MESSAGE.CONTENT column of DB2 type LONG NULL. |
void |
setDelayTime(java.lang.String aDelayTime1)
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP NULL. |
void |
setDelayTime(java.sql.Timestamp aDelayTime1)
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP NULL. |
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 aId1)
This method provides access to the MESSAGE.MESSAGE_ID column of DB2 type BIGINT NOT NULL. |
void |
setId(java.lang.String aId1)
This method provides access to the MESSAGE.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 |
setMsgParam1(java.lang.String aMsgParam11)
This method provides access to the MESSAGE.MSGPARAM1 column of DB2 type VARCHAR(254) NULL. |
void |
setMsgParam2(java.lang.String aMsgParam21)
This method provides access to the MESSAGE.MSGPARAM2 column of DB2 type VARCHAR(254) NULL. |
void |
setMsgParam3(java.lang.String aMsgParam31)
This method provides access to the MESSAGE.MSGPARAM3 column of DB2 type VARCHAR(254) NULL. |
void |
setMsgStatus(java.lang.Long memberId,
java.lang.String status)
Sets the status of the message for the specified member. |
void |
setMsgType(int aMsgType1)
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER NULL. |
void |
setMsgType(java.lang.String aMsgType1)
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER NULL. |
void |
setPostTime(java.lang.String aPostTime1)
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP NULL. |
void |
setPostTime(java.sql.Timestamp aPostTime1)
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP NULL. |
void |
setSenderId(java.lang.Long aSenderId1)
This method provides access to the MESSAGE.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setSenderId(java.lang.String aSenderId1)
This method provides access to the MESSAGE.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setSendStatus(java.lang.Long memberId,
java.lang.String sendStatus)
Sets the send status of the message for the specified member. |
void |
setSubject(java.lang.String aSubject1)
This method provides access to the MESSAGE.SUBJECT column of DB2 type VARCHAR(254) NULL. |
void |
setTargetId(java.lang.Long aTargetId1)
This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT NULL. |
void |
setTargetId(java.lang.String aTargetId1)
This method provides access to the MESSAGE.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 |
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:
public MessageAccessBean(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 MessageAccessBean(java.lang.Long senderId) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Creates an access bean with the specified attributes.
senderId
- The member who is sending 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 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
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.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=?
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.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 NULL.
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.
getBase
in interface MessageAccessBeanData
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.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 NULL.
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.
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 getContent() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the MESSAGE.CONTENT column of DB2 type LONG NULL.
The following is a description of this column:
A text field that contains the message content.
getContent
in interface MessageAccessBeanData
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 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 NULL.
The following is a description of this column:
The amount of time that must elapse before an e-mail is sent to the recipient. The delay is the base plus the delay time (for example, 1 hour).
getDelayTime
in interface MessageAccessBeanData
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.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 NULL.
The following is a description of this column:
The amount of time that must elapse before an e-mail is sent to the recipient. The delay is the base plus the delay time (for example, 1 hour).
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 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.
getId
in interface MessageAccessBeanData
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 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.
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 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) NULL.
The following is a description of this column:
Contains the bid ID used for the following messages: auction won, bid overridden, or order completed.
getMsgParam1
in interface MessageAccessBeanData
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 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) NULL.
The following is a description of this column:
Contains the auction ID used with the start auction message.
getMsgParam2
in interface MessageAccessBeanData
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 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) NULL.
The following is a description of this column:
Reserved for IBM internal use.
getMsgParam3
in interface MessageAccessBeanData
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 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 NULL.
The following is a description of this column:
Message type. Valid values: 1=start auction, 2=auction won, 3=auction lost, 4=bid overridden, 5=order completed
getMsgType
in interface MessageAccessBeanData
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 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 NULL.
The following is a description of this column:
Message type. Valid values: 1=start auction, 2=auction won, 3=auction lost, 4=bid overridden, 5=order completed
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 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 NULL.
The following is a description of this column:
Date and time the message was posted.
getPostTime
in interface MessageAccessBeanData
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.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 NULL.
The following is a description of this column:
Date and time the message was posted.
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 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.
getSenderId
in interface MessageAccessBeanData
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 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.
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 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) NULL.
The following is a description of this column:
A text field that contains the subject of the message.
getSubject
in interface MessageAccessBeanData
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 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 NULL.
The following is a description of this column:
Auction ID and bid ID.
getTargetId
in interface MessageAccessBeanData
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 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 NULL.
The following is a description of this column:
Auction ID and bid 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 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 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).
memberId
- The member Id.java.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 void setBase(java.lang.String aBase1)
This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP NULL.
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.
setBase
in interface MessageAccessBeanData
aBase1
- java.lang.Stringpublic void setBase(java.sql.Timestamp aBase1)
This method provides access to the MESSAGE.BASE column of DB2 type TIMESTAMP NULL.
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.
aBase1
- java.sql.Timestamppublic void setContent(java.lang.String aContent1)
This method provides access to the MESSAGE.CONTENT column of DB2 type LONG NULL.
The following is a description of this column:
A text field that contains the message content.
setContent
in interface MessageAccessBeanData
aContent1
- java.lang.Stringpublic void setDelayTime(java.lang.String aDelayTime1)
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The amount of time that must elapse before an e-mail is sent to the recipient. The delay is the base plus the delay time (for example, 1 hour).
setDelayTime
in interface MessageAccessBeanData
aDelayTime1
- java.lang.Stringpublic void setDelayTime(java.sql.Timestamp aDelayTime1)
This method provides access to the MESSAGE.DELAY column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
The amount of time that must elapse before an e-mail is sent to the recipient. The delay is the base plus the delay time (for example, 1 hour).
aDelayTime1
- java.sql.Timestamppublic 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.
days
- The number of days.hours
- The number of hours.minutes
- The number of minutes.java.rmi.RemoteException
- The java.rmi.RemoteException 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 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.
aId1
- java.lang.Longpublic void setId(java.lang.String aId1)
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.
setId
in interface MessageAccessBeanData
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 setMsgParam1(java.lang.String aMsgParam11)
This method provides access to the MESSAGE.MSGPARAM1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Contains the bid ID used for the following messages: auction won, bid overridden, or order completed.
setMsgParam1
in interface MessageAccessBeanData
aMsgParam11
- java.lang.Stringpublic void setMsgParam2(java.lang.String aMsgParam21)
This method provides access to the MESSAGE.MSGPARAM2 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Contains the auction ID used with the start auction message.
setMsgParam2
in interface MessageAccessBeanData
aMsgParam21
- java.lang.Stringpublic void setMsgParam3(java.lang.String aMsgParam31)
This method provides access to the MESSAGE.MSGPARAM3 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
Reserved for IBM internal use.
setMsgParam3
in interface MessageAccessBeanData
aMsgParam31
- java.lang.Stringpublic void setMsgStatus(java.lang.Long memberId, java.lang.String status) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
Sets the status of the message for the specified member.
memberId
- The member Id.status
- The new message status.java.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 void setMsgType(int aMsgType1)
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER NULL.
The following is a description of this column:
Message type. Valid values: 1=start auction, 2=auction won, 3=auction lost, 4=bid overridden, 5=order completed
aMsgType1
- intpublic void setMsgType(java.lang.String aMsgType1)
This method provides access to the MESSAGE.MSGTYPE column of DB2 type INTEGER NULL.
The following is a description of this column:
Message type. Valid values: 1=start auction, 2=auction won, 3=auction lost, 4=bid overridden, 5=order completed
setMsgType
in interface MessageAccessBeanData
aMsgType1
- java.lang.Stringpublic void setPostTime(java.lang.String aPostTime1)
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time the message was posted.
setPostTime
in interface MessageAccessBeanData
aPostTime1
- java.lang.Stringpublic void setPostTime(java.sql.Timestamp aPostTime1)
This method provides access to the MESSAGE.POSTTIME column of DB2 type TIMESTAMP NULL.
The following is a description of this column:
Date and time the message was posted.
aPostTime1
- java.sql.Timestamppublic void setSenderId(java.lang.Long aSenderId1)
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.
aSenderId1
- java.lang.Longpublic void setSenderId(java.lang.String aSenderId1)
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.
setSenderId
in interface MessageAccessBeanData
aSenderId1
- java.lang.Stringpublic void setSendStatus(java.lang.Long memberId, java.lang.String sendStatus) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
Sets the send status of the message for the specified member.
memberId
- The member Id.sendStatus
- The new send status.java.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 void setSubject(java.lang.String aSubject1)
This method provides access to the MESSAGE.SUBJECT column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A text field that contains the subject of the message.
setSubject
in interface MessageAccessBeanData
aSubject1
- java.lang.Stringpublic void setTargetId(java.lang.Long aTargetId1)
This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Auction ID and bid ID.
aTargetId1
- java.lang.Longpublic void setTargetId(java.lang.String aTargetId1)
This method provides access to the MESSAGE.TARGET_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
Auction ID and bid ID.
setTargetId
in interface MessageAccessBeanData
aTargetId1
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |