code: public List<CmsPublishedResource> readPublishedResources(CmsDbContext dbc, CmsUUID publishHistoryId)
      throws CmsException {
  
          String cacheKey = publishHistoryId.toString();
          List<CmsPublishedResource> resourceList = m_monitor.getCachedPublishedResources(cacheKey);
          if ((resourceList == null) || !dbc.getProjectId().isNullUUID()) {
              resourceList = getProjectDriver(dbc).readPublishedResources(dbc, publishHistoryId);
              // store the result in the cache
              if (dbc.getProjectId().isNullUUID()) {
                  m_monitor.cachePublishedResources(cacheKey, resourceList);
              }
          }
          return resourceList;
      }
docs: Reads the resources that were published in a publish task for a given publish history ID.<p>
  
  @param dbc the current database context
  @param publishHistoryId unique int ID to identify each publish task in the publish history
  
  @return a list of <code>{@link org.opencms.db.CmsPublishedResource}</code> objects
  
  @throws CmsException if something goes wrong