code: public static int getProfileIdFromPathID(int path_id) throws Exception {
          return (Integer) SQLService.getInstance().getFromTable(Constants.GENERIC_PROFILE_ID, Constants.GENERIC_ID, path_id, Constants.DB_TABLE_PATH);
      }
docs: Return the profileId for a path
  
  @param path_id ID of path
  @return ID of profile
  @throws Exception exception