/** * Sets the resources of this project.<p> * * @param value the project resources to set */ public void setResources(List value) { if (value == null) { m_resources = new ArrayList(); return; } m_resources = CmsFileUtil.removeRedundancies(value); }
/** * Sets the resources list.<p> * * @param value the resources to set */ public void setResources(List value) { if (value == null) { m_resources = new ArrayList(); return; } m_resources = CmsFileUtil.removeRedundancies(value); }
List<String> excluded = CmsFileUtil.removeRedundancies(module.getExcludeResources()); excluded = removeNonAccessible(cmsClone, excluded); List<String> resourceSitePaths = CmsFileUtil.removeRedundancies(module.getResources()); resourceSitePaths = removeNonAccessible(cmsClone, resourceSitePaths);
parentFolderNames = CmsFileUtil.removeRedundancies(parentFolderNames); String parentFolderName = null; try {
parentFolderNames = CmsFileUtil.removeRedundancies(parentFolderNames); String parentFolderName = null; try {
/** * Returns the <b>unstarted</b> <code>Thread</code> that will do the work.<p> * * @return the <b>unstarted</b> <code>Thread</code> that will do the work * * @see org.opencms.workplace.list.A_CmsListReport#initializeThread() */ @Override public I_CmsReportThread initializeThread() { List resources = new ArrayList(); if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(getParamResources())) { resources = CmsStringUtil.splitAsList(getParamResources(), ","); } resources = CmsFileUtil.removeRedundancies(resources); CmsRemovePubLocksThread thread = new CmsRemovePubLocksThread(getCms(), resources); return thread; }
List<String> resourceNames = CmsFileUtil.removeRedundancies(m_orgUnitBean.getResources()); CmsOrganizationalUnit newOrgUnit = OpenCms.getOrgUnitManager().createOrganizationalUnit( getCms(), Iterator<String> itResourceNames = CmsFileUtil.removeRedundancies(resourceNames).iterator(); while (itResourceNames.hasNext()) { OpenCms.getOrgUnitManager().addResourceToOrgUnit( orgunit.setDescription(m_orgUnitBean.getDescription()); orgunit.setFlags(m_orgUnitBean.getFlags()); List<String> resourceNamesNew = CmsFileUtil.removeRedundancies(m_orgUnitBean.getResources()); List<CmsResource> resourcesOld = OpenCms.getOrgUnitManager().getResourcesForOrganizationalUnit( getCms(),
Iterator i = CmsFileUtil.removeRedundancies(m_paths).iterator(); while (i.hasNext()) { String path = (String)i.next();
resListCopy = CmsFileUtil.removeRedundancies(resListCopy); String[] resources = new String[resListCopy.size()];
resourcesToExport = CmsFileUtil.removeRedundancies(resourcesToExport);
resourcesToExport = CmsFileUtil.removeRedundancies(resourcesToExport);