Package org.exoplatform.agenda.service
Class AgendaEventReminderServiceImpl
- java.lang.Object
-
- org.exoplatform.agenda.service.AgendaEventReminderServiceImpl
-
- All Implemented Interfaces:
org.exoplatform.agenda.service.AgendaEventReminderService
public class AgendaEventReminderServiceImpl extends Object implements org.exoplatform.agenda.service.AgendaEventReminderService
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.exoplatform.agenda.model.EventReminder>getEventReminders(long eventId)List<org.exoplatform.agenda.model.EventReminder>getEventReminders(long eventId, long userIdentityId)longgetReminderComputingPeriod()voidremoveEventReminders(long eventId)voidremoveUserReminders(long eventId, long identityId)voidsaveEventReminders(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventReminder> reminders)Set<org.exoplatform.agenda.constant.AgendaEventModificationType>saveEventReminders(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventReminder> reminders, long identityId)voidsaveUpcomingEventReminders(long eventId, ZonedDateTime occurrenceId, List<org.exoplatform.agenda.model.EventReminder> reminders, long identityId)voidsendReminders()voidsetReminderComputingPeriod(long reminderComputingPeriod)
-
-
-
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:
getEventRemindersin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService
-
getEventReminders
public List<org.exoplatform.agenda.model.EventReminder> getEventReminders(long eventId)
- Specified by:
getEventRemindersin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService
-
saveEventReminders
public void saveEventReminders(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventReminder> reminders)- Specified by:
saveEventRemindersin interfaceorg.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:
saveUpcomingEventRemindersin interfaceorg.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:
saveEventRemindersin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService- Throws:
org.exoplatform.agenda.exception.AgendaException
-
sendReminders
public void sendReminders()
- Specified by:
sendRemindersin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService
-
removeEventReminders
public void removeEventReminders(long eventId)
- Specified by:
removeEventRemindersin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService
-
removeUserReminders
public void removeUserReminders(long eventId, long identityId)- Specified by:
removeUserRemindersin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService
-
getReminderComputingPeriod
public long getReminderComputingPeriod()
- Specified by:
getReminderComputingPeriodin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService
-
setReminderComputingPeriod
public void setReminderComputingPeriod(long reminderComputingPeriod)
- Specified by:
setReminderComputingPeriodin interfaceorg.exoplatform.agenda.service.AgendaEventReminderService
-
-