info.magnolia.ui.dialog.setup.migration
Class MultiSelectControlMigration

java.lang.Object
  extended by info.magnolia.ui.dialog.setup.migration.MultiSelectControlMigration
All Implemented Interfaces:
ControlMigration
Direct Known Subclasses:
DataUUIDMultiSelectControlMigration

public class MultiSelectControlMigration
extends Object
implements ControlMigration

Migrate an MultiSelect control to a MultiLinkFieldDefinition.


Field Summary
protected  boolean useIdentifier
           
 
Constructor Summary
MultiSelectControlMigration(boolean useIdentifier)
           
 
Method Summary
 void migrate(javax.jcr.Node controlNode)
          Migrate control to a filed.
protected  void setSeletionApp(javax.jcr.Node controlNode, javax.jcr.Node fieldNode)
          Set Selection App.
protected  void setTransformerClass(javax.jcr.Node controlNode)
          Set the transformerClass.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useIdentifier

protected boolean useIdentifier
Constructor Detail

MultiSelectControlMigration

public MultiSelectControlMigration(boolean useIdentifier)
Method Detail

migrate

public void migrate(javax.jcr.Node controlNode)
             throws javax.jcr.RepositoryException
Description copied from interface: ControlMigration
Migrate control to a filed.

Specified by:
migrate in interface ControlMigration
Throws:
javax.jcr.RepositoryException

setSeletionApp

protected void setSeletionApp(javax.jcr.Node controlNode,
                              javax.jcr.Node fieldNode)
                       throws javax.jcr.RepositoryException
Set Selection App.

Throws:
javax.jcr.RepositoryException

setTransformerClass

protected void setTransformerClass(javax.jcr.Node controlNode)
                            throws javax.jcr.RepositoryException
Set the transformerClass.

Throws:
javax.jcr.RepositoryException


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.