public List<CmsResource> changeResourcesInFolderWithProperty(
        String resourcename,
        String property,
        String oldValue,
        String newValue,
        boolean recursive)
    throws CmsException {

        CmsResource resource = readResource(resourcename, CmsResourceFilter.IGNORE_EXPIRATION);
        return m_securityManager.changeResourcesInFolderWithProperty(
            m_context,
            resource,
            property,
            oldValue,
            newValue,
            recursive);
    }
public List < CmsResource > changeResourcesInFolderWithProperty ( String resourcename , String property , String oldValue , String newValue , boolean recursive ) throws CmsException { CmsResource resource = readResource ( resourcename , CmsResourceFilter . IGNORE_EXPIRATION ) ; return m_securityManager . changeResourcesInFolderWithProperty ( m_context , resource , property , oldValue , newValue , recursive ) ; }
Returns a list with all sub resources of a given folder that have set the given property,
matching the current property's value with the given old value and replacing it by a given new value.<p>

@param resourcename the name of the resource to change the property value
@param property the name of the property to change the value
@param oldValue the old value of the property, can be a regular expression
@param newValue the new value of the property
@param recursive if true, change recursively all property values on sub-resources (only for folders)

@return a list with the <code>{@link CmsResource}</code>'s where the property value has been changed

@throws CmsException if operation was not successful