com.ibm.commerce.emarketing.objects
Class EmailPromotionMemberGroupRelationAccessBean

java.lang.Object
  AbstractEntityAccessBean
      com.ibm.commerce.emarketing.objects.EmailPromotionMemberGroupRelationAccessBean

public class EmailPromotionMemberGroupRelationAccessBean
extends AbstractEntityAccessBean

This table stores the relationship between an e-mail activity and its target customer segment. This access bean corresponds to the database table 'EMLGRPREL'. EmailPromotionMemberGroupRelationAccessBean

See Also:
Serialized Form

Constructor Summary
EmailPromotionMemberGroupRelationAccessBean()
constructor
EmailPromotionMemberGroupRelationAccessBean(java.lang.Integer argEmailPromotionId, java.lang.Long argMemberGroupId)
ejbCreate method for a CMP entity bean.
EmailPromotionMemberGroupRelationAccessBean(javax.ejb.EJBObject o)
EmailPromotionMemberGroupRelationAccessBean
Method Summary
void commitCopyHelper()
commitCopyHelper
java.lang.String defaultJNDIName()
defaultJNDIName
EmailPromotionMemberGroupRelationAccessBean findByEmailPromotionId(java.lang.Integer argEmailPromotionId)
Finds an instance using emailPromotionId
java.util.Enumeration findByMemberGroupId(java.lang.Long argMemberGroupId)
Finds all instances using memberGroupId
boolean fulfills(java.lang.Long member, java.lang.String relationship)
fulfills
java.lang.String getEmailPromotionId()
Get the primary key the emailPromotionId
java.lang.Integer getEmailPromotionIdInEJBType()
getEmailPromotionIdInEJBType
java.lang.String getMemberGroupId()
Get accessor for persistent attribute: memberGroupId
java.lang.Long getMemberGroupIdInEJBType()
getMemberGroupIdInEJBType
java.lang.Long getOwner()
getOwner
protected void instantiateEJB()
instantiateEJB
protected boolean instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
void refreshCopyHelper()
refreshCopyHelper
void setInitKey_emailPromotionId(java.lang.Integer newValue)
setInitKey_emailPromotionId
void setMemberGroupId(java.lang.Long newMemberGroupId)
Set accessor for persistent attribute: memberGroupId
void setMemberGroupId(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

EmailPromotionMemberGroupRelationAccessBean

public EmailPromotionMemberGroupRelationAccessBean()
constructor

EmailPromotionMemberGroupRelationAccessBean

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

EmailPromotionMemberGroupRelationAccessBean

public EmailPromotionMemberGroupRelationAccessBean(java.lang.Integer argEmailPromotionId,
                                                   java.lang.Long argMemberGroupId)
                                            throws javax.naming.NamingException,
                                                   javax.ejb.CreateException,
                                                   java.rmi.RemoteException
ejbCreate method for a CMP entity bean.
Method Detail

getEmailPromotionId

public java.lang.String getEmailPromotionId()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException
Get the primary key the emailPromotionId
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberGroupId

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

setMemberGroupId

public void setMemberGroupId(java.lang.Long newMemberGroupId)
Set accessor for persistent attribute: memberGroupId

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:
Throws:
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:
Throws:
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:
Throws:
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:
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

findByMemberGroupId

public java.util.Enumeration findByMemberGroupId(java.lang.Long argMemberGroupId)
                                          throws javax.naming.NamingException,
                                                 javax.ejb.FinderException,
                                                 java.rmi.RemoteException
Finds all instances using memberGroupId
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByEmailPromotionId

public EmailPromotionMemberGroupRelationAccessBean findByEmailPromotionId(java.lang.Integer argEmailPromotionId)
                                                                   throws javax.naming.NamingException,
                                                                          javax.ejb.FinderException,
                                                                          java.rmi.RemoteException
Finds an instance using emailPromotionId
Throws:
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:
Throws:
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:
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.lang.Exception
java.rmi.RemoteException

getEmailPromotionIdInEJBType

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

getMemberGroupIdInEJBType

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

setMemberGroupId

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

Feedback