public final class SmartImportServiceImpl extends java.lang.Object implements ISmartImportService
SmartExportServiceImplCONTEXT_OBJECT_NAME, DATA_SERVER_OBJECT_NAME, DATASTORE_OBJECT_NAME, FOLDER_OBJECT_NAME, INTERFACE_OBJECT_NAME, LOAD_PLAN_OBJECT_NAME, LOGICAL_AGENT_OBJECT_NAME, LOGICAL_SCHEMA_OBJECT_NAME, MARKER_GROUP_OBJECT_NAME, MODEL_FOLDER_OBJECT_NAME, MODEL_OBJECT_NAME, PACKAGE_OBJECT_NAME, PHYSICAL_AGENT_OBJECT_NAME, PHYSICAL_SCHEMA_OBJECT_NAME, PROJECT_OBJECT_NAME, SCENARIO_FOLDER_OBJECT_NAME, SCENARIO_OBJECT_NAME, SEQUENCE_OBJECT_NAME, SMART_IMPORT_ACTION_CREATE_COPY, SMART_IMPORT_ACTION_IGNORE, SMART_IMPORT_ACTION_MERGE, SMART_IMPORT_ACTION_OVERWRITE, SMART_IMPORT_ACTION_REUSE, SUBMODEL_OBJECT_NAME, TRT_OBJECT_NAME, USER_FUNCTION_OBJECT_NAME, VARIABLE_OBJECT_NAME| Constructor and Description | 
|---|
| SmartImportServiceImpl(OdiInstance pOdiInstance)Constructs an ImportServiceImpl object. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | importFromXml(java.lang.String pFileName)Deprecated.  | 
| void | importFromXml(java.lang.String pFileName,
             java.lang.String pResponseFileName)Deprecated.   | 
| 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). | 
public SmartImportServiceImpl(OdiInstance pOdiInstance)
pOdiInstance - an OdiInstance object@Deprecated
public void importFromXml(java.lang.String pFileName,
                            java.lang.String pResponseFileName)
                   throws OdiSmartImportException,
                          java.io.IOException
importFromXml in interface ISmartImportServicepFileName - the filename of the Smart Export xml file.pResponseFileName - Smart Import response file saved from previous Smart Import UI session.java.io.IOException - if file does not exist.OdiSmartImportException - if the import fails.public void importFromXml(java.lang.String pFileName,
                 java.lang.String pResponseFileName,
                 char[] pExportKey,
                 boolean pImportWithoutCipherData)
                   throws OdiSmartImportException,
                          java.io.IOException
importFromXml in interface ISmartImportServicepFileName - 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
public void importFromXml(java.lang.String pFileName)
                   throws OdiSmartImportException,
                          java.io.IOException
importFromXml in interface ISmartImportServicepFileName - the filename of the Smart Export xml file.java.io.IOException - if file does not exist.OdiSmartImportException - if the import fails.public void importObjectsFromXml(java.lang.String pFileName,
                        char[] pExportKey,
                        boolean pImportWithoutCipherData)
                          throws OdiSmartImportException,
                                 java.io.IOException
ISmartImportServiceimportObjectsFromXml in interface ISmartImportServicepFileName - 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.OdiSmartImportException - if the import fails.java.io.IOException - if file does not exist.public void setMatchedFCODefaultImportAction(java.lang.String pFCOObjType,
                                    int pSmartImportAction)
                                      throws OdiSmartImportException
setMatchedFCODefaultImportAction in interface ISmartImportServicepFCOObjType - The name of the type of FCO.pSmartImportAction - The default Smart Import action.OdiSmartImportException.OdiSmartImportException