public static List<String> calculateModuleResourceNames(final CmsObject cms, final CmsModule module)
    throws CmsException {

        // adjust the site root, if necessary
        CmsObject cmsClone = adjustSiteRootIfNecessary(cms, module);

        // calculate the module resources
        List<CmsResource> moduleResources = calculateModuleResources(cmsClone, module);

        // get the site paths
        List<String> moduleResouceNames = new ArrayList<String>(moduleResources.size());
        for (CmsResource resource : moduleResources) {
            moduleResouceNames.add(cmsClone.getSitePath(resource));
        }
        return moduleResouceNames;
    }
public static List < String > calculateModuleResourceNames ( final CmsObject cms , final CmsModule module ) throws CmsException { CmsObject cmsClone = adjustSiteRootIfNecessary ( cms , module ) ; List < CmsResource > moduleResources = calculateModuleResources ( cmsClone , module ) ; List < String > moduleResouceNames = new ArrayList < String > ( moduleResources . size ( ) ) ; for ( CmsResource resource : moduleResources ) { moduleResouceNames . add ( cmsClone . getSitePath ( resource ) ) ; } return moduleResouceNames ; }
Calculates the resources belonging to the module, taking excluded resources and readability of resources into account,
and returns site paths of the module resources.<p>
For more details of the returned resource, see {@link #calculateModuleResources(CmsObject, CmsModule)}.

@param cms the {@link CmsObject} used to read the resources.
@param module the module, for which the resources should be calculated
@return the calculated module resources
@throws CmsException thrown if reading resources fails.