code: public void removeResourceFromUsersPubList(CmsRequestContext context, Collection<CmsUUID> structureIds)
      throws CmsException {
  
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              m_driverManager.removeResourceFromUsersPubList(dbc, context.getCurrentUser().getId(), structureIds);
          } catch (Exception e) {
              dbc.report(
                  null,
                  Messages.get().container(
                      Messages.ERR_REMOVE_RESOURCE_FROM_PUBLIST_2,
                      context.getCurrentUser().getName(),
                      structureIds),
                  e);
  
          } finally {
              dbc.clear();
          }
      }
docs: Removes the given resource to the given user's publish list.<p>
  
  @param context the request context
  @param structureIds the collection of structure IDs to remove
  
  @throws CmsException if something goes wrong