Class AgendaEventDatePollServiceImpl

java.lang.Object
org.exoplatform.agenda.service.AgendaEventDatePollServiceImpl
All Implemented Interfaces:
org.exoplatform.agenda.service.AgendaEventDatePollService

public class AgendaEventDatePollServiceImpl extends Object implements org.exoplatform.agenda.service.AgendaEventDatePollService
  • Constructor Details

    • AgendaEventDatePollServiceImpl

      public AgendaEventDatePollServiceImpl(AgendaEventDatePollStorage datePollStorage, AgendaEventStorage eventStorage, org.exoplatform.agenda.service.AgendaEventAttendeeService eventAttendeeService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.services.listener.ListenerService listenerService)
  • Method Details

    • createEventPoll

      public List<org.exoplatform.agenda.model.EventDateOption> createEventPoll(long eventId, List<org.exoplatform.agenda.model.EventDateOption> dateOptions, long userIdentityId)
      Specified by:
      createEventPoll in interface org.exoplatform.agenda.service.AgendaEventDatePollService
    • updateEventDateOptions

      public Set<org.exoplatform.agenda.constant.AgendaEventModificationType> updateEventDateOptions(long eventId, List<org.exoplatform.agenda.model.EventDateOption> dateOptions)
      Specified by:
      updateEventDateOptions in interface org.exoplatform.agenda.service.AgendaEventDatePollService
    • getEventDateOptions

      public List<org.exoplatform.agenda.model.EventDateOption> getEventDateOptions(long eventId, ZoneId userTimeZone)
      Specified by:
      getEventDateOptions in interface org.exoplatform.agenda.service.AgendaEventDatePollService
    • getEventDateOption

      public org.exoplatform.agenda.model.EventDateOption getEventDateOption(long dateOptionId, ZoneId userTimeZone)
      Specified by:
      getEventDateOption in interface org.exoplatform.agenda.service.AgendaEventDatePollService
    • saveEventVotes

      public void saveEventVotes(long eventId, List<Long> acceptedDatePollIds, long identityId) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      saveEventVotes in interface org.exoplatform.agenda.service.AgendaEventDatePollService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • voteDateOption

      public void voteDateOption(long dateOptionId, long identityId) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      voteDateOption in interface org.exoplatform.agenda.service.AgendaEventDatePollService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • dismissDateOption

      public void dismissDateOption(long dateOptionId, long identityId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      dismissDateOption in interface org.exoplatform.agenda.service.AgendaEventDatePollService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • selectEventDateOption

      public void selectEventDateOption(long dateOptionId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Specified by:
      selectEventDateOption in interface org.exoplatform.agenda.service.AgendaEventDatePollService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • resetEventVotes

      public void resetEventVotes(long eventId)
      Specified by:
      resetEventVotes in interface org.exoplatform.agenda.service.AgendaEventDatePollService