@Path(value="mappings") public class Mappings extends Object
| Constructor and Description |
|---|
Mappings() |
| Modifier and Type | Method and Description |
|---|---|
Batch |
getBatch(String name,
String type,
Long farmid)
Returns Complete Batch Bean
|
Farm |
getFarm(javax.ws.rs.core.UriInfo info)
Returns complete FARM Bean
|
@GET @Path(value="batch") @Produces(value="application/json") public Batch getBatch(@QueryParam(value="name") String name, @QueryParam(value="type") String type, @QueryParam(value="farmid") Long farmid)
name - type - farmid - @GET @Path(value="farm") @Produces(value="application/json") public Farm getFarm(@Context javax.ws.rs.core.UriInfo info)
farmid - farmuuid - Copyright © 2019. All Rights Reserved.