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 final int
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final 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
setCleanClientSecret
(String cleanClientSecret) void
setCleanPassword
(String cleanPassword) void
setClientId
(String clientId) void
setClientSecret
(String clientSecret) void
setClientTenant
(String clientTenant) 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, getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, hashCode, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Field Details
-
PROVIDER_POP3
- See Also:
-
PROVIDER_IMAP
- See Also:
-
PROVIDER_IMAP_MICROSOFT365
- See Also:
-
FORMAT_MULTIPLE
public static final int FORMAT_MULTIPLE- See Also:
-
FORMAT_EML
public static final int FORMAT_EML- See Also:
-
FOLDERING_NONE
public static final int FOLDERING_NONE- See Also:
-
FOLDERING_YEAR
public static final int FOLDERING_YEAR- See Also:
-
FOLDERING_MONTH
public static final int FOLDERING_MONTH- See Also:
-
FOLDERING_DAY
public static final int FOLDERING_DAY- See Also:
-
-
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
-
setCleanClientSecret
-
getDecryptedClientSecret
-
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
-
getClientSecret
-
getClientId
-
setClientSecret
-
setClientId
-
getClientTenant
-
setClientTenant
-