|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applseed.rt.extract.common.ExtractFile
public class ExtractFile
Class holds information about a single file for Extract.
| Field Summary | |
|---|---|
protected java.lang.String |
branch
VCS branch name where the checked in version resides. |
protected boolean |
checkedIn
Checked-in state, set when file has been successfully checked in. |
protected boolean |
checkedOut
Flag set when this file has been successfully checked out. |
protected boolean |
complete
Complete flag, set when extract for this file is complete and successful. |
protected int |
delRowCount
Count of rows deleted in new version as compared from previous version. |
protected int |
diffRowCount
Count of rows changed from previous version. |
protected int |
newRowCount
Count of new rows inserted since previous version. |
protected int |
processedRowCount
This is a count of the number of driver node rows processed. |
protected java.lang.String |
resultMsg
Extract Result message, success or failure with stack. |
static java.lang.String |
separator
|
protected java.lang.String |
taxonomyPartitionValue
Taxonomy Partition Key Value, eg 101. |
protected java.lang.String |
taxonomyPath
Taxonomy path, empty string when none. |
protected java.io.File |
theFile
|
protected java.lang.String |
tipFileLoc
VCS tip version file location retrieved from vcs. |
protected int |
tipVersion
File Version for the Extract File, set from the tip version on vcs. |
protected boolean |
toBeCheckedIn
Set when file is complete and ready to be checked in. |
| Constructor Summary | |
|---|---|
ExtractFile(java.lang.String filepathname)
Constructor for creating Extract Files from a single source filepath. |
|
ExtractFile(java.lang.String rootPathP,
java.lang.String taxonomyPathP,
java.lang.String fileNameP,
java.lang.String taxonomyPartitionValueP)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addXlfFile(ExtractXlfFile xlfFile)
Add an ExtractXlfFile to the list of Xliff lang files created for this ExtractFile. |
protected boolean |
adjustTaxonomyPath()
Perform the Taxonomy path adjustments if necessary. |
protected boolean |
adjustTaxonomyPath(java.lang.String renamePath)
|
void |
clearRowVersionMap()
Clear the previous row version map. |
int |
compareTo(ExtractFile other)
Implement Comparable compareTo. |
static java.lang.String |
constructExtractPath(java.lang.String taxonomyPathP,
java.lang.String fileNameP)
|
void |
createPath()
Create the path for this ExtractFile, delete any existing file. |
protected void |
createPath(java.io.File file)
|
boolean |
equals(java.lang.Object other)
Override equals to compare by the file. |
java.io.File |
getAbsoluteFile()
Get the full absolute File object of this ExtractFile. |
java.lang.String |
getAbsolutePath()
Get the full absolute path of this ExtractFile. |
protected java.lang.String |
getBaseFileName()
Get the extract file name, without extension. |
java.lang.String |
getBranch()
Getter for branch. |
int |
getDelRowCount()
Getter for delRowCount. |
int |
getDiffRowCount()
Getter for diffRowCount. |
SDExternalReferences |
getExternalReferences()
Get the external references set for this ExtractFile. |
java.lang.String |
getFullBranchPath()
Get the full path name with branch and version info. |
java.lang.String |
getGuid()
Get the guid value. |
boolean |
getHasDiff()
Check if this extract file contains differences. |
java.lang.String |
getName()
Get just the file name of this Extract File witout path. |
int |
getNewRowCount()
Getter for newRowCount. |
java.lang.String |
getPath()
Get the path of this ExtractFile. |
RowVersionMap |
getPrevRowVersionMap()
Get the previous row version map. |
int |
getProcessedRowCount()
Getter for processedRowCount. |
protected java.lang.String |
getRenameTaxonomyPath()
Get the rename taxonomy path location to move at completion. |
java.lang.String |
getResultMsg()
Get the Extract result message String. |
protected java.lang.String |
getRootPath()
Root path getter. |
java.lang.String |
getTaxonomyPartitionValue()
Getter for taxonomyPartitionValue. |
protected java.lang.String |
getTaxonomyPath()
Returns just the Taxonomy path dir, w/o file name. |
java.lang.String |
getTipFileLoc()
Getter for tipFileLoc. |
int |
getTipVersion()
Getter for tipVersion. |
java.lang.String |
getTipVersionString()
Return the tipVersion as a String value. |
ExtractFileList |
getXlfFileList()
Get the Xliff files generated returned as an ExtractFileList. |
java.lang.String |
getXlfFilePathForLang(java.lang.String lang)
Get the generated Xliff file path for the requested language. |
java.lang.String[] |
getXlfLangs()
Get a list of all the language codes that had Xliff files generated. |
boolean |
isCheckedIn()
Get the checked in state value. |
boolean |
isCheckedOut()
Getter for checkedOut. |
boolean |
isComplete()
Getter for complete flag. |
boolean |
isToBeCheckedIn()
Getter for toBeCheckedIn. |
void |
setBranch(java.lang.String branchP)
Setting for branch. |
void |
setCheckedIn(boolean checkedInP)
Set the checked-in state. |
void |
setCheckedOut(boolean checkedOutP)
Setter for checkedOut. |
protected void |
setComplete(boolean completeP)
Setter for complete flag. |
void |
setCompleteState(int processedRowCountP)
Set the complete state paramaters for this extract file and clean up. |
void |
setDelRowCount(int delRowCountP)
Setter for delRowCount. |
void |
setDiffRowCount(int diffRowCountP)
Setter for diffRowCount. |
protected void |
setExternalReferences(SDExternalReferences refs)
Set the external references for this ExtractFile. |
protected void |
setGuid(java.lang.String uuid)
Set the guid value. |
void |
setNewRowCount(int newRowCountP)
Setter for newRowCount. |
void |
setPrevRowVersionMap(RowVersionMap prevRowVersionMapP)
Set the previous row version map. |
void |
setProcessedRowCount(int processedRowCountP)
Setter for processedRowCount. |
protected boolean |
setReadOnly()
Set this ExtractFile as ReadOnly. |
void |
setRenameTaxonomyPath(java.lang.String path)
Set the rename taxonomy path. |
void |
setResultMsg(java.lang.String resultMsgP)
Set the Extract result message String. |
void |
setTaxonomyPartitionValue(java.lang.String taxonomyPartitionValueP)
Setter for taxonomyPartitionValue. |
void |
setTipFileLoc(java.lang.String tipFileLocP)
Setter for tipFileLoc. |
void |
setTipVersion(int tipVersionP)
Setter for tipVersion. |
void |
setToBeCheckedIn(boolean toBeCheckedInP)
Setter for toBeCheckedIn. |
java.lang.String |
toString()
Get the string representation of this ExtractFile, that is the full path. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String taxonomyPartitionValue
protected boolean complete
protected int processedRowCount
protected int newRowCount
protected int diffRowCount
protected int delRowCount
protected int tipVersion
protected transient java.lang.String tipFileLoc
protected java.lang.String branch
protected java.lang.String taxonomyPath
protected boolean checkedOut
protected boolean toBeCheckedIn
protected boolean checkedIn
protected java.lang.String resultMsg
protected java.io.File theFile
public static final java.lang.String separator
| Constructor Detail |
|---|
public ExtractFile(java.lang.String rootPathP,
java.lang.String taxonomyPathP,
java.lang.String fileNameP,
java.lang.String taxonomyPartitionValueP)
rootPathP - String root path directory.taxonomyPathP - String taxonomy path location.fileNameP - String file nametaxonomyPartitionValueP - String taxonomy partition key value, eg 101public ExtractFile(java.lang.String filepathname)
filepathname - file path name| Method Detail |
|---|
public static java.lang.String constructExtractPath(java.lang.String taxonomyPathP,
java.lang.String fileNameP)
protected java.lang.String getTaxonomyPath()
public java.lang.String getPath()
public java.lang.String getAbsolutePath()
public java.io.File getAbsoluteFile()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getFullBranchPath()
public void setTaxonomyPartitionValue(java.lang.String taxonomyPartitionValueP)
taxonomyPartitionValueP - String taxonomy partition value.public java.lang.String getTaxonomyPartitionValue()
public void setRenameTaxonomyPath(java.lang.String path)
path - Taxonomy path to move file to at completionprotected java.lang.String getRenameTaxonomyPath()
protected boolean adjustTaxonomyPath()
throws ExtractWriteAccessException
ExtractWriteAccessException - new location does not have write access
protected boolean adjustTaxonomyPath(java.lang.String renamePath)
throws ExtractWriteAccessException
ExtractWriteAccessExceptionpublic void setTipVersion(int tipVersionP)
tipVersionP - int file tip version.public int getTipVersion()
public java.lang.String getTipVersionString()
public void setTipFileLoc(java.lang.String tipFileLocP)
tipFileLocP - String full file path name to vcs tip version.public java.lang.String getTipFileLoc()
public void setBranch(java.lang.String branchP)
branchP - branch location namepublic java.lang.String getBranch()
protected void setComplete(boolean completeP)
completeP - boolean true when extract is complete and successful
for this file.public boolean isComplete()
public void setProcessedRowCount(int processedRowCountP)
processedRowCountP - int number of driver rows processedpublic int getProcessedRowCount()
public void setCheckedIn(boolean checkedInP)
checkedInP - boolean state valuepublic boolean isCheckedIn()
public void setToBeCheckedIn(boolean toBeCheckedInP)
toBeCheckedInP - boolean flag valuepublic boolean isToBeCheckedIn()
public void setCheckedOut(boolean checkedOutP)
checkedOutP - boolean flag valuepublic boolean isCheckedOut()
public void setNewRowCount(int newRowCountP)
newRowCountP - count of rows inserted since last versionpublic int getNewRowCount()
public void setDiffRowCount(int diffRowCountP)
diffRowCountP - count of rows that differ since last versionpublic boolean getHasDiff()
public int getDiffRowCount()
public void setDelRowCount(int delRowCountP)
delRowCountP - count of rows deleted from this version as compared
from the previous vesion.public int getDelRowCount()
public void setResultMsg(java.lang.String resultMsgP)
resultMsgP - String extract result messagepublic java.lang.String getResultMsg()
public void setPrevRowVersionMap(RowVersionMap prevRowVersionMapP)
prevRowVersionMapP - RowVersionMappublic RowVersionMap getPrevRowVersionMap()
protected void setGuid(java.lang.String uuid)
uuid - String guidpublic java.lang.String getGuid()
protected java.lang.String getRootPath()
protected java.lang.String getBaseFileName()
public void clearRowVersionMap()
public void addXlfFile(ExtractXlfFile xlfFile)
xlfFile - ExtractXlfFile to trackpublic java.lang.String getXlfFilePathForLang(java.lang.String lang)
lang - String lang code
public ExtractFileList getXlfFileList()
public java.lang.String[] getXlfLangs()
public void setCompleteState(int processedRowCountP)
processedRowCountP - count of rows processedprotected boolean setReadOnly()
protected void setExternalReferences(SDExternalReferences refs)
refs - SDExternalReferencespublic SDExternalReferences getExternalReferences()
public void createPath()
throws ExtractWriteAccessException
ExtractWriteAccessException
protected void createPath(java.io.File file)
throws ExtractWriteAccessException
ExtractWriteAccessExceptionpublic int compareTo(ExtractFile other)
compareTo in interface java.lang.Comparable<ExtractFile>other - ExtractFile to compate to
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - ExtractFile to compare to
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||