com.atlassian.jira.upgrade.util
Class UpgradeUtils

java.lang.Object
  extended bycom.atlassian.jira.upgrade.util.UpgradeUtils

public class UpgradeUtils
extends Object


Constructor Summary
UpgradeUtils(OfBizDelegator delegator)
           
 
Method Summary
 void clearColumn(String tableName, String column)
           
 void transformTableColumn(String tableName, String sourceColumn, String targetColumn, org.apache.commons.collections.Transformer transformer)
          Transform a column in a table into another column on that same table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeUtils

public UpgradeUtils(OfBizDelegator delegator)
Method Detail

transformTableColumn

public void transformTableColumn(String tableName,
                                 String sourceColumn,
                                 String targetColumn,
                                 org.apache.commons.collections.Transformer transformer)
Transform a column in a table into another column on that same table. If the source object is null, then the target field will not be set

Parameters:
tableName - name of table @NotNull
sourceColumn - name of source column @NotNull
targetColumn - name of target columns @NotNull
transformer - the transformer used to transform the column

clearColumn

public void clearColumn(String tableName,
                        String column)


Copyright © 2002-2006 Atlassian. All Rights Reserved.