code: public void setSubscribedResourceAsDeleted(CmsRequestContext context, String poolName, CmsResource resource)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              m_driverManager.setSubscribedResourceAsDeleted(dbc, poolName, resource);
          } catch (Exception e) {
  
              dbc.report(
                  null,
                  Messages.get().container(
                      Messages.ERR_SET_SUBSCRIBED_RESOURCE_AS_DELETED_1,
                      context.getSitePath(resource)),
                  e);
  
          } finally {
              dbc.clear();
          }
      }
docs: Marks a subscribed resource as deleted.<p>
  
  @param context the request context
  @param poolName the name of the database pool to use
  @param resource the subscribed resource to mark as deleted
  
  @throws CmsException if something goes wrong