/** * Gets a parameter as Map * * @param body The activiti webscript request body * @return The value of the string body parameter * @throws WebScriptException if string body parameter isn't present */ protected Map<String, Object> getFormVariables(ActivitiWebScriptBody body) { return body.getFormVariables(); }
/** * Gets a string parameter from the body * * @param body The activiti webscript request body * @param param The name of the string parameter * @return The value of the string body parameter * @throws WebScriptException if string body parameter isn't present */ protected String getMandatoryString(ActivitiWebScriptBody body, String param) { return checkString(body.getString(param), param, true); }