public static void generateFixedUrls ( final ContentSpec contentSpec , boolean missingOnly , final Integer fixedUrlPropertyTagId ) { final Set < String > existingFixedUrls = new HashSet < String > ( ) ; final Set < SpecNode > nodesWithoutFixedUrls = new HashSet < SpecNode > ( ) ; final List < SpecNode > specNodes = getAllSpecNodes ( contentSpec ) ; // Collect any current fixed urls or nodes that need configuring if ( missingOnly ) { collectFixedUrlInformation ( specNodes , nodesWithoutFixedUrls , existingFixedUrls ) ; } generateFixedUrlForNodes ( nodesWithoutFixedUrls , existingFixedUrls , fixedUrlPropertyTagId ) ; }
Generate the fixed urls and sets it where required for a content specification .