com.ibm.commerce.emarketing.objects
Class EmailRecipientEventsAccessBean

java.lang.Object
  |
  +--AbstractEntityAccessBean
        |
        +--com.ibm.commerce.emarketing.objects.EmailRecipientEventsAccessBean

public class EmailRecipientEventsAccessBean
extends AbstractEntityAccessBean

This table records e-mail events for each recipient of a particular e-mail activity. If a row does not exist for a recipient of an e-mail activity, the user has not yet caused an event. EmailRecipientEventsAccessBean

See Also:
Serialized Form

Constructor Summary
EmailRecipientEventsAccessBean()
          constructor
EmailRecipientEventsAccessBean(javax.ejb.EJBObject o)
          EmailRecipientEventsAccessBean
EmailRecipientEventsAccessBean(java.lang.Long usersId, java.lang.Integer emailPromotionId)
          EmailRecipientEventsAccessBean
 
Method Summary
 void commitCopyHelper()
          commitCopyHelper
 java.lang.String defaultJNDIName()
          defaultJNDIName
 java.util.Enumeration findAll()
          Finds all instances
 java.util.Enumeration findBounced()
          Finds all bounced instances
 java.util.Enumeration findByEmailPromotionId(java.lang.Integer emailPromotionId)
          Finds all instances using emailPromotionId
  EmailRecipientEventsAccessBean findByEmailPromotionIdAndUsersId(java.lang.Integer argEmailPromotionId, java.lang.Long argUsersId)
          Finds all instances using emailPromotionId and usersId
 java.util.Enumeration findByUsersId(java.lang.Long usersId)
          Finds all instances using usersId
 java.util.Enumeration findClicked()
          Finds all clicked instances
 java.util.Enumeration findOpened()
          Finds all opened instances
 java.util.Enumeration findOpenedButNotClicked()
          Finds all opened but not clicked instances
 boolean fulfills(java.lang.Long member, java.lang.String relationship)
          fulfills
 java.lang.String getBounced()
          Get accessor for persistent attribute: bounced
 java.sql.Timestamp getBouncedInEJBType()
          getBouncedInEJBType
 java.lang.String getClicked()
          Get accessor for persistent attribute: clicked
 java.sql.Timestamp getClickedInEJBType()
          getClickedInEJBType
 java.lang.String getEmailPromotionId()
          getEmailPromotionId
 java.lang.Integer getEmailPromotionIdInEJBType()
          getEmailPromotionIdInEJBType
 java.lang.String getOpened()
          Get accessor for persistent attribute: opened
 java.sql.Timestamp getOpenedInEJBType()
          getOpenedInEJBType
 java.lang.Long getOwner()
          getOwner
 java.lang.String getUsersId()
          getUsersId
 java.lang.Long getUsersIdInEJBType()
          getUsersIdInEJBType
protected  void instantiateEJB()
          instantiateEJB
protected  boolean instantiateEJBByPrimaryKey()
          instantiateEJBByPrimaryKey
 void refreshCopyHelper()
          refreshCopyHelper
 void setBounced(java.lang.String newValue)
          This method accesses a non-CMP field
 void setBounced(java.sql.Timestamp newValue)
          Set accessor for persistent attribute: bounced
 void setBouncedTrue()
          Set bounced to be true
 void setClicked(java.lang.String newValue)
          This method accesses a non-CMP field
 void setClicked(java.sql.Timestamp newValue)
          Set accessor for persistent attribute: clicked
 void setClickedTrue()
          Set clicked to be true
 void setInitKey_emailPromotionId(java.lang.Integer newValue)
          setInitKey_emailPromotionId
 void setInitKey_usersId(java.lang.Long newValue)
          setInitKey_usersId
 void setOpened(java.lang.String newValue)
          This method accesses a non-CMP field
 void setOpened(java.sql.Timestamp newValue)
          Set accessor for persistent attribute: opened
 void setOpenedTrue()
          Set opened to be true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailRecipientEventsAccessBean

public EmailRecipientEventsAccessBean()
constructor

EmailRecipientEventsAccessBean

public EmailRecipientEventsAccessBean(javax.ejb.EJBObject o)
                               throws java.rmi.RemoteException
EmailRecipientEventsAccessBean

EmailRecipientEventsAccessBean

public EmailRecipientEventsAccessBean(java.lang.Long usersId,
                                      java.lang.Integer emailPromotionId)
                               throws javax.naming.NamingException,
                                      javax.ejb.CreateException,
                                      java.rmi.RemoteException
