java.lang.Object
org.apache.fineract.infrastructure.survey.api.LikelihoodApiResource
@Path("/v1/likelihood")
@Component
public class LikelihoodApiResource
extends Object
Created by Cieyou on 3/12/14.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LikelihoodApiResource
public LikelihoodApiResource()
-
Method Details
-
retrieveAll
@GET
@Path("{ppiName}")
@Consumes("application/json")
@Produces("application/json")
public String retrieveAll(@PathParam("ppiName")
String ppiName)
-
retrieve
@GET
@Path("{ppiName}/{likelihoodId}")
@Consumes("application/json")
@Produces("application/json")
public String retrieve(@PathParam("likelihoodId")
Long likelihoodId,
@PathParam("ppiName")
String ppiName)
-
update
@PUT
@Path("{ppiName}/{likelihoodId}")
@Consumes("application/json")
@Produces("application/json")
public String update(@PathParam("likelihoodId")
Long likelihoodId,
String apiRequestBodyAsJson,
@PathParam("ppiName")
String ppiName)