pt.digitalis.dif.utils.mail
Interface IMailConfiguration

All Known Implementing Classes:
MailConfiguration

public interface IMailConfiguration

Author:
Galaio da Silva jgalaio@digitalis.pt
Created on:
May 24, 2012

Method Summary
 pt.digitalis.utils.config.IConfigurations getConfigurations()
          Gets the configurations.
 String getDebugEnabled()
          Inspector for the 'debugEnabled' attribute.
 String getDefaultFromAddress()
          Inspector for the 'defaultFromAddress' attribute.
 String getEncoding()
          Get the encoding
 int getGapBetweenMails()
          Inspector for the 'GapBetweenMails' attribute.
 int getLimitMaxEmails()
          Inspector for the 'LimitMaxEmails' attribute.
 int getLimitTimeInterval()
          Inspector for the 'LimitTimeInterval' attribute.
 String getMailServer()
          Inspector for the 'mailServer' attribute.
 String getMailServerPassword()
          Inspector for the 'mailServerPassword' attribute.
 int getMailServerPort()
          Inspector for the 'mailServerPort' attribute.
 String getMailServerUsername()
          Inspector for the 'mailServerUsername' attribute.
 Properties getOriginalConfs()
          Inspector for the 'originalConfs' attribute.
 Boolean getUseSSL()
          Inspector for the 'useSSL' attribute.
 void setConfigurations(pt.digitalis.utils.config.IConfigurations configurations)
          Modifier for the 'configurations' attribute.
 void setDebugEnabled(String debugEnabled)
          Modifier for the 'debugEnabled' attribute.
 void setDefaultFromAddress(String defaultFromAddress)
          Modifier for the 'defaultFromAddress' attribute.
 void setEncoding(String encoding)
          Set the encoding
 void setGapBetweenMails(int gapBetweenMails)
          Modifier for the 'GapBetweenMails' attribute.
 void setLimitMaxEmails(int limitMaxEmails)
          Modifier for the 'LimitMaxEmails' attribute.
 void setLimitTimeInterval(int limitTimeInterval)
          Modifier for the 'LimitTimeInterval' attribute.
 void setMailServer(String mailServer)
          Modifier for the 'mailServer' attribute.
 void setMailServerPassword(String mailServerPassword)
          Modifier for the 'mailServerPassword' attribute.
 void setMailServerPort(int mailServerPort)
          Modifier for the 'mailServerPort' attribute.
 void setMailServerUsername(String mailServerUsername)
          Modifier for the 'mailServerUsername' attribute.
 void setOriginalConfs(Properties originalConfs)
          Modifier for the 'originalConfs' attribute.
 void setUseSSL(Boolean useSSL)
          Modifier for the 'useSSL' attribute.
 void writeConfiguration()
          Write configuration
 

Method Detail

getConfigurations

pt.digitalis.utils.config.IConfigurations getConfigurations()
Gets the configurations.

Returns:
the configurations

getDebugEnabled

String getDebugEnabled()
Inspector for the 'debugEnabled' attribute.

Returns:
the debugEnabled value

getDefaultFromAddress

String getDefaultFromAddress()
Inspector for the 'defaultFromAddress' attribute.

Returns:
the defaultFromAddress value

getEncoding

String getEncoding()
Get the encoding

Returns:
encoding

getGapBetweenMails

int getGapBetweenMails()
Inspector for the 'GapBetweenMails' attribute.

Returns:
the gapBetweenMails value

getLimitMaxEmails

int getLimitMaxEmails()
Inspector for the 'LimitMaxEmails' attribute.

Returns:
the limitMaxEmails value

getLimitTimeInterval

int getLimitTimeInterval()
Inspector for the 'LimitTimeInterval' attribute.

Returns:
the limitTimeInterval value

getMailServer

String getMailServer()
Inspector for the 'mailServer' attribute.

Returns:
the mailServer value

getMailServerPassword

String getMailServerPassword()
Inspector for the 'mailServerPassword' attribute.

Returns:
the mailServerPassword value

getMailServerPort

int getMailServerPort()
Inspector for the 'mailServerPort' attribute.

Returns:
the mailServerPort value

getMailServerUsername

String getMailServerUsername()
Inspector for the 'mailServerUsername' attribute.

Returns:
the mailServerUsername value

getOriginalConfs

Properties getOriginalConfs()
Inspector for the 'originalConfs' attribute.

Returns:
the originalConfs value

getUseSSL

Boolean getUseSSL()
Inspector for the 'useSSL' attribute.

Returns:
the useSSL value

setConfigurations

void setConfigurations(pt.digitalis.utils.config.IConfigurations configurations)
Modifier for the 'configurations' attribute.

Parameters:
configurations - the new configurations value to set

setDebugEnabled

void setDebugEnabled(String debugEnabled)
Modifier for the 'debugEnabled' attribute.

Parameters:
debugEnabled - the new debugEnabled value to set

setDefaultFromAddress

void setDefaultFromAddress(String defaultFromAddress)
Modifier for the 'defaultFromAddress' attribute.

Parameters:
defaultFromAddress - the new defaultFromAddress value to set

setEncoding

void setEncoding(String encoding)
Set the encoding

Parameters:
encoding - the encoding

setGapBetweenMails

void setGapBetweenMails(int gapBetweenMails)
Modifier for the 'GapBetweenMails' attribute.

Parameters:
gapBetweenMails - the new gapBetweenMails value to set

setLimitMaxEmails

void setLimitMaxEmails(int limitMaxEmails)
Modifier for the 'LimitMaxEmails' attribute.

Parameters:
limitMaxEmails - the new limitMaxEmails value to set

setLimitTimeInterval

void setLimitTimeInterval(int limitTimeInterval)
Modifier for the 'LimitTimeInterval' attribute.

Parameters:
limitTimeInterval - the new limitTimeInterval value to set

setMailServer

void setMailServer(String mailServer)
Modifier for the 'mailServer' attribute.

Parameters:
mailServer - the new mailServer value to set

setMailServerPassword

void setMailServerPassword(String mailServerPassword)
Modifier for the 'mailServerPassword' attribute.

Parameters:
mailServerPassword - the new mailServerPassword value to set

setMailServerPort

void setMailServerPort(int mailServerPort)
Modifier for the 'mailServerPort' attribute.

Parameters:
mailServerPort - the new mailServerPort value to set

setMailServerUsername

void setMailServerUsername(String mailServerUsername)
Modifier for the 'mailServerUsername' attribute.

Parameters:
mailServerUsername - the new mailServerUsername value to set

setOriginalConfs

void setOriginalConfs(Properties originalConfs)
Modifier for the 'originalConfs' attribute.

Parameters:
originalConfs - the new originalConfs value to set

setUseSSL

void setUseSSL(Boolean useSSL)
Modifier for the 'useSSL' attribute.

Parameters:
useSSL - the new useSSL value to set

writeConfiguration

void writeConfiguration()
                        throws Exception
Write configuration

Throws:
Exception - if an Exception occurrs


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.