Class AgendaEventAttendeeServiceImpl

java.lang.Object
org.exoplatform.agenda.service.AgendaEventAttendeeServiceImpl
All Implemented Interfaces:
org.exoplatform.agenda.service.AgendaEventAttendeeService

public class AgendaEventAttendeeServiceImpl extends Object implements org.exoplatform.agenda.service.AgendaEventAttendeeService
  • Constructor Summary

    Constructors
    Constructor
    Description
    AgendaEventAttendeeServiceImpl(AgendaEventAttendeeStorage attendeeStorage, AgendaEventStorage eventStorage, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.web.security.codec.CodecInitializer codecInitializer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.social.core.identity.model.Identity
    decryptUserIdentity(long eventId, String token, org.exoplatform.agenda.constant.EventAttendeeResponse response)
    generateEncryptedToken(long eventId, String email)
    generateEncryptedToken(long eventId, String emailOrUsername, org.exoplatform.agenda.constant.EventAttendeeResponse response)
    org.exoplatform.agenda.model.EventAttendeeList
    getEventAttendees(long eventId)
    List<org.exoplatform.agenda.model.EventAttendee>
    getEventAttendees(long eventId, ZonedDateTime occurrenceId, org.exoplatform.agenda.constant.EventAttendeeResponse... responses)
    org.exoplatform.agenda.model.EventAttendeeList
    getEventAttendees(long eventId, org.exoplatform.agenda.constant.EventAttendeeResponse... responses)
    org.exoplatform.agenda.constant.EventAttendeeResponse
    getEventResponse(long eventId, ZonedDateTime occurrenceId, long identityId)
    boolean
    isEventAttendee(long eventId, long identityId)
    Set<org.exoplatform.agenda.constant.AgendaEventModificationType>
    saveEventAttendees(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventAttendee> attendees, long creatorUserId, boolean sendInvitations, boolean resetResponses, org.exoplatform.agenda.model.AgendaEventModification eventModifications)
    void
    sendEventResponse(long eventId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response)
    void
    sendEventResponse(long eventId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response, boolean broadcast)
    void
    sendInvitations(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventAttendee> eventAttendees, org.exoplatform.agenda.model.AgendaEventModification eventModifications)
    void
    sendUpcomingEventResponse(long eventId, ZonedDateTime occurrenceId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AgendaEventAttendeeServiceImpl

      public AgendaEventAttendeeServiceImpl(AgendaEventAttendeeStorage attendeeStorage, AgendaEventStorage eventStorage, org.exoplatform.services.listener.ListenerService listenerService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, org.exoplatform.web.security.codec.CodecInitializer codecInitializer)
  • Method Details

    • saveEventAttendees

      public Set<org.exoplatform.agenda.constant.AgendaEventModificationType> saveEventAttendees(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventAttendee> attendees, long creatorUserId, boolean sendInvitations, boolean resetResponses, org.exoplatform.agenda.model.AgendaEventModification eventModifications)
      Specified by:
      saveEventAttendees in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
    • getEventAttendees

      public org.exoplatform.agenda.model.EventAttendeeList getEventAttendees(long eventId)
      Specified by:
      getEventAttendees in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
    • getEventAttendees

      public org.exoplatform.agenda.model.EventAttendeeList getEventAttendees(long eventId, org.exoplatform.agenda.constant.EventAttendeeResponse... responses)
      Specified by:
      getEventAttendees in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
    • getEventAttendees

      public List<org.exoplatform.agenda.model.EventAttendee> getEventAttendees(long eventId, ZonedDateTime occurrenceId, org.exoplatform.agenda.constant.EventAttendeeResponse... responses)
      Specified by:
      getEventAttendees in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
    • getEventResponse

      public org.exoplatform.agenda.constant.EventAttendeeResponse getEventResponse(long eventId, ZonedDateTime occurrenceId, long identityId) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      getEventResponse in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • sendEventResponse

      public void sendEventResponse(long eventId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      sendEventResponse in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • sendUpcomingEventResponse

      public void sendUpcomingEventResponse(long eventId, ZonedDateTime occurrenceId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      sendUpcomingEventResponse in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • sendEventResponse

      public void sendEventResponse(long eventId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response, boolean broadcast) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      sendEventResponse in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException
    • generateEncryptedToken

      public String generateEncryptedToken(long eventId, String email)
      Specified by:
      generateEncryptedToken in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
    • generateEncryptedToken

      public String generateEncryptedToken(long eventId, String emailOrUsername, org.exoplatform.agenda.constant.EventAttendeeResponse response)
      Specified by:
      generateEncryptedToken in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
    • decryptUserIdentity

      public org.exoplatform.social.core.identity.model.Identity decryptUserIdentity(long eventId, String token, org.exoplatform.agenda.constant.EventAttendeeResponse response) throws IllegalAccessException
      Specified by:
      decryptUserIdentity in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
      Throws:
      IllegalAccessException
    • isEventAttendee

      public boolean isEventAttendee(long eventId, long identityId)
      Specified by:
      isEventAttendee in interface org.exoplatform.agenda.service.AgendaEventAttendeeService
    • sendInvitations

      public void sendInvitations(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventAttendee> eventAttendees, org.exoplatform.agenda.model.AgendaEventModification eventModifications)
      Specified by:
      sendInvitations in interface org.exoplatform.agenda.service.AgendaEventAttendeeService