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 Details

  • Constructor Details

    • EmailAccount

      public EmailAccount()
      Creates a new instance of EmailAccount
  • Method Details

    • 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 in includes
    • reset

      public void reset()
    • setCleanPassword

      public void setCleanPassword(String cleanPassword)
    • getDecryptedPassword

      public String getDecryptedPassword()
    • setCleanClientSecret

      public void setCleanClientSecret(String cleanClientSecret)
    • getDecryptedClientSecret

      public String getDecryptedClientSecret()
    • toString

      public String toString()
      Overrides:
      toString in class com.logicaldoc.core.PersistentObject
    • getLocale

      public Locale getLocale()
    • setLocale

      public void setLocale(Locale locale)
    • getRules

      public List<EmailRule> getRules()
    • setRules

      public void setRules(List<EmailRule> rules)
    • 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)
    • getClientSecret

      public String getClientSecret()
    • getClientId

      public String getClientId()
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • setClientId

      public void setClientId(String clientId)
    • getClientTenant

      public String getClientTenant()
    • setClientTenant

      public void setClientTenant(String clientTenant)
    • getAutomationEnd

      public String getAutomationEnd()
    • setAutomationEnd

      public void setAutomationEnd(String automationEnd)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.logicaldoc.core.PersistentObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class com.logicaldoc.core.PersistentObject