public class AgendaEventRest extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
AgendaEventRest(org.exoplatform.social.core.manager.IdentityManager identityManager,
org.exoplatform.portal.config.UserPortalConfigService portalConfigService,
org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService,
org.exoplatform.agenda.service.AgendaEventService agendaEventService,
org.exoplatform.agenda.service.AgendaEventConferenceService agendaEventConferenceService,
org.exoplatform.agenda.service.AgendaRemoteEventService agendaRemoteEventService,
org.exoplatform.agenda.service.AgendaEventAttachmentService agendaEventAttachmentService,
org.exoplatform.agenda.service.AgendaEventReminderService agendaEventReminderService,
org.exoplatform.agenda.service.AgendaEventAttendeeService agendaEventAttendeeService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createEvent(String timeZoneId,
org.exoplatform.agenda.rest.model.EventEntity eventEntity) |
javax.ws.rs.core.Response |
deleteEvent(long eventId) |
javax.ws.rs.core.Response |
getEventById(long eventId,
String expand,
String timeZoneId) |
javax.ws.rs.core.Response |
getEventExceptionalOccurrences(long parentEventId,
String expand,
String timeZoneId) |
javax.ws.rs.core.Response |
getEventOccurrence(long parentEventId,
String occurrenceId,
String expand,
String timeZoneId) |
javax.ws.rs.core.Response |
getEventRemindersById(long eventId) |
javax.ws.rs.core.Response |
getEventResponse(long eventId,
String token) |
javax.ws.rs.core.Response |
list(List<Long> ownerIds,
long attendeeIdentityId,
String expand,
String start,
String end,
String timeZoneId,
int limit,
List<org.exoplatform.agenda.constant.EventAttendeeResponse> responseTypes) |
javax.ws.rs.core.Response |
saveEventReminders(long eventId,
String occurrenceId,
List<org.exoplatform.agenda.model.EventReminder> reminders) |
javax.ws.rs.core.Response |
search(javax.ws.rs.core.UriInfo uriInfo,
String query,
String timeZoneId,
String expand,
int offset,
int limit) |
javax.ws.rs.core.Response |
sendEventResponse(long eventId,
String occurrenceId,
String responseString,
String token,
boolean redirect) |
javax.ws.rs.core.Response |
updateEvent(org.exoplatform.agenda.rest.model.EventEntity eventEntity,
String timeZoneId) |
javax.ws.rs.core.Response |
updateEventFields(long eventId,
boolean updateAllOccurrences,
boolean sendInvitations,
javax.ws.rs.core.MultivaluedMap<String,String> eventFields) |
public AgendaEventRest(org.exoplatform.social.core.manager.IdentityManager identityManager,
org.exoplatform.portal.config.UserPortalConfigService portalConfigService,
org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService,
org.exoplatform.agenda.service.AgendaEventService agendaEventService,
org.exoplatform.agenda.service.AgendaEventConferenceService agendaEventConferenceService,
org.exoplatform.agenda.service.AgendaRemoteEventService agendaRemoteEventService,
org.exoplatform.agenda.service.AgendaEventAttachmentService agendaEventAttachmentService,
org.exoplatform.agenda.service.AgendaEventReminderService agendaEventReminderService,
org.exoplatform.agenda.service.AgendaEventAttendeeService agendaEventAttendeeService)
@RolesAllowed(value="users") public javax.ws.rs.core.Response list(List<Long> ownerIds, long attendeeIdentityId, String expand, String start, String end, String timeZoneId, int limit, List<org.exoplatform.agenda.constant.EventAttendeeResponse> responseTypes)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getEventById(long eventId, String expand, String timeZoneId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getEventOccurrence(long parentEventId, String occurrenceId, String expand, String timeZoneId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getEventExceptionalOccurrences(long parentEventId, String expand, String timeZoneId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response createEvent(String timeZoneId, org.exoplatform.agenda.rest.model.EventEntity eventEntity)
@RolesAllowed(value="users") public javax.ws.rs.core.Response updateEvent(org.exoplatform.agenda.rest.model.EventEntity eventEntity, String timeZoneId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response updateEventFields(long eventId, boolean updateAllOccurrences, boolean sendInvitations, javax.ws.rs.core.MultivaluedMap<String,String> eventFields)
@RolesAllowed(value="users") public javax.ws.rs.core.Response deleteEvent(long eventId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response getEventRemindersById(long eventId)
@RolesAllowed(value="users") public javax.ws.rs.core.Response saveEventReminders(long eventId, String occurrenceId, List<org.exoplatform.agenda.model.EventReminder> reminders)
public javax.ws.rs.core.Response getEventResponse(long eventId,
String token)
public javax.ws.rs.core.Response sendEventResponse(long eventId,
String occurrenceId,
String responseString,
String token,
boolean redirect)
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.