Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.extract.diff
Class DiffUtil

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.extract.diff.DiffUtil

public final class DiffUtil
extends java.lang.Object

This class contains static utility methods to support the Seed Extract Diff methods.


Method Summary
static void setFileVersion(oracle.xml.parser.v2.XMLDocument xmlDoc, int newFileVersion)
          Sets the fileversion attribute in the document root node to given value.
static int setRowVersions(oracle.xml.parser.v2.XMLDocument xmlDoc, java.util.Collection diffKeys, int newRowVersion)
          Set the row versions for the given set of row keys to the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setRowVersions

public static int setRowVersions(oracle.xml.parser.v2.XMLDocument xmlDoc,
                                 java.util.Collection diffKeys,
                                 int newRowVersion)
                          throws ExtractException
Set the row versions for the given set of row keys to the given value.

Parameters:
xmlDoc - XMLDocument to modifiy
diffKeys - Collection of diff keys that need to be set
newRowVersion - version value to set for each row
Returns:
total number of changes made
Throws:
ExtractException - missing required attributes

setFileVersion

public static void setFileVersion(oracle.xml.parser.v2.XMLDocument xmlDoc,
                                  int newFileVersion)
                           throws ExtractException
Sets the fileversion attribute in the document root node to given value.

Parameters:
xmlDoc - XMLDocument to modify
newFileVersion - version value to set
Throws:
ExtractException - if missing fileversion attribute

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.