com.ibm.commerce.emarketing.commands
Interface EmailConfigurationSaveTaskCmd

All Superinterfaces:
TaskCommand
All Known Subinterfaces:
EmailConfigurationCreateTaskCmd, EmailConfigurationUpdateTaskCmd
All Known Implementing Classes:
EmailConfigurationCreateTaskCmdImpl, EmailConfigurationSaveTaskCmdImpl, EmailConfigurationUpdateTaskCmdImpl

public interface EmailConfigurationSaveTaskCmd
extends TaskCommand

The interface for any TaskCommand that is to be used to save e-mail activity server configuration data.


Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Method Summary
 java.lang.Integer getEmailConfigurationId()
          Get the Id of the e-mail configuration
 void setAccount(java.lang.String account)
          set the account of the e-mail configuration
 void setAddress(java.lang.String address)
          Set the address of the e-mail configuration
 void setDescription(java.lang.String description)
          set the description of the e-mail Configuration
 void setEmailConfigurationAttributes(java.lang.String name, java.lang.String description, java.lang.Integer storeEntityId, java.lang.Integer type, java.lang.String host, java.lang.String emailServer, java.lang.String account, java.lang.Integer port, java.lang.String password, java.lang.Integer time)
          This method sets all the attributes needed to configure an e-mail server EXCEPT the primary key emailConfigurationId.
 void setEmailConfigurationId(java.lang.Integer emailConfigurationId)
          Set the Id of the e-mail configuration
 void setEmailServer(java.lang.String emailServer)
          set the e-mail server of the e-mail configuration
 void setHost(java.lang.String host)
          set the commerce host of the e-mail configuration
 void setName(java.lang.String name)
          set the name of the e-mail configuration
 void setPassword(java.lang.String password)
          set the password for the account of the e-mail configuration
 void setPort(java.lang.Integer port)
          set the port number of the e-mail configuration
 void setStoreEntityId(java.lang.Integer storeEntityId)
          set the storeEntityId of the e-mail configuration
 void setTime(java.lang.Integer time)
          set the time of a day for the e-mail configuration
 void setType(java.lang.Integer type)           set the type of the e-mail configuration
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Method Detail

setEmailConfigurationId

public void setEmailConfigurationId(java.lang.Integer emailConfigurationId)
Set the Id of the e-mail configuration

getEmailConfigurationId

public java.lang.Integer getEmailConfigurationId()
Get the Id of the e-mail configuration

setName

public void setName(java.lang.String name)
set the name of the e-mail configuration

setDescription

public void setDescription(java.lang.String description)
set the description of the e-mail Configuration

setStoreEntityId

public void setStoreEntityId(java.lang.Integer storeEntityId)
set the storeEntityId of the e-mail configuration

setType

public void setType(java.lang.Integer type)
set the type of the e-mail configuration

setHost

public void setHost(java.lang.String host)
set the commerce host of the e-mail configuration

setEmailServer

public void setEmailServer(java.lang.String emailServer)
set the e-mail server of the e-mail configuration

setAccount

public void setAccount(java.lang.String account)
set the account of the e-mail configuration

setPort

public void setPort(java.lang.Integer port)
set the port number of the e-mail configuration

setPassword

public void setPassword(java.lang.String password)
set the password for the account of the e-mail configuration

setTime

public void setTime(java.lang.Integer time)
set the time of a day for the e-mail configuration

setAddress

public void setAddress(java.lang.String address)
Set the address of the e-mail configuration

setEmailConfigurationAttributes

public void setEmailConfigurationAttributes(java.lang.String name,
                                            java.lang.String description,
                                            java.lang.Integer storeEntityId,
                                            java.lang.Integer type,
                                            java.lang.String host,
                                            java.lang.String emailServer,
                                            java.lang.String account,
                                            java.lang.Integer port,
                                            java.lang.String password,
                                            java.lang.Integer time)
This method sets all the attributes needed to configure an e-mail server EXCEPT the primary key emailConfigurationId.
Parameters:
name - The name assigned to this e-mail configuration.
description - The description assigned to this e-mail configuration.
storeEntityId - The storeEntityId.
type - The type of e-mail server for which this configuration is made.
host - The commerce host that will handle this e-mail configuration's processes.
emailServer - The host name of the e-mail server to use.
account - The user account name to use on the e-mail server.
port - The port under which to connect to the e-mail server.
password - The user account password to use to connect to the server.
time - The number of minutes from 00:00 to start processing e-mail.