@Path(value="/ModelerFull") public class ModelerFullUtil extends Object
| Constructor and Description |
|---|
ModelerFullUtil() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(gr.i2s.fishgrowth.model.ModelerFull modelerFull) |
javax.ws.rs.core.Response |
delete(Long id) |
gr.i2s.fishgrowth.model.ModelerFull |
getModelerFull(Long id) |
int |
getModelerFullCount(String ownerId) |
List<?> |
getModelerFulls(String ownerId,
Integer start,
Integer end,
List<Long> statuses) |
List<?> |
getModelerFulls(String ownerId,
List<Long> statuses) |
javax.ws.rs.core.Response |
update(gr.i2s.fishgrowth.model.ModelerFull modelerFull) |
@PUT
@Consumes(value="application/json")
public javax.ws.rs.core.Response add(gr.i2s.fishgrowth.model.ModelerFull modelerFull)
throws Exception
Exception@POST
@Consumes(value="application/json")
public javax.ws.rs.core.Response update(gr.i2s.fishgrowth.model.ModelerFull modelerFull)
throws Exception
Exception@DELETE
@Path(value="/{id}")
public javax.ws.rs.core.Response delete(@PathParam(value="id")
Long id)
throws Exception
Exception@GET
@Path(value="/{id}")
@Produces(value="application/json")
public gr.i2s.fishgrowth.model.ModelerFull getModelerFull(@PathParam(value="id")
Long id)
throws Exception
Exception@GET
@Path(value="/all/{ownerId}/{start}/{end}")
public List<?> getModelerFulls(@PathParam(value="ownerId")
String ownerId,
@PathParam(value="start")
Integer start,
@PathParam(value="end")
Integer end,
@QueryParam(value="statuses")
List<Long> statuses)
throws Exception
Exception@GET
@Path(value="/all/{ownerId}")
public List<?> getModelerFulls(@PathParam(value="ownerId")
String ownerId,
@QueryParam(value="statuses")
List<Long> statuses)
throws Exception
ExceptionCopyright © 2017. All Rights Reserved.