Package com.atlassian.confluence.content.render.xhtml.migration
package com.atlassian.confluence.content.render.xhtml.migration
-
ClassDescriptionA partial implementation of
ExceptionTolerantMigrator
which provides a default implementation of the deprecatedAbstractExceptionTolerantMigrator.migrate(String, com.atlassian.renderer.RenderContext, java.util.List)
method, which delegates to theExceptionTolerantMigrator.migrate(String, com.atlassian.confluence.content.render.xhtml.ConversionContext)
method.Source of migration work that can be broken up into batches.A composite exception that wraps a list of exceptions, useful for propagating list of exceptions that might have occurred during a batch task.BatchTask<T>A BatchTask implementation is supplied to aWorkSourceBatchRunner
to actually perform the required work on individual items read from theBatchableWorkSource
.Converts the old style wiki color macro into an XHTML<span>
elements (as used by TinyMCE).DAO to allow us to load content objects by id for migration.A work source that provides batches ofContentEntityObject
s that have XHTML formatted bodies.Generic DAO for hibernate objects.A MacroReplacementRendererRepository that looks up MacroReplacementRenderers based on the class of the macro to be replaced.A simple delegating implementation ofMigrationAware
andFragmentTransformer
.Interface to represent the concern of resolving of a v2 embedded resource into a persistent Attachment object.Extend the V2Render with a new method where a writeable List can be supplied to collect any exceptions thrown during renderering.Migrates / converts text from one format to another.Migrates / converts text from one text format to another.Represents the results of an attempted migration.A work source that provides batches ofContentEntityObject
s that have XHTML formatted bodies.Required to allow us to break a circular dependency of the subRenderer back to the renderer.Resolves wiki text to an xhtml link.Generates a rendering that is to replace or override the default rendering of a macro to XHTML storage format.Representing a component that maintains a list ofMacroReplacementRenderer
to be used during migration of macros.To be implemented by thoseFragmentTransformer
s,Unmarshaller
s andMarshaller
s which are aware of when they've made a transformation that constitutes a "migration" from one format to another.Wraps theMigrationAware
interface in aPredicate
.Overrides the default behaviour to prevent the last modified user being changed when migrating.Converts the old style nolink or nl macro into an XHTML<span>
elementsOrderedEntityObjectBatchableWorkSource<T extends com.atlassian.core.bean.EntityObject>ABatchableWorkSource
implementation which retrieves batches ofEntityObject
s by ordering the entities by their IDs.OrderedEntityObjectBatchableWorkSource.EntitySource<T extends com.atlassian.core.bean.EntityObject>ASiteMigrator
that manages the migration of Page Templates.A component responsible for performing the conversion of content within Confluence to the latest format.Creates various flavours ofSiteMigrator
.A Marshaller specifically used in handling links forUrlResourceIdentifier
.URL based identifier.Source that provides batches ofContentEntityObject
s that require migration.Convert a wiki formatted String into Confluence Editor format HTML.Convert wiki formatted text to the XHTML format used for storage from Confluence 4.0.This class is typically the basis for upgrade or migration tasks that need to manipulate a large amount of content.Handles conversion of camelCase links to XHTML links during migration.Migrate images and convert any other embedded types to the multimedia macro.A migration renderer component that will convert emoticon's in wiki format to the new Xhtml storage format.Converts wiki link text to xhtml link objects for migration.Migrate content to the current storage format using a simple storage to storage fragment transformer.Renders wiki markup template variables as XHTML template variables.