public interface ISmartImportService
A smart export files contains user selected objects along with all their dependencies in a single XML file.
Please read the ODI documentation for complete information on export and import strategies and implications.
ISmartExportService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTEXT_OBJECT_NAME |
static java.lang.String |
DATA_SERVER_OBJECT_NAME |
static java.lang.String |
DATASTORE_OBJECT_NAME |
static java.lang.String |
FOLDER_OBJECT_NAME |
static java.lang.String |
INTERFACE_OBJECT_NAME |
static java.lang.String |
LOAD_PLAN_OBJECT_NAME |
static java.lang.String |
LOGICAL_AGENT_OBJECT_NAME |
static java.lang.String |
LOGICAL_SCHEMA_OBJECT_NAME |
static java.lang.String |
MARKER_GROUP_OBJECT_NAME |
static java.lang.String |
MODEL_FOLDER_OBJECT_NAME |
static java.lang.String |
MODEL_OBJECT_NAME |
static java.lang.String |
PACKAGE_OBJECT_NAME |
static java.lang.String |
PHYSICAL_AGENT_OBJECT_NAME |
static java.lang.String |
PHYSICAL_SCHEMA_OBJECT_NAME |
static java.lang.String |
PROJECT_OBJECT_NAME |
static java.lang.String |
SCENARIO_FOLDER_OBJECT_NAME |
static java.lang.String |
SCENARIO_OBJECT_NAME |
static java.lang.String |
SEQUENCE_OBJECT_NAME |
static int |
SMART_IMPORT_ACTION_CREATE_COPY
Smart Import Action Create Copy : Inserts the object, making ids, names, and
codes unique to allow insertion.
|
static int |
SMART_IMPORT_ACTION_IGNORE
Smart Import Action Ignore : Ignore object for import.
|
static int |
SMART_IMPORT_ACTION_MERGE
Smart Import Action Merge : Updates an object without deleting any of its children.
|
static int |
SMART_IMPORT_ACTION_OVERWRITE
Smart Import Action Overwrite : Deletes child objects in target but not in source,
updates objects that exist, inserts objects that do not exist.
|
static int |
SMART_IMPORT_ACTION_REUSE
Smart Import Action Reuse : Reuse matched object from target.
|
static java.lang.String |
SUBMODEL_OBJECT_NAME |
static java.lang.String |
TRT_OBJECT_NAME |
static java.lang.String |
USER_FUNCTION_OBJECT_NAME |
static java.lang.String |
VARIABLE_OBJECT_NAME |
Modifier and Type | Method and Description |
---|---|
void |
importFromXml(java.lang.String pFileName)
Deprecated.
use importObjectsFromXml(String pFileName, char[] pExportKey, boolean pImportWithoutCipherData) instead
|
void |
importFromXml(java.lang.String pFileName,
java.lang.String pResponseFileName)
Deprecated.
use importFromXml(String pFileName, String pResponseFileName, char[] pExportKey, boolean pImportWithoutCipherData) instead
|
void |
importFromXml(java.lang.String pFileName,
java.lang.String pResponseFileName,
char[] pExportKey,
boolean pImportWithoutCipherData)
This method performs a Smart Import for a Smart Export XML file.
|
void |
importObjectsFromXml(java.lang.String pFileName,
char[] pExportKey,
boolean pImportWithoutCipherData)
This method performs a Smart Import for a Smart Export XML file.
|
void |
setMatchedFCODefaultImportAction(java.lang.String pFCOObjType,
int pSmartImportAction)
This method sets the default import action for a smart import first class object (FCO).
|
static final java.lang.String PROJECT_OBJECT_NAME
static final java.lang.String FOLDER_OBJECT_NAME
static final java.lang.String PACKAGE_OBJECT_NAME
static final java.lang.String INTERFACE_OBJECT_NAME
static final java.lang.String TRT_OBJECT_NAME
static final java.lang.String VARIABLE_OBJECT_NAME
static final java.lang.String SEQUENCE_OBJECT_NAME
static final java.lang.String USER_FUNCTION_OBJECT_NAME
static final java.lang.String MARKER_GROUP_OBJECT_NAME
static final java.lang.String MODEL_FOLDER_OBJECT_NAME
static final java.lang.String MODEL_OBJECT_NAME
static final java.lang.String SUBMODEL_OBJECT_NAME
static final java.lang.String DATASTORE_OBJECT_NAME
static final java.lang.String DATA_SERVER_OBJECT_NAME
static final java.lang.String PHYSICAL_SCHEMA_OBJECT_NAME
static final java.lang.String PHYSICAL_AGENT_OBJECT_NAME
static final java.lang.String CONTEXT_OBJECT_NAME
static final java.lang.String LOGICAL_SCHEMA_OBJECT_NAME
static final java.lang.String LOGICAL_AGENT_OBJECT_NAME
static final java.lang.String SCENARIO_FOLDER_OBJECT_NAME
static final java.lang.String SCENARIO_OBJECT_NAME
static final java.lang.String LOAD_PLAN_OBJECT_NAME
static final int SMART_IMPORT_ACTION_CREATE_COPY
static final int SMART_IMPORT_ACTION_REUSE
static final int SMART_IMPORT_ACTION_MERGE
static final int SMART_IMPORT_ACTION_OVERWRITE
static final int SMART_IMPORT_ACTION_IGNORE
void importObjectsFromXml(java.lang.String pFileName, char[] pExportKey, boolean pImportWithoutCipherData) throws OdiSmartImportException, java.io.IOException
pFileName
- the filename of the Smart Export xml file.pExportKey
- Export Key provided by user during Smart Export which will be used for password cipher text migration between repositoriespImportWithoutCipherData
- boolean If pImportWithoutCipherData=true, the pExportKey parameter will be ignored and any cipher text value present in the import file will be imported as null
value. If pContinueWithoutValidKey=false, and pExportKey is valid, the cipher text data will be imported into the repository. If pImportWithoutCipherData=false and pExportKey is not valid, then import will abort.java.io.IOException
- if file does not exist.OdiSmartImportException
- if the import fails.@Deprecated void importFromXml(java.lang.String pFileName) throws OdiSmartImportException, java.io.IOException
null
value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.pFileName
- OdiSmartImportException
java.io.IOException
void importFromXml(java.lang.String pFileName, java.lang.String pResponseFileName, char[] pExportKey, boolean pImportWithoutCipherData) throws OdiSmartImportException, java.io.IOException
pFileName
- the filename of the Smart Export xml file.pResponseFileName
- Smart Import response file saved from previous Smart Import UI session.pExportKey
- Export Key provided by user during Smart Export which will be used for password cipher text migration between repositoriespImportWithoutCipherData
- boolean If pImportWithoutCipherData=true, the pExportKey parameter will be ignored and any cipher text value present in the import file will be imported as null
value. If pContinueWithoutValidKey=false, and pExportKey is valid, the cipher text data will be imported into the repository. If pImportWithoutCipherData=false and pExportKey is not valid, then import will abort.java.io.IOException
- if file does not exist.OdiSmartImportException
- if the import fails.@Deprecated void importFromXml(java.lang.String pFileName, java.lang.String pResponseFileName) throws OdiSmartImportException, java.io.IOException
null
value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.pFileName
- pResponseFileName
- OdiSmartImportException
java.io.IOException
void setMatchedFCODefaultImportAction(java.lang.String pFCOObjType, int pSmartImportAction) throws OdiSmartImportException
pFCOObjType
- The name of the type of FCO.pSmartImportAction
- The default Smart Import action.OdiSmartImportException