Displaying differences for changeset |
@@ -39,17 +39,17 @@ |
@Override |
protected void preProcess() throws ServiceException, JSONException { |
aoaId = getIntParam("AoAId"); |
+ } |
+ |
+ |
+ @Override |
+ protected void doProcess() throws ServiceException, JSONException { |
JSONArray groups = getJSONArrayParam("soilcomponents"); |
for (int i = 0; i < groups.length(); i++) { |
Map<String, JSONObject> group = JSONUtils.preprocess(groups.getJSONArray(i)); |
SoilComponent input = new SoilComponent(group); |
soilComponentList.add(input); |
- } |
- } |
- |
- |
- @Override |
- protected void doProcess() throws ServiceException { |
+ } |
computeNSLP(); |
computeAoaNSLP(); |
} |