@Path(value="/ScenarioFull") public class ScenarioFullUtil extends Object
| Constructor and Description |
|---|
ScenarioFullUtil() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(gr.i2s.fishgrowth.model.ScenarioFull scenarioFull) |
javax.ws.rs.core.Response |
delete(Long id) |
gr.i2s.fishgrowth.model.Scenario |
executeScenario(Long id) |
gr.i2s.fishgrowth.model.ScenarioFull |
getScenarioFull(Long id) |
int |
getScenarioFullCount(String ownerId) |
List<?> |
getScenarioFulls(String ownerId) |
List<?> |
getScenarioFulls(String ownerId,
Integer start,
Integer end) |
javax.ws.rs.core.Response |
update(gr.i2s.fishgrowth.model.ScenarioFull scenarioFull) |
@PUT
@Consumes(value="application/json")
public javax.ws.rs.core.Response add(gr.i2s.fishgrowth.model.ScenarioFull scenarioFull)
throws Exception
Exception@POST
@Consumes(value="application/json")
public javax.ws.rs.core.Response update(gr.i2s.fishgrowth.model.ScenarioFull scenarioFull)
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.ScenarioFull getScenarioFull(@PathParam(value="id")
Long id)
throws Exception
Exception@GET
@Path(value="/all/{ownerId}/{start}/{end}")
public List<?> getScenarioFulls(@PathParam(value="ownerId")
String ownerId,
@PathParam(value="start")
Integer start,
@PathParam(value="end")
Integer end)
throws Exception
Exception@GET
@Path(value="/all/{ownerId}")
public List<?> getScenarioFulls(@PathParam(value="ownerId")
String ownerId)
throws Exception
Exception@GET
@Path(value="/count/{ownerId}")
public int getScenarioFullCount(@PathParam(value="ownerId")
String ownerId)
throws Exception
ExceptionCopyright © 2017. All Rights Reserved.