info.magnolia.module.shop.setup
Class ShopModuleVersionHandler

java.lang.Object
  extended by info.magnolia.module.AbstractModuleVersionHandler
      extended by info.magnolia.module.DefaultModuleVersionHandler
          extended by info.magnolia.module.admininterface.setup.SimpleContentVersionHandler
              extended by info.magnolia.module.shop.setup.ShopModuleVersionHandler
All Implemented Interfaces:
info.magnolia.module.ModuleVersionHandler

public class ShopModuleVersionHandler
extends info.magnolia.module.admininterface.setup.SimpleContentVersionHandler

This class is used to handle installation and updates of your module.


Nested Class Summary
 
Nested classes/interfaces inherited from class info.magnolia.module.AbstractModuleVersionHandler
info.magnolia.module.AbstractModuleVersionHandler.ModuleVersionToLatestTask, info.magnolia.module.AbstractModuleVersionHandler.ModuleVersionUpdateTask
 
Field Summary
 
Fields inherited from class info.magnolia.module.AbstractModuleVersionHandler
log
 
Constructor Summary
ShopModuleVersionHandler()
           
 
Method Summary
protected  List<info.magnolia.module.delta.Task> getBasicInstallTasks(info.magnolia.module.InstallContext installContext)
           
protected  List<info.magnolia.module.delta.Task> getExtraInstallTasks(info.magnolia.module.InstallContext installContext)
           
 
Methods inherited from class info.magnolia.module.AbstractModuleVersionHandler
getCurrentlyInstalled, getDefaultUpdate, getDefaultUpdateConditions, getDefaultUpdateTasks, getDeltas, getInstall, getInstallConditions, getStartupDelta, getStartupTasks, getUpdateDeltas, register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShopModuleVersionHandler

public ShopModuleVersionHandler()
Method Detail

getBasicInstallTasks

protected List<info.magnolia.module.delta.Task> getBasicInstallTasks(info.magnolia.module.InstallContext installContext)
Overrides:
getBasicInstallTasks in class info.magnolia.module.DefaultModuleVersionHandler
Parameters:
installContext -
Returns:
a list with all the RegisterNodeTypeTask objects needed for the shop node types

getExtraInstallTasks

protected List<info.magnolia.module.delta.Task> getExtraInstallTasks(info.magnolia.module.InstallContext installContext)
Overrides:
getExtraInstallTasks in class info.magnolia.module.admininterface.setup.SimpleContentVersionHandler


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