Class AgendaEventReminderServiceImpl

  • All Implemented Interfaces:
    org.exoplatform.agenda.service.AgendaEventReminderService

    public class AgendaEventReminderServiceImpl
    extends Object
    implements org.exoplatform.agenda.service.AgendaEventReminderService
    • Constructor Detail

      • AgendaEventReminderServiceImpl

        public AgendaEventReminderServiceImpl​(AgendaEventReminderStorage reminderStorage,
                                              AgendaEventStorage eventStorage,
                                              AgendaEventAttendeeStorage attendeeStorage,
                                              org.exoplatform.agenda.service.AgendaUserSettingsService agendaUserSettingsService,
                                              org.exoplatform.social.core.manager.IdentityManager identityManager,
                                              org.exoplatform.social.core.space.spi.SpaceService spaceService,
                                              org.exoplatform.services.listener.ListenerService listenerService,
                                              org.exoplatform.container.xml.InitParams initParams)
    • Method Detail

      • getEventReminders

        public List<org.exoplatform.agenda.model.EventReminder> getEventReminders​(long eventId,
                                                                                  long userIdentityId)
        Specified by:
        getEventReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
      • getEventReminders

        public List<org.exoplatform.agenda.model.EventReminder> getEventReminders​(long eventId)
        Specified by:
        getEventReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
      • saveEventReminders

        public void saveEventReminders​(org.exoplatform.agenda.model.Event event,
                                       List<org.exoplatform.agenda.model.EventReminder> reminders)
        Specified by:
        saveEventReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
      • saveUpcomingEventReminders

        public void saveUpcomingEventReminders​(long eventId,
                                               ZonedDateTime occurrenceId,
                                               List<org.exoplatform.agenda.model.EventReminder> reminders,
                                               long identityId)
                                        throws org.exoplatform.agenda.exception.AgendaException
        Specified by:
        saveUpcomingEventReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
        Throws:
        org.exoplatform.agenda.exception.AgendaException
      • saveEventReminders

        public Set<org.exoplatform.agenda.constant.AgendaEventModificationType> saveEventReminders​(org.exoplatform.agenda.model.Event event,
                                                                                                   List<org.exoplatform.agenda.model.EventReminder> reminders,
                                                                                                   long identityId)
                                                                                            throws org.exoplatform.agenda.exception.AgendaException
        Specified by:
        saveEventReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
        Throws:
        org.exoplatform.agenda.exception.AgendaException
      • sendReminders

        public void sendReminders()
        Specified by:
        sendReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
      • removeEventReminders

        public void removeEventReminders​(long eventId)
        Specified by:
        removeEventReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
      • removeUserReminders

        public void removeUserReminders​(long eventId,
                                        long identityId)
        Specified by:
        removeUserReminders in interface org.exoplatform.agenda.service.AgendaEventReminderService
      • getReminderComputingPeriod

        public long getReminderComputingPeriod()
        Specified by:
        getReminderComputingPeriod in interface org.exoplatform.agenda.service.AgendaEventReminderService
      • setReminderComputingPeriod

        public void setReminderComputingPeriod​(long reminderComputingPeriod)
        Specified by:
        setReminderComputingPeriod in interface org.exoplatform.agenda.service.AgendaEventReminderService