info.magnolia.setup.for3_5
Class IPConfigRulesUpdate

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.AllChildrenNodesOperation
              extended by info.magnolia.setup.for3_5.IPConfigRulesUpdate
All Implemented Interfaces:
Task

public class IPConfigRulesUpdate
extends AllChildrenNodesOperation

Updates pre 3.5 IP configuration rules to the format used since 3.5.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
IPConfigRulesUpdate()
           
 
Method Summary
protected  void operateOnChildNode(Content node, InstallContext ctx)
          Update made for each subnode.
 
Methods inherited from class info.magnolia.module.delta.AllChildrenNodesOperation
doExecute, getParentNode
 
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

IPConfigRulesUpdate

public IPConfigRulesUpdate()
Method Detail

operateOnChildNode

protected void operateOnChildNode(Content node,
                                  InstallContext ctx)
                           throws javax.jcr.RepositoryException,
                                  TaskExecutionException
Update made for each subnode. old configuration: rule-name (p) IP (n) Access (n) 0001 (p) Method = GET (n) 0002 (p) Method = POST new configuration: rule-name (p) IP = * (p) methods = GET,POST

Specified by:
operateOnChildNode in class AllChildrenNodesOperation
Throws:
javax.jcr.RepositoryException
TaskExecutionException


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.