java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.emarketing.commands.EmailConfigurationSaveTaskCmdImpl
The default implementation of
EmailConfigurationSaveTaskCmd
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
EmailConfigurationSaveTaskCmdImpl() |
Method Summary | |
---|---|
java.lang.String |
getAccount() Gets the account name used to connect to the e-mail server. |
java.lang.String |
getAddress() Gets the e-mail address of the account used on the e-mail server. |
java.lang.String |
getDescription() Gets the description of the e-mail configuration. |
java.lang.Integer |
getEmailConfigurationId() Gets the ID of the e-mail configuration. |
java.lang.String |
getEmailServer() Gets the host name of the e-mail server for this configuration. |
java.lang.String |
getHost() Gets the commerce host that will run the e-mail activities for the given store. |
java.lang.String |
getName() Gets the name of the e-mail configuration. |
java.lang.String |
getPassword() Gets the account password used to connect to the e-mail server. |
java.lang.Integer |
getPort() Gets the port through which connections will be made to the e-mail server. |
java.lang.Integer |
getStoreEntityId() get the ID of the store associated with the e-mail configuration. |
java.lang.Integer |
getTime() Gets the time of day (as number of minutes since 00:00) when communication with this server will be attempted to complete the jobs assigned. |
java.lang.Integer |
getType() Gets the type of e-mail server being configured. |
void |
setAccount(java.lang.String account) Sets the account to be used on the e-mail server that will be logged into for performing e-mail activity jobs. |
void |
setAddress(java.lang.String address) Sets the e-mail address of the account on the e-mail server. |
void |
setDescription(java.lang.String description) Sets 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) Sets the ID of the e-mail configuration This is only to be called if an update to an existing configuration is required. |
void |
setEmailServer(java.lang.String emailServer) Sets the hostname of the server to use for e-mail activities (either inbound or outbound). |
void |
setHost(java.lang.String host) Sets the commerce host used to perform e-mail activity jobs. |
void |
setName(java.lang.String name) Sets the name of the e-mail configuration. |
void |
setPassword(java.lang.String password) Sets the password to the account on the e-mail server. |
void |
setPort(java.lang.Integer port) Sets the port number through which to connect to the e-mail server. |
void |
setStoreEntityId(java.lang.Integer storeEntityId) Sets the ID of the store for the e-mail configuration. |
void |
setTime(java.lang.Integer time) Sets the time of a day when inbound/outbound e-mail activities will occur. |
void |
setType(java.lang.Integer type) Sets the type of the e-mail configuration. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
performExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public EmailConfigurationSaveTaskCmdImpl()
Method Detail |
---|
public void setEmailConfigurationId(java.lang.Integer emailConfigurationId)
setEmailConfigurationId
in interface
EmailConfigurationSaveTaskCmd
emailConfigurationId
- the ID of the e-mail
configuration.public java.lang.Integer getEmailConfigurationId()
getEmailConfigurationId
in interface
EmailConfigurationSaveTaskCmd
public void setName(java.lang.String name)
setName
in interface
EmailConfigurationSaveTaskCmd
name
- the name of the e-mail
configuration.public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.Integer getStoreEntityId()
public java.lang.Integer getType()
public java.lang.String getHost()
public java.lang.String getEmailServer()
public java.lang.Integer getPort()
public java.lang.String getAddress()
public java.lang.String getAccount()
public java.lang.String getPassword()
public java.lang.Integer getTime()
public void setDescription(java.lang.String description)
setDescription
in interface
EmailConfigurationSaveTaskCmd
description
- the description of the e-mail
Configuration.public void setStoreEntityId(java.lang.Integer storeEntityId)
setStoreEntityId
in interface
EmailConfigurationSaveTaskCmd
storeEntityId
- the ID of the store for the e-mail
configuration.public void setType(java.lang.Integer type)
setType
in interface
EmailConfigurationSaveTaskCmd
type
- the type of the e-mail configuration. Set to 0 for an
SMTP configuration; 1 for a POP3 configuration.public void setHost(java.lang.String host)
setHost
in interface
EmailConfigurationSaveTaskCmd
host
- the commerce host used to perform e-mail activity
jobs.public void setEmailServer(java.lang.String emailServer)
setEmailServer
in interface
EmailConfigurationSaveTaskCmd
emailServer
- the hostname of the e-mail
server.public void setAccount(java.lang.String account)
setAccount
in interface
EmailConfigurationSaveTaskCmd
account
- the account.public void setPort(java.lang.Integer port)
setPort
in interface
EmailConfigurationSaveTaskCmd
port
- the port.public void setPassword(java.lang.String password)
setPassword
in interface
EmailConfigurationSaveTaskCmd
public void setTime(java.lang.Integer time)
setTime
in interface
EmailConfigurationSaveTaskCmd
time
- the time of day represented as the number of minutes
since 00:00.public void setAddress(java.lang.String address)
setAddress
in interface
EmailConfigurationSaveTaskCmd
address
- the e-mail address.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)
setEmailConfigurationAttributes
in interface
EmailConfigurationSaveTaskCmd
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.