Class CalendarsApiResource
java.lang.Object
org.apache.fineract.portfolio.calendar.api.CalendarsApiResource
@Path("/v1/{entityType}/{entityId}/calendars")
@Component
public class CalendarsApiResource
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCalendar(String entityType, Long entityId, String apiRequestBodyAsJson) deleteCalendar(String entityType, Long entityId, Long calendarId) retrieveCalendar(Long calendarId, String entityType, Long entityId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveCalendarsByEntity(String entityType, Long entityId, jakarta.ws.rs.core.UriInfo uriInfo, String calendarType) retrieveNewCalendarDetails(jakarta.ws.rs.core.UriInfo uriInfo, String entityType, Long entityId) updateCalendar(String entityType, Long entityId, Long calendarId, String jsonRequestBody)
-
Constructor Details
-
CalendarsApiResource
public CalendarsApiResource()
-
-
Method Details
-
retrieveCalendar
-
retrieveCalendarsByEntity
@GET @Consumes("application/json") @Produces("application/json") public String retrieveCalendarsByEntity(@PathParam("entityType") String entityType, @PathParam("entityId") Long entityId, @Context jakarta.ws.rs.core.UriInfo uriInfo, @DefaultValue("all") @QueryParam("calendarType") String calendarType) - Parameters:
entityType-entityId-uriInfo-calendarType-- Returns:
-
retrieveNewCalendarDetails
-
createCalendar
-
updateCalendar
-
deleteCalendar
-