Class MailIntegrationServiceImpl

java.lang.Object
org.exoplatform.mailintegration.service.MailIntegrationServiceImpl
All Implemented Interfaces:
org.exoplatform.mailintegration.service.MailIntegrationService

public class MailIntegrationServiceImpl extends Object implements org.exoplatform.mailintegration.service.MailIntegrationService
  • Field Details

  • Constructor Details

    • MailIntegrationServiceImpl

      public MailIntegrationServiceImpl(MailIntegrationStorage mailIntegrationStorage, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.user.UserStateService userStateService)
  • Method Details

    • createMailIntegrationSetting

      public org.exoplatform.mailintegration.model.MailIntegrationSetting createMailIntegrationSetting(org.exoplatform.mailintegration.model.MailIntegrationSetting mailIntegrationSetting)
      Specified by:
      createMailIntegrationSetting in interface org.exoplatform.mailintegration.service.MailIntegrationService
    • getMailIntegrationSettingsByUserId

      public List<org.exoplatform.mailintegration.model.MailIntegrationSetting> getMailIntegrationSettingsByUserId(long userIdentityId)
      Specified by:
      getMailIntegrationSettingsByUserId in interface org.exoplatform.mailintegration.service.MailIntegrationService
    • getMailIntegrationSetting

      public org.exoplatform.mailintegration.model.MailIntegrationSetting getMailIntegrationSetting(long mailIntegrationSettingId)
      Specified by:
      getMailIntegrationSetting in interface org.exoplatform.mailintegration.service.MailIntegrationService
    • deleteMailIntegrationSetting

      public void deleteMailIntegrationSetting(long mailIntegrationSettingId, long currentUserIdentityId) throws IllegalAccessException
      Specified by:
      deleteMailIntegrationSetting in interface org.exoplatform.mailintegration.service.MailIntegrationService
      Throws:
      IllegalAccessException
    • connect

      public javax.mail.Store connect(org.exoplatform.mailintegration.model.MailIntegrationSetting mailIntegrationSetting)
      Specified by:
      connect in interface org.exoplatform.mailintegration.service.MailIntegrationService
    • sendMailIntegrationNotifications

      public void sendMailIntegrationNotifications()
      Specified by:
      sendMailIntegrationNotifications in interface org.exoplatform.mailintegration.service.MailIntegrationService
    • getMessageById

      public org.exoplatform.mailintegration.rest.model.MessageRestEntity getMessageById(long mailIntegrationSettingId, String messageId, long currentUserIdentityId) throws IllegalAccessException
      Specified by:
      getMessageById in interface org.exoplatform.mailintegration.service.MailIntegrationService
      Throws:
      IllegalAccessException
    • updateMailIntegrationSetting

      public org.exoplatform.mailintegration.model.MailIntegrationSetting updateMailIntegrationSetting(org.exoplatform.mailintegration.model.MailIntegrationSetting mailIntegrationSetting, long currentUserIdentityId) throws IllegalAccessException
      Specified by:
      updateMailIntegrationSetting in interface org.exoplatform.mailintegration.service.MailIntegrationService
      Throws:
      IllegalAccessException