Package org.exoplatform.agenda.rest
Class AgendaEventRest
java.lang.Object
org.exoplatform.agenda.rest.AgendaEventRest
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer,org.picocontainer.Startable
public class AgendaEventRest
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer, org.picocontainer.Startable
-
Constructor Summary
ConstructorsConstructorDescriptionAgendaEventRest(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.AgendaEventDatePollService agendaEventDatePollService, org.exoplatform.agenda.service.AgendaEventReminderService agendaEventReminderService, org.exoplatform.agenda.service.AgendaEventAttendeeService agendaEventAttendeeService, org.exoplatform.container.PortalContainer container) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreateEvent(String timeZoneId, org.exoplatform.agenda.rest.model.EventEntity eventEntity) javax.ws.rs.core.ResponsedeleteEvent(long eventId, long delay, String timeZoneId) javax.ws.rs.core.ResponsedismissEventDateOption(long eventId, long dateOptionId) javax.ws.rs.core.ResponsegetDatePolls(List<Long> ownerIds, int offset, int limit, String start, String end, String timeZoneId, String expand) javax.ws.rs.core.ResponsegetEventById(long eventId, String expand, String timeZoneId, boolean firstOccurrence) javax.ws.rs.core.ResponsegetEventExceptionalOccurrences(long parentEventId, String expand, String timeZoneId) javax.ws.rs.core.ResponsegetEventOccurrence(long parentEventId, String occurrenceId, String expand, String timeZoneId) javax.ws.rs.core.ResponsegetEventRemindersById(long eventId) javax.ws.rs.core.ResponsegetEventResponse(long eventId, String occurrenceId, String token) javax.ws.rs.core.ResponsegetEvents(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.ResponsegetICSOfEvent(jakarta.servlet.http.HttpServletRequest request, long eventId, String timeZoneId) javax.ws.rs.core.ResponsegetPendingEvents(List<Long> ownerIds, int offset, int limit, String timeZoneId, String expand) javax.ws.rs.core.ResponsesaveEventReminders(long eventId, String occurrenceId, boolean upcoming, List<org.exoplatform.agenda.model.EventReminder> reminders) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponseselectEventDateOption(long eventId, long dateOptionId) javax.ws.rs.core.ResponsesendEventResponse(long eventId, String occurrenceId, String responseString, boolean upcoming, String token, boolean redirect) voidstart()voidstop()javax.ws.rs.core.ResponseundoDeleteEvent(long eventId) javax.ws.rs.core.ResponseupdateEvent(org.exoplatform.agenda.rest.model.EventEntity eventEntity, String timeZoneId) javax.ws.rs.core.ResponseupdateEventFields(long eventId, boolean updateAllOccurrences, boolean sendInvitations, String timeZoneId, javax.ws.rs.core.MultivaluedMap<String, String> eventFields) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsevoteEventDateOption(long eventId, long dateOptionId)
-
Constructor Details
-
AgendaEventRest
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.AgendaEventDatePollService agendaEventDatePollService, org.exoplatform.agenda.service.AgendaEventReminderService agendaEventReminderService, org.exoplatform.agenda.service.AgendaEventAttendeeService agendaEventAttendeeService, org.exoplatform.container.PortalContainer container)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
getEvents
-
getEventById
-
getEventOccurrence
-
getEventExceptionalOccurrences
-
createEvent
@RolesAllowed("users") public javax.ws.rs.core.Response createEvent(String timeZoneId, org.exoplatform.agenda.rest.model.EventEntity eventEntity) -
updateEvent
@RolesAllowed("users") public javax.ws.rs.core.Response updateEvent(org.exoplatform.agenda.rest.model.EventEntity eventEntity, String timeZoneId) -
updateEventFields
-
deleteEvent
@RolesAllowed("users") public javax.ws.rs.core.Response deleteEvent(long eventId, long delay, String timeZoneId) -
undoDeleteEvent
@RolesAllowed("users") public javax.ws.rs.core.Response undoDeleteEvent(long eventId) -
selectEventDateOption
@RolesAllowed("users") public javax.ws.rs.core.Response selectEventDateOption(long eventId, long dateOptionId) -
getEventRemindersById
@RolesAllowed("users") public javax.ws.rs.core.Response getEventRemindersById(long eventId) -
saveEventReminders
-
getEventResponse
-
voteEvent
-
voteEventDateOption
@RolesAllowed("users") public javax.ws.rs.core.Response voteEventDateOption(long eventId, long dateOptionId) -
dismissEventDateOption
@RolesAllowed("users") public javax.ws.rs.core.Response dismissEventDateOption(long eventId, long dateOptionId) -
sendEventResponse
-
search
@RolesAllowed("users") public javax.ws.rs.core.Response search(String query, String timeZoneId, String expand, int offset, int limit) throws Exception - Throws:
Exception
-
getDatePolls
-
getPendingEvents
-
getICSOfEvent
@RolesAllowed("users") public javax.ws.rs.core.Response getICSOfEvent(@Context jakarta.servlet.http.HttpServletRequest request, long eventId, String timeZoneId)
-