Class NotificationSettingsRestService

java.lang.Object
io.meeds.social.notification.rest.NotificationSettingsRestService
All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer

public class NotificationSettingsRestService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
  • Constructor Details

    • NotificationSettingsRestService

      public NotificationSettingsRestService(org.exoplatform.services.resources.ResourceBundleService resourceBundleService, org.exoplatform.commons.api.notification.service.setting.PluginSettingService pluginSettingService, org.exoplatform.commons.api.notification.channel.ChannelManager channelManager, org.exoplatform.commons.api.notification.service.setting.UserSettingService userSettingService, org.exoplatform.portal.config.UserACL userACL)
  • Method Details

    • getSettings

      @RolesAllowed("administrators") public javax.ws.rs.core.Response getSettings()
    • saveEmailSender

      @RolesAllowed("administrators") public javax.ws.rs.core.Response saveEmailSender(String name, String email)
    • getSettings

      @RolesAllowed("users") public javax.ws.rs.core.Response getSettings(String username)
    • savePluginSetting

      @RolesAllowed("administrators") public javax.ws.rs.core.Response savePluginSetting(String pluginId, String channels)
    • savePluginSetting

      @RolesAllowed("users") public javax.ws.rs.core.Response savePluginSetting(String username, String pluginId, String channels, String digest)
    • saveChannelStatus

      @RolesAllowed("administrators") public javax.ws.rs.core.Response saveChannelStatus(String channelId, boolean enable)
    • saveSpaceMuteStatus

      @RolesAllowed("users") public javax.ws.rs.core.Response saveSpaceMuteStatus(String username, long spaceId, boolean enable)
    • saveActiveStatus

      @RolesAllowed("users") public javax.ws.rs.core.Response saveActiveStatus(String username, String channelId, boolean enable)