Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.oaext.model
Class OASeedStatus

java.lang.Object
  extended by oracle.apps.fnd.applcore.oaext.model.OASeedStatus

public final class OASeedStatus
extends java.lang.Object

Class provides Seed Data related information.


Field Summary
static int SEED_STATUS_CLASS_NOT_FOUND
          Class not found Error.
static int SEED_STATUS_DB_FATAL_ERROR
          DB Fatal Error.
static int SEED_STATUS_ERRORS
          One or more exceptions have occured, use getExceptions to retrive them.
static int SEED_STATUS_EXTRACT_WARNING
          Extract warning status, failed to process all files.
static int SEED_STATUS_METHOD_NOT_FOUND
          Method not found Error.
static int SEED_STATUS_OTHER
          Undefined error.
static int SEED_STATUS_RECONNECT_REQUIRED
          Reconnect Required.
static int SEED_STATUS_SUCCESS
          Success status.
 
Constructor Summary
OASeedStatus(int aStatusCode, java.lang.String aStatusMessage, java.util.List<java.lang.Throwable> ex, java.util.List<java.lang.String> ws)
          Constructor.
OASeedStatus(int aStatusCode, java.lang.String aStatusMessage, java.lang.Throwable t)
          Constructor.
 
Method Summary
 OASeedStatus getEnterpriseStatus(java.lang.String eid)
          Returns the status for a specific enterprise.
 java.util.List<java.lang.Throwable> getExceptions()
          Getter method for stackTrace.
 java.util.List<java.lang.String> getExtractFiles()
          Get the list of file paths created during seed extract.
 java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getExtractReferences()
          Get the external reference files found during seed extract, those that current file references and is dependent.
 int getStatusCode()
          Getter method for statusCode.
 java.lang.String getStatusMessage()
          Getter method for statusMessage.
 java.util.List<java.lang.String> getWarnings()
          Getter method for warnings.
 void setEnterpriseStatus(java.lang.String eid, OASeedStatus es)
          Sets enterprise specific status.
 void setExtractFiles(java.util.List<java.lang.String> files)
          Set the extract files.
 void setExtractReferences(java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> map)
          Set the extract references map.
 java.lang.String toString()
          Returns a string represention of SeedStatus instance, including status code, message, and stack trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEED_STATUS_SUCCESS

public static final int SEED_STATUS_SUCCESS
Success status.

See Also:
Constant Field Values

SEED_STATUS_CLASS_NOT_FOUND

public static final int SEED_STATUS_CLASS_NOT_FOUND
Class not found Error.

See Also:
Constant Field Values

SEED_STATUS_METHOD_NOT_FOUND

public static final int SEED_STATUS_METHOD_NOT_FOUND
Method not found Error.

See Also:
Constant Field Values

SEED_STATUS_OTHER

public static final int SEED_STATUS_OTHER
Undefined error. Stack trace populated.

See Also:
Constant Field Values

SEED_STATUS_ERRORS

public static final int SEED_STATUS_ERRORS
One or more exceptions have occured, use getExceptions to retrive them.

See Also:
Constant Field Values

SEED_STATUS_EXTRACT_WARNING

public static final int SEED_STATUS_EXTRACT_WARNING
Extract warning status, failed to process all files.

See Also:
Constant Field Values

SEED_STATUS_RECONNECT_REQUIRED

public static final int SEED_STATUS_RECONNECT_REQUIRED
Reconnect Required. Refer to Bug 9430792.

See Also:
Constant Field Values

SEED_STATUS_DB_FATAL_ERROR

public static final int SEED_STATUS_DB_FATAL_ERROR
DB Fatal Error. Refer to Bug 9430792.

See Also:
Constant Field Values
Constructor Detail

OASeedStatus

public OASeedStatus(int aStatusCode,
                    java.lang.String aStatusMessage,
                    java.lang.Throwable t)
Constructor.

Parameters:
aStatusCode - The status code of the execution.
aStatusMessage - The status message of the execution.
t - exception raised

OASeedStatus

public OASeedStatus(int aStatusCode,
                    java.lang.String aStatusMessage,
                    java.util.List<java.lang.Throwable> ex,
                    java.util.List<java.lang.String> ws)
Constructor.

Parameters:
aStatusCode - The status code of the execution.
aStatusMessage - The status message of the execution.
ex - list of exceptions raised.
Method Detail

getStatusCode

public int getStatusCode()
Getter method for statusCode.

Returns:
statusCode of the execution.

getStatusMessage

public java.lang.String getStatusMessage()
Getter method for statusMessage.

Returns:
statusMessage of the execution.

getExceptions

public java.util.List<java.lang.Throwable> getExceptions()
Getter method for stackTrace.

Returns:
List of exceptions raised.

getWarnings

public java.util.List<java.lang.String> getWarnings()
Getter method for warnings.

Returns:
List of warnings.

getExtractFiles

public java.util.List<java.lang.String> getExtractFiles()
Get the list of file paths created during seed extract.

Returns:
List of extract file path strings

setExtractFiles

public void setExtractFiles(java.util.List<java.lang.String> files)
Set the extract files.

Parameters:
files - List of Extract file path strings

getExtractReferences

public java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> getExtractReferences()
Get the external reference files found during seed extract, those that current file references and is dependent. Returns a map of Collection of external reference relative filepaths for each extract file generated.

Returns:
Map key: extract file, value: collection of external reference relative file paths

setExtractReferences

public void setExtractReferences(java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> map)
Set the extract references map.

Parameters:
map -

setEnterpriseStatus

public void setEnterpriseStatus(java.lang.String eid,
                                OASeedStatus es)
Sets enterprise specific status.

Parameters:
eid - enterprise id
es - status object

getEnterpriseStatus

public OASeedStatus getEnterpriseStatus(java.lang.String eid)
Returns the status for a specific enterprise.

Parameters:
eid - enterprise id
Returns:
status for that enterprise.

toString

public java.lang.String toString()
Returns a string represention of SeedStatus instance, including status code, message, and stack trace.

Overrides:
toString in class java.lang.Object
Returns:
String representation of SeedStatus instance

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.