<p>
Resources which were deleted.
</p>

@param deletedResources
Resources which were deleted.
327229
public void setDeletedResources(java.util.Collection<Resource> deletedResources) {
        if (deletedResources == null) {
            this.deletedResources = null;
            return;
        }

        this.deletedResources = new java.util.ArrayList<Resource>(deletedResources);
    }
144343
public List<Resource<L>> removeResource(Resource<L> doomedResource) {
        graphLockWrite.lock();
        try {
            List<Resource<L>> removedResources = new ArrayList<Resource<L>>();
            Resource<L> resourceToRemove = getResource(doomedResource.getID());
            if (resourceToRemove != null) {
                getAllDescendants(resourceToRemove, removedResources);
                removedResources.add(resourceToRemove);
                removedResources.forEach(r -> this.resourcesGraph.removeVertex(r));
            }
            return Collections.unmodifiableList(removedResources);
        } finally {
            graphLockWrite.unlock();
        }
    }
65354
public void setReferencedByResources(java.util.Collection<String> referencedByResources) {
        if (referencedByResources == null) {
            this.referencedByResources = null;
            return;
        }

        this.referencedByResources = new java.util.ArrayList<String>(referencedByResources);
    }
1220025
private Set<Source> calculateRemovedSources() {
        Set<Source> removed = new HashSet<>();
        for (String src : prev.sources().keySet()) {
            if (now.sources().get(src) == null) {
                removed.add(prev.sources().get(src));
            }
        }
        return removed;
    }
722899
public void setResourceTags(java.util.Collection<MapFilter> resourceTags) {
        if (resourceTags == null) {
            this.resourceTags = null;
            return;
        }

        this.resourceTags = new java.util.ArrayList<MapFilter>(resourceTags);
    }
807419
private void initDeletedResources(CmsObject cms, List<I_CmsHistoryResource> deletedResources) throws CmsException {

        Collections.sort(deletedResources, new Comparator<I_CmsHistoryResource>() {

            public int compare(I_CmsHistoryResource first, I_CmsHistoryResource second) {

                return first.getRootPath().compareTo(second.getRootPath());
            }
        });
        m_deletedResourceContainer.removeAllComponents();
        m_selectionContainer = new IndexedContainer();
        m_selectionContainer.addContainerProperty(PROP_SELECTED, Boolean.class, Boolean.FALSE);
        m_okButton.setEnabled(!deletedResources.isEmpty());
        if (deletedResources.isEmpty()) {
            m_deletedResourceContainer.addComponent(
                new Label(CmsVaadinUtils.getMessageText(org.opencms.workplace.list.Messages.GUI_LIST_EMPTY_0)));

        }
        for (I_CmsHistoryResource deleted : deletedResources) {
            I_CmsResourceType resType = OpenCms.getResourceManager().getResourceType(deleted.getTypeId());
            String typeName = resType.getTypeName();
            CmsExplorerTypeSettings explorerType = OpenCms.getWorkplaceManager().getExplorerTypeSetting(typeName);
            String title = cms.getRequestContext().removeSiteRoot(deleted.getRootPath());

            String subtitle = CmsVaadinUtils.getMessageText(
                org.opencms.ui.Messages.GUI_RESTOREDELETED_DATE_VERSION_2,
                CmsVfsService.formatDateTime(cms, deleted.getDateLastModified()),
                "" + deleted.getVersion());
            if (explorerType == null) {
                explorerType = OpenCms.getWorkplaceManager().getExplorerTypeSetting(
                    deleted.isFile()
                    ? CmsResourceTypeUnknownFile.RESOURCE_TYPE_NAME
                    : CmsResourceTypeUnknownFolder.RESOURCE_TYPE_NAME);
            }
            CmsResourceInfo info = new CmsResourceInfo(
                title,
                subtitle,
                CmsResourceUtil.getBigIconResource(explorerType, deleted.getName()));
            info.setWidth("100%");
            HorizontalLayout hl = new HorizontalLayout();
            hl.setWidth("100%");
            CheckBox checkbox = new CheckBox();
            hl.addComponent(checkbox);
            hl.addComponent(info);
            hl.setExpandRatio(info, 1);
            hl.setComponentAlignment(checkbox, Alignment.MIDDLE_LEFT);
            m_selectionContainer.addItem(deleted.getStructureId());
            checkbox.setPropertyDataSource(
                m_selectionContainer.getItem(deleted.getStructureId()).getItemProperty(PROP_SELECTED));
            m_deletedResourceContainer.addComponent(hl);
        }

    }
