code: public CmsUUID getProjectId(CmsDbContext dbc, int id) throws CmsException {
  
          Iterator<CmsProject> itProjects = getAllAccessibleProjects(
              dbc,
              readOrganizationalUnit(dbc, ""),
              true).iterator();
          while (itProjects.hasNext()) {
              CmsProject project = itProjects.next();
              if (project.getUuid().hashCode() == id) {
                  return project.getUuid();
              }
          }
          return null;
      }
docs: Returns the uuid id for the given id.<p>
  
  TODO: remove this method as soon as possible
  
  @param dbc the current database context
  @param id the old project id
  
  @return the new uuid for the given id
  
  @throws CmsException if something goes wrong