private static AppResult getAppResultFromApplicationId(String applicationId) {
    AppResult result = AppResult.find.select("*").fetch(AppResult.TABLE.APP_HEURISTIC_RESULTS, "*")
        .fetch(AppResult.TABLE.APP_HEURISTIC_RESULTS + "." + AppHeuristicResult.TABLE.APP_HEURISTIC_RESULT_DETAILS, "*")
        .where().idEq(applicationId).order().desc(AppResult.TABLE.FINISH_TIME).findUnique();
    return result;
  }
Returns the AppResult with the given applicationId
@param applicationId The application id of the application
@return The AppResult for the given application Id
app/controllers/api/v1/Web.java