com.atlassian.confluence.upgrade.upgradetask.attachmentceo
Class AttachmentToContentMigrator
java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.attachmentceo.AttachmentToContentMigrator
public class AttachmentToContentMigrator
- extends Object
Migrates attachments from the attachments table to the content table.
This also reindexes attachments as they must exist in the content table when we add them to the queue.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentToContentMigrator
public AttachmentToContentMigrator(net.sf.hibernate.Session session,
com.atlassian.hibernate.extras.ResettableTableHiLoGenerator contentPropertyIdGenerator,
ConfluenceIndexer confluenceIndexer,
DdlExecutor ddlExecutor,
DropForeignKeyConstraintCommandFactory dropForeignKeyConstraintCommandFactory,
Map<Long,Long> remappedAttachmentIds,
Set<Long> idsToReindex,
boolean minorEditExists,
boolean contentLabelAttIdExists)
migrateAttachments
public void migrateAttachments()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
Copyright © 2003–2015 Atlassian. All rights reserved.