| Package | Description |
|---|---|
| org.exoplatform.calendar.ws | |
| org.exoplatform.calendar.ws.bean |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
CalendarRestApi.createEventForCalendar(String id,
EventResource evObject,
javax.ws.rs.core.UriInfo uriInfo)
Creates an event in a calendar with specified id only if:
- the authenticated user is the owner of the calendar
- for group calendars, the authenticated user has edit rights on the calendar
- the calendar has been shared with the authenticated user, with modification rights
- the calendar has been shared with a group of the authenticated user, with modification rights
This entry point only allow http POST request, with json object (evObject) in the request body.
|
javax.ws.rs.core.Response |
CalendarRestApi.updateEventById(String id,
EventResource evObject)
Updates the event with specified id if:
- the authenticated user is the owner of the calendar of the event
- for group calendars, the authenticated user has edit rights on the calendar
- the calendar of the event has been shared with the authenticated user, with modification rights
- the calendar of the event has been shared with a group of the authenticated user, with modification rights
This entry point only allow http PUT request, with json object (evObject) in the request body, and event id in the path.
|
| Modifier and Type | Method and Description |
|---|---|
EventResource |
EventResource.setCal(Serializable calendar) |
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.