private static AppResult getAppResultForId(String id) {
    return AppResult.find.select("*")
        .fetch(AppResult.TABLE.APP_HEURISTIC_RESULTS, "*")
        .fetch(AppResult.TABLE.APP_HEURISTIC_RESULTS + "." + AppHeuristicResult.TABLE.APP_HEURISTIC_RESULT_DETAILS, "*")
        .where()
        .idEq(id)
        .findUnique();
  }
Parse the string for time in long

@param time The string to be parsed
@return the epoch value
app/controllers/Application.java