info.magnolia.module.delta
Class RenamePropertiesTask

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

public class RenamePropertiesTask
extends AbstractRepositoryTask

Renames all properties having a certain name to the provided new name.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
RenamePropertiesTask(String name, String description, String workspace, String path, String oldName, String newName)
           
 
Method Summary
 void doExecute(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

RenamePropertiesTask

public RenamePropertiesTask(String name,
                            String description,
                            String workspace,
                            String path,
                            String oldName,
                            String newName)
Method Detail

doExecute

public void doExecute(InstallContext installContext)
               throws javax.jcr.RepositoryException
Specified by:
doExecute in class AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException


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