info.magnolia.ui.dialog.setup.migration
Class FileControlMigrator
java.lang.Object
info.magnolia.ui.dialog.setup.migration.FileControlMigrator
- All Implemented Interfaces:
- ControlMigrator
public class FileControlMigrator
- extends Object
- implements ControlMigrator
Migrate an File control to a BasicUploadField.
Method Summary |
void |
migrate(javax.jcr.Node controlNode,
info.magnolia.module.InstallContext installContext)
Take a specific control's migration action. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileControlMigrator
public FileControlMigrator()
migrate
public void migrate(javax.jcr.Node controlNode,
info.magnolia.module.InstallContext installContext)
throws javax.jcr.RepositoryException
- Description copied from interface:
ControlMigrator
- Take a specific control's migration action.
- Specified by:
migrate
in interface ControlMigrator
- Parameters:
controlNode
- on which the migration is done. Topically, remove, rename, add properties, nodes.installContext
- used to log migration issues or warn user for interaction.
- Throws:
javax.jcr.RepositoryException
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.