979622
public void setBuildsDeleted(java.util.Collection<String> buildsDeleted) {
        if (buildsDeleted == null) {
            this.buildsDeleted = null;
            return;
        }

        this.buildsDeleted = new java.util.ArrayList<String>(buildsDeleted);
    }
1070085
protected void deleteResource(I_CmsIndexWriter indexWriter, CmsPublishedResource resource) {

        try {
            if (LOG.isInfoEnabled()) {
                LOG.info(Messages.get().getBundle().key(Messages.LOG_DELETING_FROM_INDEX_1, resource.getRootPath()));
            }
            // delete all documents with this term from the index
            indexWriter.deleteDocument(resource);
        } catch (IOException e) {
            if (LOG.isWarnEnabled()) {
                LOG.warn(
                    Messages.get().getBundle().key(
                        Messages.LOG_IO_INDEX_DOCUMENT_DELETE_2,
                        resource.getRootPath(),
                        m_index.getName()),
                    e);
            }
        }
    }
680486
public void actionDeleteResource() throws JspException {

        if ((getParamDialogmode() != null) && getParamDialogmode().startsWith(MODE_WIZARD)) {
            // only delete resource if dialog mode is a wizard mode
            try {
                getCms().deleteResource(getParamResource(), CmsResource.DELETE_PRESERVE_SIBLINGS);
            } catch (Throwable e) {
                // error deleting the resource, show error dialog
                includeErrorpage(this, e);
            }
        }
    }
768146
public void setResourceTags(java.util.Collection<ResourceTag> resourceTags) {
        if (resourceTags == null) {
            this.resourceTags = null;
            return;
        }

        this.resourceTags = new com.amazonaws.internal.SdkInternalList<ResourceTag>(resourceTags);
    }
1099848
public function handleDeleteUnusedResources(): void
	{
		if ($this->isAjax()) {
			$this->orm->aclResources->deleteUnused();
			$this->flashNotifier->success('cms.permissions.unusedResourcesDeleted');
		} else {
			$this->terminate();
		}
	}
151160
public void setResourceShares(java.util.Collection<ResourceShare> resourceShares) {
        if (resourceShares == null) {
            this.resourceShares = null;
            return;
        }

        this.resourceShares = new java.util.ArrayList<ResourceShare>(resourceShares);
    }
959634
public void setResourceShareInvitations(java.util.Collection<ResourceShareInvitation> resourceShareInvitations) {
        if (resourceShareInvitations == null) {
            this.resourceShareInvitations = null;
            return;
        }

        this.resourceShareInvitations = new java.util.ArrayList<ResourceShareInvitation>(resourceShareInvitations);
    }
1068092
public void setS3Resources(java.util.Collection<S3ResourceClassification> s3Resources) {
        if (s3Resources == null) {
            this.s3Resources = null;
            return;
        }

        this.s3Resources = new java.util.ArrayList<S3ResourceClassification>(s3Resources);
    }
252037
@com.fasterxml.jackson.annotation.JsonProperty("ResourceIds")
    public void setResourceIds(java.util.Collection<String> resourceIds) {
        if (resourceIds == null) {
            this.resourceIds = null;
            return;
        }

        this.resourceIds = new java.util.ArrayList<String>(resourceIds);
    }
1106029
public void setResources(java.util.Collection<Resource> resources) {
        if (resources == null) {
            this.resources = null;
            return;
        }

        this.resources = new java.util.ArrayList<Resource>(resources);
    }
721572
protected boolean containsResource(CmsResource res) {

        return m_deletedFolderList.contains(res) || m_folderList.contains(res) || m_fileList.contains(res);
    }