Package org.exoplatform.agenda.service
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
ConstructorsConstructorDescriptionAgendaEventAttendeeServiceImpl(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 TypeMethodDescriptionorg.exoplatform.social.core.identity.model.IdentitydecryptUserIdentity(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.EventAttendeeListgetEventAttendees(long eventId) List<org.exoplatform.agenda.model.EventAttendee> getEventAttendees(long eventId, ZonedDateTime occurrenceId, org.exoplatform.agenda.constant.EventAttendeeResponse... responses) org.exoplatform.agenda.model.EventAttendeeListgetEventAttendees(long eventId, org.exoplatform.agenda.constant.EventAttendeeResponse... responses) org.exoplatform.agenda.constant.EventAttendeeResponsegetEventResponse(long eventId, ZonedDateTime occurrenceId, long identityId) booleanisEventAttendee(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) voidsendEventResponse(long eventId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response) voidsendEventResponse(long eventId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response, boolean broadcast) voidsendInvitations(org.exoplatform.agenda.model.Event event, List<org.exoplatform.agenda.model.EventAttendee> eventAttendees, org.exoplatform.agenda.model.AgendaEventModification eventModifications) voidsendUpcomingEventResponse(long eventId, ZonedDateTime occurrenceId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response)
-
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:
saveEventAttendeesin interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService
-
getEventAttendees
public org.exoplatform.agenda.model.EventAttendeeList getEventAttendees(long eventId) - Specified by:
getEventAttendeesin interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService
-
getEventAttendees
public org.exoplatform.agenda.model.EventAttendeeList getEventAttendees(long eventId, org.exoplatform.agenda.constant.EventAttendeeResponse... responses) - Specified by:
getEventAttendeesin interfaceorg.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:
getEventAttendeesin interfaceorg.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:
getEventResponsein interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
sendEventResponse
public void sendEventResponse(long eventId, long identityId, org.exoplatform.agenda.constant.EventAttendeeResponse response) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Specified by:
sendEventResponsein interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
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:
sendUpcomingEventResponsein interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
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:
sendEventResponsein interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
generateEncryptedToken
- Specified by:
generateEncryptedTokenin interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService
-
generateEncryptedToken
public String generateEncryptedToken(long eventId, String emailOrUsername, org.exoplatform.agenda.constant.EventAttendeeResponse response) - Specified by:
generateEncryptedTokenin interfaceorg.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:
decryptUserIdentityin interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService- Throws:
IllegalAccessException
-
isEventAttendee
public boolean isEventAttendee(long eventId, long identityId) - Specified by:
isEventAttendeein interfaceorg.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:
sendInvitationsin interfaceorg.exoplatform.agenda.service.AgendaEventAttendeeService
-