Class ContentRemigrationAction

  • All Implemented Interfaces:
    WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

    public class ContentRemigrationAction
    extends ConfluenceActionSupport
    Content migration action displays a count of the number of pages with unmigrated macros and provides access to the MacroMigrationService to migrate them.
    See Also:
    Serialized Form
    • Constructor Detail

      • ContentRemigrationAction

        public ContentRemigrationAction()
    • Method Detail

      • setMacroMigrationService

        public void setMacroMigrationService​(MacroMigrationService migrationService)
      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • hasSearchResults

        public boolean hasSearchResults()
      • getNumSearchResults

        public int getNumSearchResults()
      • getMaxShownResults

        public int getMaxShownResults()
      • isMigrationRequired

        public boolean isMigrationRequired()