docs: public List<Group> getGroupsInPathProfile(
          int profileId, int pathId) {
          ArrayList<Group> groupsInProfile = new ArrayList<Group>();
          ArrayList<Group> allGroups = new ArrayList<Group>(findAllGroups());
          int[] groupIds = Utils.arrayFromStringOfIntegers(getGroupIdsInPathProfile(profileId,
                                                                                    pathId));
          // get all the groups, then remove the ones != group ids, leaving us
          // with all the groups in the profile
          for (int j = 0; j < allGroups.size(); j++) {
              for (int i = 0; i < groupIds.length; i++) {
                  if (allGroups.get(j).getId() == groupIds[i]) {
                      groupsInProfile.add(allGroups.get(j));
                  }
              }
          }
          return groupsInProfile;
      }