EmailRecipientEventsAccessBean
Method Detail

getBounced

public java.lang.String getBounced()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
Get accessor for persistent attribute: bounced
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setBounced

public void setBounced(java.sql.Timestamp newValue)
Set accessor for persistent attribute: bounced

getClicked

public java.lang.String getClicked()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
Get accessor for persistent attribute: clicked
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setClicked

public void setClicked(java.sql.Timestamp newValue)
Set accessor for persistent attribute: clicked

getEmailPromotionId

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

getOpened

public java.lang.String getOpened()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException
Get accessor for persistent attribute: opened
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOpened

public void setOpened(java.sql.Timestamp newValue)
Set accessor for persistent attribute: opened

getUsersId

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

defaultJNDIName

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

instantiateEJB

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

instantiateEJBByPrimaryKey

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

refreshCopyHelper

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

commitCopyHelper

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

findBounced

public java.util.Enumeration findBounced()
                                  throws javax.naming.NamingException,
                                         javax.ejb.FinderException,
                                         java.rmi.RemoteException
Finds all bounced instances
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByEmailPromotionId

public java.util.Enumeration findByEmailPromotionId(java.lang.Integer emailPromotionId)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException
Finds all instances using emailPromotionId
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findAll

public java.util.Enumeration findAll()
                              throws javax.naming.NamingException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException
Finds all instances
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findOpenedButNotClicked

public java.util.Enumeration findOpenedButNotClicked()
                                              throws javax.naming.NamingException,
                                                     javax.ejb.FinderException,
                                                     java.rmi.RemoteException
Finds all opened but not clicked instances
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByUsersId

public java.util.Enumeration findByUsersId(java.lang.Long usersId)
                                    throws javax.naming.NamingException,
                                           javax.ejb.FinderException,
                                           java.rmi.RemoteException
Finds all instances using usersId
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findClicked

public java.util.Enumeration findClicked()
                                  throws javax.naming.NamingException,
                                         javax.ejb.FinderException,
                                         java.rmi.RemoteException
Finds all clicked instances
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findOpened

public java.util.Enumeration findOpened()
                                 throws javax.naming.NamingException,
                                        javax.ejb.FinderException,
                                        java.rmi.RemoteException
Finds all opened instances
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

fulfills

public boolean fulfills(java.lang.Long member,
                        java.lang.String relationship)
                 throws javax.naming.NamingException,
                        javax.ejb.FinderException,
                        java.lang.Exception,
                        java.rmi.RemoteException
fulfills
Returns:
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException

getOwner

public java.lang.Long getOwner()
                        throws javax.naming.NamingException,
                               javax.ejb.FinderException,
                               java.lang.Exception,
                               java.rmi.RemoteException
getOwner
Returns:
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException

setClickedTrue

public void setClickedTrue()
                    throws javax.naming.NamingException,
                           javax.ejb.FinderException,
                           java.rmi.RemoteException
Set clicked to be true
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

setBouncedTrue

public void setBouncedTrue()
                    throws javax.naming.NamingException,
                           javax.ejb.FinderException,
                           java.rmi.RemoteException
Set bounced to be true
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

setOpenedTrue

public void setOpenedTrue()
                   throws javax.naming.NamingException,
                          javax.ejb.FinderException,
                          java.rmi.RemoteException
Set opened to be true
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

setInitKey_usersId

public void setInitKey_usersId(java.lang.Long newValue)
setInitKey_usersId

Set the primary key for this object

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

setInitKey_emailPromotionId

public void setInitKey_emailPromotionId(java.lang.Integer newValue)
setInitKey_emailPromotionId

Set the primary key for this object

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

findByEmailPromotionIdAndUsersId

public EmailRecipientEventsAccessBean findByEmailPromotionIdAndUsersId(java.lang.Integer argEmailPromotionId,
                                                                       java.lang.Long argUsersId)
                                                                throws javax.naming.NamingException,
                                                                       javax.ejb.FinderException,
                                                                       java.rmi.RemoteException
Finds all instances using emailPromotionId and usersId
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

getBouncedInEJBType

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

setBounced

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

getClickedInEJBType

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

setClicked

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

getEmailPromotionIdInEJBType

public java.lang.Integer getEmailPromotionIdInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException
getEmailPromotionIdInEJBType
Returns:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOpenedInEJBType

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

setOpened

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

getUsersIdInEJBType

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