Class DigestServiceImpl

java.lang.Object
io.meeds.commons.digest.service.DigestServiceImpl
All Implemented Interfaces:
io.meeds.commons.digest.DigestService

@Service public class DigestServiceImpl extends Object implements io.meeds.commons.digest.DigestService
  • Constructor Details

  • Method Details

    • isDigestAllowed

      public boolean isDigestAllowed()
      Specified by:
      isDigestAllowed in interface io.meeds.commons.digest.DigestService
    • saveDigestAllowed

      public void saveDigestAllowed(boolean allowed)
      Specified by:
      saveDigestAllowed in interface io.meeds.commons.digest.DigestService
    • getUserSettings

      public io.meeds.commons.digest.model.DigestUserSettings getUserSettings(String username)
      Specified by:
      getUserSettings in interface io.meeds.commons.digest.DigestService
    • saveUserSettings

      public void saveUserSettings(String username, io.meeds.commons.digest.model.DigestUserSettings settings, String timeZone) throws IllegalAccessException
      Specified by:
      saveUserSettings in interface io.meeds.commons.digest.DigestService
      Throws:
      IllegalAccessException
    • getCategories

      public List<io.meeds.commons.digest.plugin.DigestCategoryProvider> getCategories()
      Specified by:
      getCategories in interface io.meeds.commons.digest.DigestService
    • getCategories

      public List<io.meeds.commons.digest.model.DigestCategory> getCategories(Locale locale)
      Specified by:
      getCategories in interface io.meeds.commons.digest.DigestService
    • capture

      public void capture(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
      Specified by:
      capture in interface io.meeds.commons.digest.DigestService
    • discard

      public void discard(String username, String pluginId, String parameterName, String parameterValue)
      Specified by:
      discard in interface io.meeds.commons.digest.DigestService
    • processDueDigests

      public void processDueDigests()
      Specified by:
      processDueDigests in interface io.meeds.commons.digest.DigestService
    • updateTimeZone

      public void updateTimeZone(String username, String timeZone)
      Specified by:
      updateTimeZone in interface io.meeds.commons.digest.DigestService