com.atlassian.confluence.content.render.xhtml.migration.macro
Class JiraIssueMacroServerParamsMigrator

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.migration.macro.JiraIssueMacroServerParamsMigrator

public class JiraIssueMacroServerParamsMigrator
extends java.lang.Object

Searches for all usages of the JIRA Issue macro and stores an additional identifier for the application link ('serverId'). It's important to only add these params when an applink matching the name stored in the macro params can be found. This enables the upgrade task to be re-run to fix existing macro usages that were previously broken.

See Also:
JiraIssueMacroServerParamsUpgradeTask

Constructor Summary
JiraIssueMacroServerParamsMigrator(SearchManager searchManager, org.springframework.transaction.PlatformTransactionManager platformTransactionManager, ContentDao contentDao, XhtmlContent xhtmlContent, com.atlassian.applinks.api.ApplicationLinkService applinkService)
           
 
Method Summary
 void migrate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraIssueMacroServerParamsMigrator

public JiraIssueMacroServerParamsMigrator(SearchManager searchManager,
                                          org.springframework.transaction.PlatformTransactionManager platformTransactionManager,
                                          ContentDao contentDao,
                                          XhtmlContent xhtmlContent,
                                          com.atlassian.applinks.api.ApplicationLinkService applinkService)
Method Detail

migrate

public void migrate()
             throws MigrationException
Throws:
MigrationException


Copyright © 2003-2014 Atlassian. All Rights Reserved.