Removes a bunch of cached resources from the cache.<p>

@param resources a list of resources

@see #uncacheResource(CmsResource)
327913
protected void uncacheResources(List<CmsResource> resources) {

        if (resources == null) {
            return;
        }
        for (int i = 0, n = resources.size(); i < n; i++) {
            // remove the resource
            uncacheResource(resources.get(i));
        }
    }
1098027
public function removeResources ()
	{

		foreach (array_keys ($this->resources) as $name)
		{
			if (isset ($this->$name))
			{
				unset ($this->$name);
			}
		}

		unset ($this->resources);
		
	}
494943
public void setResources(List value) {

        if (value == null) {
            m_resources = new ArrayList();
            return;
        }
        m_resources = CmsFileUtil.removeRedundancies(value);
    }
582673
public final void clearCache() {
        if (unusedViews != null) {
            unusedViews.clear();
            unusedViews = null;
        }

        logger.logDebug(getClass(), "Removed all unused views from cache");
    }
856147
public void removeFromCache(Set<String> rootPaths, boolean online) {

        Map<String, Boolean> cache;
        if (online) {
            cache = m_onlineJsps;
        } else {
            cache = m_offlineJsps;
        }
        Iterator<String> itRemove = rootPaths.iterator();
        while (itRemove.hasNext()) {
            String rootPath = itRemove.next();
            cache.remove(rootPath);
        }
    }
233711
protected void setResourcesParam(List<String> resources) {

        m_collectorParameter += I_CmsListResourceCollector.SEP_PARAM
            + I_CmsListResourceCollector.PARAM_RESOURCES
            + I_CmsListResourceCollector.SEP_KEYVAL;
        if (resources == null) {
            // search anywhere
            m_collectorParameter += "/";
        } else {
            m_collectorParameter += CmsStringUtil.collectionAsString(resources, "#");
        }
    }
206527
private void removeResource(FacesContext context, UIComponent resource, UIViewRoot view) {
        view.removeComponentResource(context, resource, HEAD);
        view.removeComponentResource(context, resource, TARGET);
    }
1056579
private void deleteResource(CmsResource resource) throws CmsException {

        String path = null;
        CmsObject cms = getCmsObject();
        try {
            path = cms.getSitePath(resource);
            cms.lockResource(path);
            cms.deleteResource(path, CmsResource.DELETE_PRESERVE_SIBLINGS);
            // check if any detail container page resources exist to this resource
            List<CmsResource> detailContainers = CmsDetailOnlyContainerUtil.getDetailOnlyResources(cms, resource);
            for (CmsResource detailContainer : detailContainers) {
                deleteResource(detailContainer);
            }
        } finally {
            try {
                if (path != null) {
                    getCmsObject().unlockResource(path);
                }
            } catch (Exception e) {
                // should really never happen
                LOG.debug(e.getLocalizedMessage(), e);
            }
        }
    }
496075
def remove_resources(self, resources):
    

    resources_to_delete = self._build_resource_dictionary(resources)
    for email in resources_to_delete.keys():
      if email in self._resources:
        del self._resources[email]

    self._dirty_attributes.add(u'resources')
1249039
protected synchronized void unjoin(SIXAResource resource)
   {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "unjoin", resource);
      resourcesJoinedToThisResource.remove(resource);
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "unjoin");
   }
1106029
public void setResources(java.util.Collection<Resource> resources) {
        if (resources == null) {
            this.resources = null;
            return;
        }

        this.resources = new java.util.ArrayList<Resource>(resources);
    }
668049
protected boolean remove(CmsResource resource) {

        // it is essential that this method is only visible within the db package!
        boolean ret = m_fileList.remove(resource);
        ret |= m_folderList.remove(resource);
        ret |= m_deletedFolderList.remove(resource);
        return ret;
    }
693806
public void removeUnchangedTopLevelResources(ResourceMap publishRelatedResources, ResourceMap reachability) {

        Set<CmsResource> unchangedParents = Sets.newHashSet();
        Set<CmsResource> childrenOfUnchangedParents = Sets.newHashSet();
        Set<CmsResource> other = Sets.newHashSet();
        for (CmsResource parent : publishRelatedResources.keySet()) {
            if (isUnchangedAndShouldBeRemoved(parent)) {
                unchangedParents.add(parent);
                childrenOfUnchangedParents.addAll(publishRelatedResources.get(parent));
            } else {
                other.add(parent);
                other.addAll(publishRelatedResources.get(parent));
            }
        }

        // we want the resources which *only* occur as children of unchanged parents
        childrenOfUnchangedParents.removeAll(other);

        for (CmsResource parent : unchangedParents) {
            publishRelatedResources.remove(parent);
        }

        // Try to find hierarchical relationships in childrenOfUnchangedParents
        while (findAndMoveParentWithChildren(childrenOfUnchangedParents, reachability, publishRelatedResources)) {
            // do nothing
        }
        // only the resources with no 'children' are left, transfer them to the target map
        for (CmsResource remainingResource : childrenOfUnchangedParents) {
            publishRelatedResources.get(remainingResource);
        }
    }
927959
protected static void removeInternalFiles(List<CmsResource> resources) {

        Iterator<CmsResource> iter = resources.iterator();
        while (iter.hasNext()) {
            CmsResource resource = iter.next();
            if (resource.isInternal()) {
                iter.remove();
            }
        }
    }
618265
public void clear() {
		verifyState();

		initDepth.set(initDepth.get() - 1);
		if (initDepth.get() == 0) {
			resourceCache.set(null);
			cacheLocked.set(null);
			initDepth.set(null);
		}
	}
904032
public static base_response unset(nitro_service client, cacheparameter resource, String[] args) throws Exception{
		cacheparameter unsetresource = new cacheparameter();
		return unsetresource.unset_resource(client,args);
	}
696645
public static void clearResourceBitmaps() {
        if (!AndroidGraphicFactory.KEEP_RESOURCE_BITMAPS) {
            return;
        }
        synchronized (RESOURCE_BITMAPS) {
            for (Pair<android.graphics.Bitmap, Integer> p : RESOURCE_BITMAPS.values()) {
                p.first.recycle();
                if (AndroidGraphicFactory.DEBUG_BITMAPS) {
                    rInstances.decrementAndGet();
                }
            }
            if (AndroidGraphicFactory.DEBUG_BITMAPS) {
                rBitmaps.clear();
            }
            RESOURCE_BITMAPS.clear();
        }
    }