Package com.logicaldoc.email
Class EmailAccount
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.email.EmailAccount
-
- All Implemented Interfaces:
Serializable
public class EmailAccount extends com.logicaldoc.core.PersistentObject
E-Mail account- Since:
- 4.0
- Author:
- Michael Scholz, Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
FOLDERING_DAY
static int
FOLDERING_MONTH
static int
FOLDERING_NONE
static int
FOLDERING_YEAR
static int
FORMAT_EML
static int
FORMAT_MULTIPLE
static String
PROVIDER_IMAP
static String
PROVIDER_POP3
-
Constructor Summary
Constructors Constructor Description EmailAccount()
Creates a new instance of EmailAccount
-
Method Summary
-
-
-
Field Detail
-
PROVIDER_POP3
public static String PROVIDER_POP3
-
PROVIDER_IMAP
public static String PROVIDER_IMAP
-
FORMAT_MULTIPLE
public static int FORMAT_MULTIPLE
-
FORMAT_EML
public static int FORMAT_EML
-
FOLDERING_NONE
public static int FOLDERING_NONE
-
FOLDERING_YEAR
public static int FOLDERING_YEAR
-
FOLDERING_MONTH
public static int FOLDERING_MONTH
-
FOLDERING_DAY
public static int FOLDERING_DAY
-
-
Method Detail
-
getDeleteFromMailbox
public int getDeleteFromMailbox()
-
setDeleteFromMailbox
public void setDeleteFromMailbox(int deleteFromMailbox)
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
getMailAddress
public String getMailAddress()
-
getProvider
public String getProvider()
-
getHost
public String getHost()
-
getPort
public int getPort()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
setMailAddress
public void setMailAddress(String address)
-
setProvider
public void setProvider(String prov)
-
setHost
public void setHost(String hst)
-
setPort
public void setPort(int port)
-
setUsername
public void setUsername(String user)
-
setPassword
public void setPassword(String password)
-
getEnabled
public int getEnabled()
-
setEnabled
public void setEnabled(int enabled)
-
getSslModel
public int getSslModel()
-
setSslModel
public void setSslModel(int sslModel)
-
getTargetFolder
public Long getTargetFolder()
-
setTargetFolder
public void setTargetFolder(Long targetFolder)
-
isAllowed
public boolean isAllowed(String filename)
Check if the specified filename is allowed or not.- Parameters:
filename
- The file name to check- Returns:
- True if
filename
is included inincludes
-
reset
public void reset()
-
setCleanPassword
public void setCleanPassword(String cleanPassword)
-
getDecryptedPassword
public String getDecryptedPassword()
-
toString
public String toString()
- Overrides:
toString
in classcom.logicaldoc.core.PersistentObject
-
getLocale
public Locale getLocale()
-
setLocale
public void setLocale(Locale locale)
-
getMailFolder
public String getMailFolder()
-
setMailFolder
public void setMailFolder(String mailFolder)
-
getIncludes
public String getIncludes()
-
setIncludes
public void setIncludes(String includes)
-
getExcludes
public String getExcludes()
-
setExcludes
public void setExcludes(String excludes)
-
getFormat
public int getFormat()
-
setFormat
public void setFormat(int format)
-
getFoldering
public int getFoldering()
-
setFoldering
public void setFoldering(int foldering)
-
getStartDate
public Date getStartDate()
-
setStartDate
public void setStartDate(Date startDate)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getAutomation
public String getAutomation()
-
setAutomation
public void setAutomation(String automation)
-
getAutomationAfter
public String getAutomationAfter()
-
setAutomationAfter
public void setAutomationAfter(String automationAfter)
-
-