info.magnolia.module.forum.setup
Class ReRegisterNodeTypes

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.forum.setup.ReRegisterNodeTypes
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class ReRegisterNodeTypes
extends info.magnolia.module.delta.AbstractRepositoryTask

Forces the re-registration of the forum node types. Will fail miserably if Jackrabbit isn't on the classpath, and most likely just as miserably if another JCR implementation is used. See MGNLFORUM-94, MGNLFORUM-122 and MGNLFORUM-127.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
ReRegisterNodeTypes()
           
 
Method Summary
protected  void doExecute(info.magnolia.module.InstallContext installContext)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
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

ReRegisterNodeTypes

public ReRegisterNodeTypes()
Method Detail

doExecute

protected void doExecute(info.magnolia.module.InstallContext installContext)
                  throws javax.jcr.RepositoryException,
                         info.magnolia.module.delta.TaskExecutionException
Specified by:
doExecute in class info.magnolia.module.delta.AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException


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