code: private void addAllProjectModels(ApplicationReportIndexModel navIdx, ProjectModel projectModel)
      {
          navIdx.addProjectModel(projectModel);
          for (ProjectModel childProject : projectModel.getChildProjects())
          {
              if (!Iterators.asSet(navIdx.getProjectModels()).contains(childProject))
                  addAllProjectModels(navIdx, childProject);
          }
      }
docs: Attach all project models within the application to the index. This will make it easy to navigate from the
  projectModel to the application index.