com.ibm.commerce.emarketing.objects
Class EmailPromotionAccessBean

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

public class EmailPromotionAccessBean
extends AbstractEntityAccessBean

This table stores e-mail activities. Each row corresponds to an e-mail activity which is sent to a given customer profile. EmailPromotionAccessBean

See Also:
Serialized Form

Constructor Summary
EmailPromotionAccessBean()
          constructor
EmailPromotionAccessBean(java.lang.Integer argEmailPromotionId, java.lang.Integer argEmailMessageId, java.lang.Long argJobReferenceNumber, java.lang.Integer argStoreEntityId, java.lang.String argName)
          EmailPromotionAccessBean
EmailPromotionAccessBean(java.lang.Integer argEmailMessageId, java.lang.Long argJobReferenceNumber, java.lang.Integer argStoreEntityId, java.lang.String argName)
          EmailPromotionAccessBean
EmailPromotionAccessBean(javax.ejb.EJBObject o)
          EmailPromotionAccessBean
 
Method Summary
 void commitCopyHelper()
          commitCopyHelper
 java.lang.String defaultJNDIName()
          defaultJNDIName
 java.util.Enumeration findAll()
          Finds all instances
 java.util.Enumeration findByEmailMessageId(java.lang.Integer argEmailmesssageId)
          Finds all instances using emailMessageId
  EmailPromotionAccessBean findByEmailPromotionId(java.lang.Integer argEmailPromotionId)
          Finds all instances using emailPromotionId
  EmailPromotionAccessBean findByEmailPromotionIdForUpdate(java.lang.Integer emailPromotionId)
          Finds the instance using emailPromotionId for update
 java.util.Enumeration findByStoreEntityId(java.lang.Integer argStoreEntityId)
          Finds all instances using storeEntityId
 java.util.Enumeration findByStoreEntityIdAndEmailMessageId(java.lang.Integer argStoreEntityId, java.lang.Integer argEmailMessageId)
          Finds all instances using storeEntityId and emailMessageId
 java.util.Enumeration findByStoreEntityIdOrderByModifiedDate(java.lang.Integer argStoreEntityId)
          Finds all instances using storeEntityId order by ModifiedDate
 java.util.Enumeration findByStoreEntityIdOrderByStatus(java.lang.Integer argStoreEntityId)
          Finds all instances using storeEntityId order by status
 boolean fulfills(java.lang.Long member, java.lang.String relationship)
          fulfills
 java.lang.String getDescription()
          Get accessor for persistent attribute: description
 java.lang.String getEmailMessageId()
          Get accessor for persistent attribute: emailMessageId
 java.lang.Integer getEmailMessageIdInEJBType()
          getEmailMessageIdInEJBType
 java.lang.String getEmailPromotionId()
          Gets emailPromotionId
 java.lang.Integer getEmailPromotionIdInEJBType()
          getEmailPromotionIdInEJBType
 java.lang.String getJobReferenceNumber()
          Get accessor for persistent attribute: memberGroupId
 java.lang.Long getJobReferenceNumberInEJBType()
          getJobReferenceNumberInEJBType
 java.lang.String getModifiedBy()
          Get accessor for persistent attribute: modifiedBy
 java.lang.String getModifiedDate()
          Get accessor for persistent attribute: modifiedDate
 java.sql.Timestamp getModifiedDateInEJBType()
          getModifiedDateInEJBType
 java.lang.String getName()
          Get accessor for persistent attribute: name
 java.lang.Long getOwner()
          getOwner
 java.lang.String getStatus()
          Get accessor for persistent attribute: status
 java.lang.Integer getStatusInEJBType()
          getStatusInEJBType
 java.lang.String getStoreEntityId()
          Get accessor for persistent attribute: storeEntityId
 java.lang.Integer getStoreEntityIdInEJBType()
          getStoreEntityIdInEJBType
protected  void instantiateEJB()
          instantiateEJB
protected  boolean instantiateEJBByPrimaryKey()
          instantiateEJBByPrimaryKey
 void refreshCopyHelper()
          refreshCopyHelper
 void setDescription(java.lang.String newValue)
          Set accessor for persistent attribute: description
 void setEmailMessageId(java.lang.Integer newValue)
          Set accessor for persistent attribute: emailMessageId
 void setEmailMessageId(java.lang.String newValue)
          This method accesses a non-CMP field
 void setInitKey_emailPromotionId(java.lang.Integer newValue)
          setInitKey_emailPromotionId
 void setJobReferenceNumber(java.lang.Long newValue)
          Set accessor for persistent attribute: memberGroupId
 void setJobReferenceNumber(java.lang.String newValue)
          This method accesses a non-CMP field
 void setModifiedBy(java.lang.String newValue)
          Set accessor for persistent attribute: modifiedBy
 void setModifiedDate(java.lang.String newValue)
          This method accesses a non-CMP field
 void setModifiedDate(java.sql.Timestamp newValue)
          Set accessor for persistent attribute: modifiedDate
 void setName(java.lang.String newValue)
          Set accessor for persistent attribute: name
 void setStatus(java.lang.Integer newValue)
          Set accessor for persistent attribute: status
 void setStatus(java.lang.String newValue)
          This method accesses a non-CMP field
 void setStoreEntityId(java.lang.Integer newValue)
          Set accessor for persistent attribute: storeEntityId
 void setStoreEntityId(java.lang.String newValue)
          This method accesses a non-CMP field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailPromotionAccessBean

