public void setParentResource(CmsResource parentResource) {

        if (parentResource.isFile()) {
            m_parentPath = CmsResource.getFolderPath(parentResource.getRootPath());
        } else {
            m_parentPath = parentResource.getRootPath();
        }
    }
public void setParentResource ( CmsResource parentResource ) { if ( parentResource . isFile ( ) ) { m_parentPath = CmsResource . getFolderPath ( parentResource . getRootPath ( ) ) ; } else { m_parentPath = parentResource . getRootPath ( ) ; } }
Sets the parent path to read visited resources from using the given resource as parent.<p>

@param parentResource the resource to use as parent resource