code: public void setResourcesInBean(CmsOrgUnitBean orgUnitBean, List<CmsResource> resources) {
  
          List<String> resourceNames = new ArrayList<String>();
          Iterator<CmsResource> itResources = resources.iterator();
          while (itResources.hasNext()) {
              CmsResource resource = itResources.next();
              resourceNames.add(getCms().getSitePath(resource));
          }
          orgUnitBean.setResources(resourceNames);
      }
docs: Sets the resources for the given orgUnitBean.<p>
  
  @param orgUnitBean the <code>CmsOrgUnitBean</code> object
  @param resources the list of resources