Skip to content
Snippets Groups Projects
Commit fc4cf4df authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Added a bit of JavaDocs

parent 3e588afd
Branches
Tags
2 merge requests!22Develop,!18Spotit nordic map layers
......@@ -56,7 +56,15 @@ public class GrowthStageService {
@PersistenceContext(unitName="VIPSLogic-PU")
EntityManager em;
/**
* At what dates can we expect the given crop to be at the given growth stages
* at the given location?
* @param organismId
* @param growthStagesStr
* @param location
* @param season
* @return
*/
@GET
@Path("date/{growthStages}/{organismId}")
@Produces("application/json;charset=UTF-8")
......@@ -82,6 +90,13 @@ public class GrowthStageService {
return Response.ok().entity(retVal).build();
}
/**
* At what GS is the given organism at the given date and location?
* @param organismId
* @param dateStr
* @param location
* @return
*/
@GET
@Path("gs/{date}/{organismId}")
@Produces("application/json;charset=UTF-8")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment