public class ScenarioUtil extends BaseUtil
| Constructor and Description |
|---|
ScenarioUtil() |
| Modifier and Type | Method and Description |
|---|---|
gr.i2s.fishgrowth.model.Scenario |
add(gr.i2s.fishgrowth.model.Scenario scenario) |
boolean |
delete(Long id) |
String |
executeConsumptionScenario(String from,
String to,
Integer weight,
Integer count,
Long modelId) |
gr.i2s.fishgrowth.model.Scenario |
executeScenario(Long id) |
gr.i2s.fishgrowth.model.Scenario |
getScenario(Long id) |
List<gr.i2s.fishgrowth.model.Scenario> |
getScenarios(String ownerId) |
gr.i2s.fishgrowth.model.Scenario |
update(gr.i2s.fishgrowth.model.Scenario scenario) |
public gr.i2s.fishgrowth.model.Scenario add(gr.i2s.fishgrowth.model.Scenario scenario)
throws Exception
Exceptionpublic gr.i2s.fishgrowth.model.Scenario update(gr.i2s.fishgrowth.model.Scenario scenario)
throws Exception
Exceptionpublic gr.i2s.fishgrowth.model.Scenario getScenario(Long id) throws Exception
Exceptionpublic List<gr.i2s.fishgrowth.model.Scenario> getScenarios(String ownerId) throws Exception
Exceptionpublic gr.i2s.fishgrowth.model.Scenario executeScenario(Long id) throws Exception
ExceptionCopyright © 2017. All Rights Reserved.