public class AgendaEventAttendeeServiceImpl extends Object implements org.exoplatform.agenda.service.AgendaEventAttendeeService
| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.social.core.identity.model.Identity |
decryptUserIdentity(long eventId,
String token,
org.exoplatform.agenda.constant.EventAttendeeResponse response) |
String |
generateEncryptedToken(long eventId,
String email) |
String |
generateEncryptedToken(long eventId,
String emailOrUsername,
org.exoplatform.agenda.constant.EventAttendeeResponse response) |
List<org.exoplatform.agenda.model.EventAttendee> |
getEventAttendees(long eventId) |
org.exoplatform.agenda.constant.EventAttendeeResponse |
getEventResponse(long eventId,
long identityId) |
boolean |
isEventAttendee(long eventId,
long identityId) |
void |
saveEventAttendees(org.exoplatform.agenda.model.Event event,
List<org.exoplatform.agenda.model.EventAttendee> attendees,
long creatorUserId,
boolean sendInvitations,
boolean resetResponses,
org.exoplatform.agenda.constant.EventModificationType eventModificationType) |
void |
sendEventResponse(long eventId,
long identityId,
org.exoplatform.agenda.constant.EventAttendeeResponse response) |
void |
sendInvitations(org.exoplatform.agenda.model.Event event,
List<org.exoplatform.agenda.model.EventAttendee> eventAttendees,
org.exoplatform.agenda.constant.EventModificationType eventModificationType) |
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)
public void saveEventAttendees(org.exoplatform.agenda.model.Event event,
List<org.exoplatform.agenda.model.EventAttendee> attendees,
long creatorUserId,
boolean sendInvitations,
boolean resetResponses,
org.exoplatform.agenda.constant.EventModificationType eventModificationType)
saveEventAttendees in interface org.exoplatform.agenda.service.AgendaEventAttendeeServicepublic List<org.exoplatform.agenda.model.EventAttendee> getEventAttendees(long eventId)
getEventAttendees in interface org.exoplatform.agenda.service.AgendaEventAttendeeServicepublic org.exoplatform.agenda.constant.EventAttendeeResponse getEventResponse(long eventId,
long identityId)
throws org.exoplatform.commons.exception.ObjectNotFoundException,
IllegalAccessException
getEventResponse in interface org.exoplatform.agenda.service.AgendaEventAttendeeServiceorg.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessExceptionpublic void sendEventResponse(long eventId,
long identityId,
org.exoplatform.agenda.constant.EventAttendeeResponse response)
throws org.exoplatform.commons.exception.ObjectNotFoundException,
IllegalAccessException
sendEventResponse in interface org.exoplatform.agenda.service.AgendaEventAttendeeServiceorg.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessExceptionpublic String generateEncryptedToken(long eventId, String email)
generateEncryptedToken in interface org.exoplatform.agenda.service.AgendaEventAttendeeServicepublic String generateEncryptedToken(long eventId, String emailOrUsername, org.exoplatform.agenda.constant.EventAttendeeResponse response)
generateEncryptedToken in interface org.exoplatform.agenda.service.AgendaEventAttendeeServicepublic org.exoplatform.social.core.identity.model.Identity decryptUserIdentity(long eventId,
String token,
org.exoplatform.agenda.constant.EventAttendeeResponse response)
throws IllegalAccessException
decryptUserIdentity in interface org.exoplatform.agenda.service.AgendaEventAttendeeServiceIllegalAccessExceptionpublic boolean isEventAttendee(long eventId,
long identityId)
isEventAttendee in interface org.exoplatform.agenda.service.AgendaEventAttendeeServicepublic void sendInvitations(org.exoplatform.agenda.model.Event event,
List<org.exoplatform.agenda.model.EventAttendee> eventAttendees,
org.exoplatform.agenda.constant.EventModificationType eventModificationType)
sendInvitations in interface org.exoplatform.agenda.service.AgendaEventAttendeeServiceCopyright © 2003–2021 eXo Platform SAS. All rights reserved.