com.ibm.commerce.emarketing.objects
Class EmailConfigurationAccessBean

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

public class EmailConfigurationAccessBean
extends AbstractEntityAccessBean

This table stores the configuration of e-mail activity accounts. Each store can have one inbound (POP3) and one outbound (SMTP) server configured. EmailConfigurationAccessBean

See Also:
Serialized Form

Constructor Summary
EmailConfigurationAccessBean()
          constructor
EmailConfigurationAccessBean(java.lang.Integer argEmailConfigurationId, java.lang.String argAccount, java.lang.String argEmailServer, java.lang.String argHost, java.lang.String argName, java.lang.Integer argPort, java.lang.Integer argStoreEntityId, java.lang.Integer argTime, java.lang.Integer argType)
          EmailConfigurationAccessBean
EmailConfigurationAccessBean(javax.ejb.EJBObject o)
          EmailConfigurationAccessBean
EmailConfigurationAccessBean(java.lang.String argAccount, java.lang.String argEmailServer, java.lang.String argHost, java.lang.String argName, java.lang.Integer argPort, java.lang.Integer argStoreEntityId, java.lang.Integer argTime, java.lang.Integer argType)
          EmailConfigurationAccessBean
 
Method Summary
 void commitCopyHelper()
          commitCopyHelper
 java.lang.String defaultJNDIName()
          defaultJNDIName
 java.util.Enumeration findAll()
          Finds all instances
  EmailConfigurationAccessBean findByEmailConfigurationId(java.lang.Integer argEmailConfigurationId)
          Finds an instance using emailConfigurationId
 java.util.Enumeration findByStoreEntityId(java.lang.Integer storeEntityId)
          Finds all instances by storeEntityId
  EmailConfigurationAccessBean findByStoreEntityIdAndType(java.lang.Integer storeEntityId, java.lang.Integer type)
          Finds instance by storeEntityId and type
 boolean fulfills(java.lang.Long member, java.lang.String relationship)
          fulfills
 java.lang.String getAccount()
          Get accessor for persistent attribute: account
 java.lang.String getAddress()
          Get accessor for persistent attribute: address
 java.lang.String getDescription()
          Get accessor for persistent attribute: description
 java.lang.String getEmailConfigurationId()
          Gets emailConfigurationId
 java.lang.Integer getEmailConfigurationIdInEJBType()
          getEmailConfigurationIdInEJBType
 java.lang.String getEmailServer()
          Get accessor for persistent attribute: emailServer
 java.lang.String getHost()
          Get accessor for persistent attribute: host
 java.lang.String getName()
          Get accessor for persistent attribute: name
 java.lang.Long getOwner()
          getOwner
 byte[] getPassword()
          Get accessor for persistent attribute: password
 java.lang.String getPort()
          Get accessor for persistent attribute: port
 java.lang.Integer getPortInEJBType()
          getPortInEJBType
 java.lang.String getStoreEntityId()
          Get accessor for persistent attribute: storeEntityId
 java.lang.Integer getStoreEntityIdInEJBType()
          getStoreEntityIdInEJBType
 java.lang.String getTime()
          Get accessor for persistent attribute: time
 java.lang.Integer getTimeInEJBType()
          getTimeInEJBType
 java.lang.String getType()
          Get accessor for persistent attribute: type
 java.lang.Integer getTypeInEJBType()
          getTypeInEJBType
protected  void instantiateEJB()
          instantiateEJB
