Class CalendarEventsResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.optional.calendar.impl.rest.resources.CalendarEventsResource
- All Implemented Interfaces:
RestResource
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class AbstractRestResource
uriInfo -
Constructor Summary
ConstructorsConstructorDescriptionCalendarEventsResource(Context context, CalendarEventService calendarEventService, CalendarConfigurationService calendarConfigurationService) -
Method Summary
Methods inherited from class AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
CalendarEventsResource
public CalendarEventsResource(Context context, CalendarEventService calendarEventService, CalendarConfigurationService calendarConfigurationService)
-
-
Method Details
-
getEvents
@POST @Produces("application/json") @Consumes("application/json") public CollectionBean getEvents(CalendarsConfigBean config) -
movable
@GET @Path("{reservationKey}/movable") @Produces("application/json") @Consumes("application/json") public CalendarEventsResource.MovableResponseBean movable(@PathParam("reservationKey") String reservationKey)
-