public EmailPromotionAccessBean()
constructor

EmailPromotionAccessBean

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

EmailPromotionAccessBean

public EmailPromotionAccessBean(java.lang.Integer argEmailPromotionId,
                                java.lang.Integer argEmailMessageId,
                                java.lang.Long argJobReferenceNumber,
                                java.lang.Integer argStoreEntityId,
                                java.lang.String argName)
                         throws javax.naming.NamingException,
                                javax.ejb.FinderException,
                                javax.ejb.CreateException,
                                java.rmi.RemoteException
EmailPromotionAccessBean

EmailPromotionAccessBean

public EmailPromotionAccessBean(java.lang.Integer argEmailMessageId,
                                java.lang.Long argJobReferenceNumber,
                                java.lang.Integer argStoreEntityId,
                                java.lang.String argName)
                         throws javax.naming.NamingException,
                                javax.ejb.FinderException,
                                javax.ejb.CreateException,
                                java.rmi.RemoteException
EmailPromotionAccessBean
Method Detail

getDescription

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

setDescription

public void setDescription(java.lang.String newValue)
Set accessor for persistent attribute: description

getEmailMessageId

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

setEmailMessageId

public void setEmailMessageId(java.lang.Integer newValue)
Set accessor for persistent attribute: emailMessageId

getEmailPromotionId

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

getJobReferenceNumber

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

setJobReferenceNumber

public void setJobReferenceNumber(java.lang.Long newValue)
Set accessor for persistent attribute: memberGroupId

getModifiedBy

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

setModifiedBy

public void setModifiedBy(java.lang.String newValue)
Set accessor for persistent attribute: modifiedBy

getModifiedDate

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

setModifiedDate

public void setModifiedDate(java.sql.Timestamp newValue)
Set accessor for persistent attribute: modifiedDate

getName

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

setName

public void setName(java.lang.String newValue)
Set accessor for persistent attribute: name

getStatus

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

setStatus

public void setStatus(java.lang.Integer newValue)
Set accessor for persistent attribute: status

getStoreEntityId

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

setStoreEntityId

public void setStoreEntityId(java.lang.Integer newValue)
Set accessor for persistent attribute: storeEntityId

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

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

findByStoreEntityIdOrderByModifiedDate

public java.util.Enumeration findByStoreEntityIdOrderByModifiedDate(java.lang.Integer argStoreEntityId)
                                                             throws javax.naming.NamingException,
                                                                    javax.ejb.FinderException,
                                                                    java.rmi.RemoteException
Finds all instances using storeEntityId order by ModifiedDate
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByEmailPromotionId

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

findByStoreEntityIdAndEmailMessageId

public java.util.Enumeration findByStoreEntityIdAndEmailMessageId(java.lang.Integer argStoreEntityId,
                                                                  java.lang.Integer argEmailMessageId)
                                                           throws javax.naming.NamingException,
                                                                  javax.ejb.FinderException,
                                                                  java.rmi.RemoteException
Finds all instances using storeEntityId and emailMessageId
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByStoreEntityId

public java.util.Enumeration findByStoreEntityId(java.lang.Integer argStoreEntityId)
                                          throws javax.naming.NamingException,
                                                 javax.ejb.FinderException,
                                                 java.rmi.RemoteException
Finds all instances using storeEntityId
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

findByEmailMessageId

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

findByStoreEntityIdOrderByStatus

public java.util.Enumeration findByStoreEntityIdOrderByStatus(java.lang.Integer argStoreEntityId)
                                                       throws javax.naming.NamingException,
                                                              javax.ejb.FinderException,
                                                              java.rmi.RemoteException
Finds all instances using storeEntityId order by status
javax.naming.NamingException
javax.ejb.FinderException
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

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

getEmailMessageIdInEJBType

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

setEmailMessageId

public void setEmailMessageId(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

getJobReferenceNumberInEJBType

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

setJobReferenceNumber

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

getModifiedDateInEJBType

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

setModifiedDate

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

getStatusInEJBType

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

setStatus

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

getStoreEntityIdInEJBType

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

setStoreEntityId

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

findByEmailPromotionIdForUpdate

public EmailPromotionAccessBean findByEmailPromotionIdForUpdate(java.lang.Integer emailPromotionId)
                                                         throws javax.naming.NamingException,
                                                                javax.ejb.FinderException,
                                                                java.rmi.RemoteException
Finds the instance using emailPromotionId for update
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException