Package org.exoplatform.agenda.rest
Class AgendaCalendarRest
java.lang.Object
org.exoplatform.agenda.rest.AgendaCalendarRest
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class AgendaCalendarRest
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer
-
Constructor Summary
ConstructorsConstructorDescriptionAgendaCalendarRest(org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService, org.exoplatform.social.core.manager.IdentityManager identityManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreateCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity) javax.ws.rs.core.ResponsedeleteCalendar(long calendarId) javax.ws.rs.core.ResponsegetCalendarById(long calendarId) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponseupdateCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity)
-
Constructor Details
-
AgendaCalendarRest
public AgendaCalendarRest(org.exoplatform.agenda.service.AgendaCalendarService agendaCalendarService, org.exoplatform.social.core.manager.IdentityManager identityManager)
-
-
Method Details
-
list
-
getCalendarById
@RolesAllowed("users") public javax.ws.rs.core.Response getCalendarById(long calendarId) -
createCalendar
@RolesAllowed("users") public javax.ws.rs.core.Response createCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity) -
updateCalendar
@RolesAllowed("users") public javax.ws.rs.core.Response updateCalendar(org.exoplatform.agenda.rest.model.CalendarEntity calendarEntity) -
deleteCalendar
@RolesAllowed("users") public javax.ws.rs.core.Response deleteCalendar(long calendarId)
-