protected  boolean instantiateEJBByPrimaryKey()
          instantiateEJBByPrimaryKey
 void refreshCopyHelper()
          refreshCopyHelper
 void setAccount(java.lang.String newValue)
          Set accessor for persistent attribute: account
 void setAddress(java.lang.String newValue)
          Set accessor for persistent attribute: address
 void setDescription(java.lang.String newValue)
          Set accessor for persistent attribute: description
 void setEmailServer(java.lang.String newValue)
          Set accessor for persistent attribute: emailServer
 void setHost(java.lang.String newValue)
          Set accessor for persistent attribute: host
 void setInitKey_emailConfigurationId(java.lang.Integer newValue)
          setInitKey_emailConfigurationId
 void setName(java.lang.String newValue)
          Set accessor for persistent attribute: name
 void setPassword(byte[] newValue)
          Set accessor for persistent attribute: password
 void setPort(java.lang.Integer newValue)
          Set accessor for persistent attribute: port
 void setPort(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
 void setTime(java.lang.Integer newValue)
          Set accessor for persistent attribute: time
 void setTime(java.lang.String newValue)
          This method accesses a non-CMP field
 void setType(java.lang.Integer newValue)
          Set accessor for persistent attribute: type
 void setType(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

EmailConfigurationAccessBean

public EmailConfigurationAccessBean()
constructor

EmailConfigurationAccessBean

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

EmailConfigurationAccessBean

public EmailConfigurationAccessBean(java.lang.String argAccount,
                                    java.lang.String argEmailServer,
                                    java.lang.String argHost,
                                    java.lang.String argName,
                                    java.lang.Integer argPort,
                                    java.lang.Integer argStoreEntityId,
                                    java.lang.Integer argTime,
                                    java.lang.Integer argType)
                             throws javax.naming.NamingException,
                                    javax.ejb.FinderException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException
EmailConfigurationAccessBean

EmailConfigurationAccessBean

public EmailConfigurationAccessBean(java.lang.Integer argEmailConfigurationId,
                                    java.lang.String argAccount,
                                    java.lang.String argEmailServer,
                                    java.lang.String argHost,
                                    java.lang.String argName,
                                    java.lang.Integer argPort,
                                    java.lang.Integer argStoreEntityId,
                                    java.lang.Integer argTime,
                                    java.lang.Integer argType)
                             throws javax.naming.NamingException,
                                    javax.ejb.FinderException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException
EmailConfigurationAccessBean
Method Detail

getAccount

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

setAccount

public void setAccount(java.lang.String newValue)
Set accessor for persistent attribute: account

getAddress

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

setAddress

public void setAddress(java.lang.String newValue)
Set accessor for persistent attribute: address

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

getEmailConfigurationId

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

getEmailServer

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

setEmailServer

public void setEmailServer(java.lang.String newValue)
Set accessor for persistent attribute: emailServer

getHost

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

setHost

public void setHost(java.lang.String newValue)
Set accessor for persistent attribute: host

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

getPassword

public byte[] getPassword()
                   throws java.rmi.RemoteException,
                          javax.ejb.CreateException,
                          javax.ejb.FinderException,
                          javax.naming.NamingException
Get accessor for persistent attribute: password
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPassword

public void setPassword(byte[] newValue)
Set accessor for persistent attribute: password

getPort

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

setPort

public void setPort(java.lang.Integer newValue)
Set accessor for persistent attribute: port

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

getTime

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

setTime

public void setTime(java.lang.Integer newValue)
Set accessor for persistent attribute: time

getType

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

setType

public void setType(java.lang.Integer newValue)
Set accessor for persistent attribute: type

setInitKey_emailConfigurationId

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

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

findByEmailConfigurationId

public EmailConfigurationAccessBean findByEmailConfigurationId(java.lang.Integer argEmailConfigurationId)
                                                        throws javax.naming.NamingException,
                                                               javax.ejb.FinderException,
                                                               java.rmi.RemoteException
Finds an instance using emailConfigurationId
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByStoreEntityId

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

findByStoreEntityIdAndType

public EmailConfigurationAccessBean findByStoreEntityIdAndType(java.lang.Integer storeEntityId,
                                                               java.lang.Integer type)
                                                        throws javax.naming.NamingException,
                                                               javax.ejb.FinderException,
                                                               java.rmi.RemoteException
Finds instance by storeEntityId and type
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

getEmailConfigurationIdInEJBType

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

getPortInEJBType

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

setPort

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

getTimeInEJBType

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

setTime

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

getTypeInEJBType

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

setType

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