code: public List<CmsPublishedResource> readPublishedResources(CmsRequestContext context, CmsUUID publishHistoryId)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          List<CmsPublishedResource> result = null;
          try {
              result = m_driverManager.readPublishedResources(dbc, publishHistoryId);
          } catch (Exception e) {
              dbc.report(
                  null,
                  Messages.get().container(Messages.ERR_READ_PUBLISHED_RESOURCES_FOR_ID_1, publishHistoryId.toString()),
                  e);
          } finally {
              dbc.clear();
          }
          return result;
      }
docs: Reads the resources that were published in a publish task for a given publish history ID.<p>
  
  @param context the current request context
  @param publishHistoryId unique 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