public class EmailConfigurationSaveTaskCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements EmailConfigurationSaveTaskCmd
EmailConfigurationSaveTaskCmd
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Constructor and Description |
---|
EmailConfigurationSaveTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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 or outbound e-mail activities will occur.
|
void |
setType(java.lang.Integer type)
Sets the type of the e-mail configuration.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public java.lang.String getAccount()
public java.lang.String getAddress()
public java.lang.String getDescription()
public java.lang.Integer getEmailConfigurationId()
getEmailConfigurationId
in interface EmailConfigurationSaveTaskCmd
public java.lang.String getEmailServer()
public java.lang.String getHost()
public java.lang.String getName()
public java.lang.String getPassword()
public java.lang.Integer getPort()
public java.lang.Integer getStoreEntityId()
public java.lang.Integer getTime()
public java.lang.Integer getType()
public void setAccount(java.lang.String account)
setAccount
in interface EmailConfigurationSaveTaskCmd
account
- The account.public void setAddress(java.lang.String address)
setAddress
in interface EmailConfigurationSaveTaskCmd
address
- The e-mail address.public void setDescription(java.lang.String description)
setDescription
in interface EmailConfigurationSaveTaskCmd
description
- The description of the e-mail Configuration.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.public void setEmailConfigurationId(java.lang.Integer emailConfigurationId)
setEmailConfigurationId
in interface EmailConfigurationSaveTaskCmd
emailConfigurationId
- The ID of the e-mail configuration.public void setEmailServer(java.lang.String emailServer)
setEmailServer
in interface EmailConfigurationSaveTaskCmd
emailServer
- The hostname of the e-mail server.public void setHost(java.lang.String host)
setHost
in interface EmailConfigurationSaveTaskCmd
host
- The commerce host used to perform e-mail activity jobs.public void setName(java.lang.String name)
setName
in interface EmailConfigurationSaveTaskCmd
name
- The name of the e-mail configuration.public void setPassword(java.lang.String password)
setPassword
in interface EmailConfigurationSaveTaskCmd
String
- password.public void setPort(java.lang.Integer port)
setPort
in interface EmailConfigurationSaveTaskCmd
port
- The port.public void setStoreEntityId(java.lang.Integer storeEntityId)
setStoreEntityId
in interface EmailConfigurationSaveTaskCmd
storeEntityId
- The ID of the store for the e-mail configuration.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 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.