Class PageTemplateMigratorTask
java.lang.Object
org.springframework.transaction.support.TransactionCallbackWithoutResult
com.atlassian.confluence.content.render.xhtml.migration.tasks.PageTemplateMigratorTask
- All Implemented Interfaces:
org.springframework.transaction.support.TransactionCallback<Object>
@Deprecated(forRemoval=true)
public final class PageTemplateMigratorTask
extends org.springframework.transaction.support.TransactionCallbackWithoutResult
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.1 unused
Performs migration of all Page Templates that match a given selector, by passing the templates'
content through an
ExceptionTolerantMigrator
and storing the result as a new template version.-
Constructor Summary
ConstructorsConstructorDescriptionPageTemplateMigratorTask
(ExceptionTolerantMigrator migrator, PageTemplateDao dao, PageTemplateManager pageTemplateManager, ExceptionReport report, Predicate<PageTemplate> migrationCandidateSelector) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doInTransactionWithoutResult
(org.springframework.transaction.TransactionStatus status) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.transaction.support.TransactionCallbackWithoutResult
doInTransaction
-
Constructor Details
-
PageTemplateMigratorTask
public PageTemplateMigratorTask(ExceptionTolerantMigrator migrator, PageTemplateDao dao, PageTemplateManager pageTemplateManager, ExceptionReport report, Predicate<PageTemplate> migrationCandidateSelector) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
doInTransactionWithoutResult
protected void doInTransactionWithoutResult(org.springframework.transaction.TransactionStatus status) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
doInTransactionWithoutResult
in classorg.springframework.transaction.support.TransactionCallbackWithoutResult
-