info.magnolia.module.googlesitemap.setup.for2_1
Class UpdatePropertyNamesAndNodeStructure

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.googlesitemap.setup.for2_1.UpdatePropertyNamesAndNodeStructure
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class UpdatePropertyNamesAndNodeStructure
extends info.magnolia.module.delta.AbstractTask

Rename the SiteMapNodeTypes.SiteMap properties (from displayName to mgnl:googleSiteMapDisplayName,...) and
change the node structure (used to store the related SiteMap pages):
- from a 'sites' sub node - to a SiteMapNodeTypes.SiteMap.PAGES JCR multi value property.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING
 
Constructor Summary
UpdatePropertyNamesAndNodeStructure(String taskName, String taskDescription)
           
 
Method Summary
 void execute(info.magnolia.module.InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdatePropertyNamesAndNodeStructure

public UpdatePropertyNamesAndNodeStructure(String taskName,
                                           String taskDescription)
Method Detail

execute

public void execute(info.magnolia.module.InstallContext ctx)
             throws info.magnolia.module.delta.TaskExecutionException
Throws:
info.magnolia.module.delta.TaskExecutionException


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