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

E22564-02

oracle.apps.fnd.applseed.rt.extract.common
Class ExtractFileList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<ExtractFile>
              extended by oracle.apps.fnd.applseed.rt.extract.common.ExtractFileList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<ExtractFile>, java.util.Collection<ExtractFile>, java.util.List<ExtractFile>, java.util.RandomAccess

public class ExtractFileList
extends java.util.ArrayList<ExtractFile>

This class holds the list of Extract Files to process as an ArrayList. Provides helper methods to return various filtered lists based on attributes of each ExtractFile.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ExtractFileList()
          Default Constructor.
ExtractFileList(java.util.Collection<? extends ExtractFile> c)
          Constructor to build new object from given collection of ExtractFiles.
 
Method Summary
 ExtractFile[] asArray()
          Return this list as an ExtractFile array.
 ExtractFileList getCheckedOutList()
          Get the list of checked out Extract Files.
 ExtractFileList getCompletedList()
          Get the list of extract files marked as completed from this list.
 ExtractFileList getDiffsList()
          Get the list of extract files that contain diffs from previous vcs version.
 java.util.List<java.lang.String> getFileNames()
          Return the list of filepath names succesfully completed, including base xml and xliff files.
 ExtractFileList getIsCheckedInList()
          Get the list of checked in Extract Files.
 ExtractFileList getNewFilesList()
          Get the list of new extract files, those that do not yet exist.
 ExtractFileList getNonVersionedList()
          Get the list of non-versioned extract files, ie have no previous vcs ver.
 ExtractFileList getPrevVerList()
          Get the list of extract file that have a previous version, those with version greater than 0.
 ExtractFileList getToBeCheckedInList()
          Get the list of Extract Files to be checked in.
 java.lang.String[] getVersionedFileNames()
          Return the list of versioned files as a string array of filenames.
 ExtractFileList getVersionedList()
          Get the list of versioned extract files, ie have previous vcs version.
 java.lang.String toString()
          toString method override.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ExtractFileList

public ExtractFileList()
Default Constructor.


ExtractFileList

public ExtractFileList(java.util.Collection<? extends ExtractFile> c)
Constructor to build new object from given collection of ExtractFiles.

Parameters:
c - Collection of ExtractFiles
Method Detail

asArray

public ExtractFile[] asArray()
Return this list as an ExtractFile array.

Returns:
ExtractFile array

getVersionedFileNames

public java.lang.String[] getVersionedFileNames()
Return the list of versioned files as a string array of filenames.

Returns:
String[] filenames in format name@@branch/version

getCompletedList

public ExtractFileList getCompletedList()
Get the list of extract files marked as completed from this list.

Returns:
ExtractFileList of those ExtractFiles marked as complete

getVersionedList

public ExtractFileList getVersionedList()
Get the list of versioned extract files, ie have previous vcs version.

Returns:
ExtractFileList of those extract files that have previous vers

getNonVersionedList

public ExtractFileList getNonVersionedList()
Get the list of non-versioned extract files, ie have no previous vcs ver.

Returns:
ExtractFileList of those extract files that have no prev vers.

getDiffsList

public ExtractFileList getDiffsList()
Get the list of extract files that contain diffs from previous vcs version.

Returns:
ExtractFileList of those extract files containing diffs

getNewFilesList

public ExtractFileList getNewFilesList()
Get the list of new extract files, those that do not yet exist.

Returns:
ExtractFileList of new non-existent extract files

getPrevVerList

public ExtractFileList getPrevVerList()
Get the list of extract file that have a previous version, those with version greater than 0.

Returns:
ExtractFileList

getToBeCheckedInList

public ExtractFileList getToBeCheckedInList()
Get the list of Extract Files to be checked in.

Returns:
ExtractFileList of files ready to be checked in.

getIsCheckedInList

public ExtractFileList getIsCheckedInList()
Get the list of checked in Extract Files.

Returns:
ExtractFileList of checked in files

getCheckedOutList

public ExtractFileList getCheckedOutList()
Get the list of checked out Extract Files.

Returns:
ExtractFileList of checked out files.

toString

public java.lang.String toString()
toString method override.

Overrides:
toString in class java.util.AbstractCollection<ExtractFile>
Returns:
newline delimted String of extract files in the list.

getFileNames

public java.util.List<java.lang.String> getFileNames()
Return the list of filepath names succesfully completed, including base xml and xliff files.

Returns:
List of String filepath names, empty list when none

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

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.