| Package | Description |
|---|---|
| org.exoplatform.calendar.ws | |
| org.exoplatform.calendar.ws.bean |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
CalendarRestApi.updateFeedById(String id,
FeedResource feedResource)
Updates a feed with the given id
Updates the feed if the authenticated user is the owner of the feed
This entry point only allow http PUT request, with json object (feedResource) in the request body, and feed id in the path.
|
| Modifier and Type | Method and Description |
|---|---|
FeedResource |
FeedResource.setCals(Collection<Serializable> calendars)
Because rest framework can not unmarshall from JSON if object contain generic field
So, we must make #calendars field is readonly with rest-framework by rename setter method to #setCals
And we introduce field #calendarIds, that enable user can update calendars in Feed
|
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.