Package org.apache.fineract.template.api
Class TemplatesApiResource
java.lang.Object
org.apache.fineract.template.api.TemplatesApiResource
@Path("/v1/templates")
@Consumes("application/json")
@Produces("application/json")
@Component
public class TemplatesApiResource
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTemplate(String apiRequestBodyAsJson) deleteTemplate(Long templateId) getTemplateByTemplate(Long templateId, jakarta.ws.rs.core.UriInfo uriInfo) mergeTemplate(Long templateId, jakarta.ws.rs.core.UriInfo uriInfo, String apiRequestBodyAsJson) retrieveAll(int typeId, int entityId, jakarta.ws.rs.core.UriInfo uriInfo) retrieveOne(Long templateId, jakarta.ws.rs.core.UriInfo uriInfo) saveTemplate(Long templateId, String apiRequestBodyAsJson) template(jakarta.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
ID
- See Also:
-
ENTITIES
- See Also:
-
TYPES
- See Also:
-
PARAM_TEMPLATE
- See Also:
-
-
Constructor Details
-
TemplatesApiResource
public TemplatesApiResource()
-
-
Method Details
-
retrieveAll
@GET public String retrieveAll(@DefaultValue("-1") @QueryParam("typeId") int typeId, @DefaultValue("-1") @QueryParam("entityId") int entityId, @Context jakarta.ws.rs.core.UriInfo uriInfo) -
template
-
createTemplate
-
retrieveOne
-
getTemplateByTemplate
-
saveTemplate
-
deleteTemplate
-
mergeTemplate
@POST @Path("{templateId}") @Produces("text/html") public String mergeTemplate(@PathParam("templateId") Long templateId, @Context jakarta.ws.rs.core.UriInfo uriInfo, String apiRequestBodyAsJson) throws IOException - Throws:
IOException
-