code: @WebMethod(operationName = "getRootProjects")
      public List<Project> getRootProjects(@WebParam(name = "user") final VmUser user)
              throws VMException {
          List<Project> projects = new ArrayList<>();
          if (isValidUser(user.getUsername(), user.getPassword()) != null) {
              ProjectJpaController controller
                      = new ProjectJpaController(DataBaseManager
                              .getEntityManagerFactory());
              controller.findProjectEntities().stream().filter((p)
                      -> (p.getParentProjectId() == null)).forEachOrdered((p) -> {
                  projects.add(p);
              });
          }
docs: Web service operation
  
  @param user User requesting the information.
  @return List of root projects.
  @throws com.validation.manager.core.VMException