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:
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
static int
static int
static int
static int
static int
static String
static String
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
getHost()
int
getPort()
getRules()
int
getType()
boolean
Check if the specified filename is allowed or not.void
reset()
void
setAutomation
(String automation) void
setAutomationAfter
(String automationAfter) void
setCleanPassword
(String cleanPassword) void
setDeleteFromMailbox
(int deleteFromMailbox) void
setEnabled
(int enabled) void
setExcludes
(String excludes) void
setFoldering
(int foldering) void
setFormat
(int format) void
void
setIncludes
(String includes) void
setLanguage
(String language) void
void
setMailAddress
(String address) void
setMailFolder
(String mailFolder) void
setPassword
(String password) void
setPort
(int port) void
setProvider
(String prov) void
void
setSslModel
(int sslModel) void
setStartDate
(Date startDate) void
setTargetFolder
(Long targetFolder) void
void
setUsername
(String user) toString()
Methods inherited from class com.logicaldoc.core.PersistentObject
equals, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Field Details
-
PROVIDER_POP3
-
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
-
-
Constructor Details
-
EmailAccount
public EmailAccount()Creates a new instance of EmailAccount
-
-
Method Details
-
getDeleteFromMailbox
public int getDeleteFromMailbox() -
setDeleteFromMailbox
public void setDeleteFromMailbox(int deleteFromMailbox) -
getLanguage
-
setLanguage
-
getMailAddress
-
getProvider
-
getHost
-
getPort
public int getPort() -
getUsername
-
getPassword
-
setMailAddress
-
setProvider
-
setHost
-
setPort
public void setPort(int port) -
setUsername
-
setPassword
-
getEnabled
public int getEnabled() -
setEnabled
public void setEnabled(int enabled) -
getSslModel
public int getSslModel() -
setSslModel
public void setSslModel(int sslModel) -
getTargetFolder
-
setTargetFolder
-
isAllowed
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
-
getDecryptedPassword
-
toString
- Overrides:
toString
in classcom.logicaldoc.core.PersistentObject
-
getLocale
-
setLocale
-
getRules
-
setRules
-
getMailFolder
-
setMailFolder
-
getIncludes
-
setIncludes
-
getExcludes
-
setExcludes
-
getFormat
public int getFormat() -
setFormat
public void setFormat(int format) -
getFoldering
public int getFoldering() -
setFoldering
public void setFoldering(int foldering) -
getStartDate
-
setStartDate
-
getType
-
setType
-
getAutomation
-
setAutomation
-
getAutomationAfter
-
setAutomationAfter
-