|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.owb.Import.ImportServiceManager
ImportServiceManager
contains operations to handle importing metadata.
Field Summary | |
static java.lang.String |
CREATEMODE MDL import mode for creating new objects only. |
static java.lang.String |
MERGEMODE MDL import mode for incrementally updating (merging) objects that already exist and creating new objects that do not exist. |
static java.lang.String |
REPLACEMODE MDL import mode for replacing objects that already exist only. |
protected static ImportServiceManager |
s_instance Instance for ImportServiceManager singleton. |
static java.lang.String |
UPDATEMODE MDL import mode for replacing objects that already exist and creating new objects that do not exist. |
Constructor Summary | |
protected |
ImportServiceManager() |
Method Summary | |
protected java.lang.String |
getAutoUpgrade() Get the flag that indicates whether or not to automatically upgrade MDL data files from previous releases. |
protected java.lang.String |
getControlFileName() Get the optional control file name to be used by MDL. |
protected java.lang.String |
getImportAsSnapshot() Get the name of a new snapshot that MDL data files should be imported into. releases. |
static ImportServiceManager |
getInstance() Returns the instance value for ImportServiceManager. |
int |
importMetaDataFromFile(java.lang.String importFileName, java.lang.String logFileName, java.lang.String importMode) Import metadata from a file. |
int |
importMetaDataFromFile(java.lang.String importFileName, java.lang.String logFileName, java.lang.String importMode, java.lang.String definitionFileName) Import metadata from a file and a metameta definition file. |
void |
setAutoUpgrade(boolean autoUpgrade) Set the flag that indicates whether or not to automatically upgrade MDL data files from previous releases. |
void |
setControlFileName(java.lang.String controlFile) Set the optional control file name to be used by MDL. |
void |
setImportAsSnapshot(java.lang.String snapshotName) Set the name of a new snapshot that MDL data files should be imported into. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CREATEMODE
public static final java.lang.String UPDATEMODE
public static final java.lang.String REPLACEMODE
public static final java.lang.String MERGEMODE
protected static ImportServiceManager s_instance
Constructor Detail |
protected ImportServiceManager()
Method Detail |
public static ImportServiceManager getInstance()
public void setControlFileName(java.lang.String controlFile)
controlFile
- Control file name to be used by MDL.getControlFileName()
protected java.lang.String getControlFileName()
setControlFileName(java.lang.String)
public void setAutoUpgrade(boolean autoUpgrade)
autoUpgrade
- Boolean value that indicates whether or not to automatically upgrade MDL data files from previous releases (default is true).getAutoUpgrade()
protected java.lang.String getAutoUpgrade()
setAutoUpgrade(boolean)
public void setImportAsSnapshot(java.lang.String snapshotName)
snapshotName
- Name of the snapshot that should be created and the MDL file imported into.getImportAsSnapshot()
protected java.lang.String getImportAsSnapshot()
setImportAsSnapshot(java.lang.String)
public int importMetaDataFromFile(java.lang.String importFileName, java.lang.String logFileName, java.lang.String importMode) throws OWBException
importFileName
- Name of MDL import data file.logFileName
- Name of MDL import log file.importMode
- Import mode (CREATE, REPLACE, UPDATE, or MERGE)OWBException
- if any error occurs.public int importMetaDataFromFile(java.lang.String importFileName, java.lang.String logFileName, java.lang.String importMode, java.lang.String definitionFileName) throws OWBException
importFileName
- Name of MDL import data file.logFileName
- Name of MDL import log file.importMode
- Import mode (CREATE, REPLACE, UPDATE, or MERGE)definitionFileName
- Name of MDL metameta definition file.OWBException
- if any error occurs.
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |