info.magnolia.module.delta
Class ChangeVirtualUriMappingTask

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

public class ChangeVirtualUriMappingTask
extends AbstractRepositoryTask

Task for changing Virtual URI mappings - replaces old toURI and oldURI values with new ones.


Field Summary
protected static String FROM_URI
           
protected static String TO_URI
           
protected static String VIRTUAL_URI_MAPPING
           
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING
 
Constructor Summary
ChangeVirtualUriMappingTask(String currentValue, String newValue)
           
ChangeVirtualUriMappingTask(String currentValue, String newValue, String[] includedPrefixes)
           
ChangeVirtualUriMappingTask(String name, String description, String currentValue, String newValue)
           
ChangeVirtualUriMappingTask(String name, String description, String currentValue, String newValue, String[] includedPrefixes)
           
 
Method Summary
protected  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
 

Field Detail

VIRTUAL_URI_MAPPING

protected static final String VIRTUAL_URI_MAPPING
See Also:
Constant Field Values

FROM_URI

protected static final String FROM_URI
See Also:
Constant Field Values

TO_URI

protected static final String TO_URI
See Also:
Constant Field Values
Constructor Detail

ChangeVirtualUriMappingTask

public ChangeVirtualUriMappingTask(String currentValue,
                                   String newValue)

ChangeVirtualUriMappingTask

public ChangeVirtualUriMappingTask(String currentValue,
                                   String newValue,
                                   String[] includedPrefixes)

ChangeVirtualUriMappingTask

public ChangeVirtualUriMappingTask(String name,
                                   String description,
                                   String currentValue,
                                   String newValue)

ChangeVirtualUriMappingTask

public ChangeVirtualUriMappingTask(String name,
                                   String description,
                                   String currentValue,
                                   String newValue,
                                   String[] includedPrefixes)
Method Detail

doExecute

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


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