public class ImportServiceImpl extends java.lang.Object implements IImportService
IImportService implementation.EXPORT_KEY_TRIES, IMPORT_MODE_DUPLICATION, IMPORT_MODE_SYNONYM_INSERT, IMPORT_MODE_SYNONYM_INSERT_UPDATE, IMPORT_MODE_SYNONYM_UPDATE| Constructor and Description |
|---|
ImportServiceImpl(OdiInstance pOdiInstance)
Constructs an ImportServiceImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
enableInterfaceUpgrade() |
void |
importExecutionEnvironmentFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importExecutionEnvironmentFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported execution environment objects set from a given folder.
Execution Environment objects include : Technologies, Connections, Contexts, Agents, Generic Actions |
void |
importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported execution environment objects set from a given zip file.
Execution Environment objects include : Technologies, Connections, Contexts, Agents, Generic Actions |
void |
importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported execution environment objects set from a given zip file.
Execution Environment objects include : Technologies, Connections, Contexts, Agents, Generic Actions |
void |
importLogicalTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importLogicalTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported Logical topology objects set from a given folder.
Logical Topology objects include : Technologies, Logical Agents, Logical Schemas, Actions Groups, Actions, Datatypes, Datatype Conversions |
void |
importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported logical topology objects set from a given zip file.
Logical Topology objects include : Technologies, Logical Agents, Logical Schemas, Actions Groups, Actions, Datatypes, Datatype Conversions |
void |
importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported logical topology objects set from a given zip file.
Logical Topology objects include : Technologies, Logical Agents, Logical Schemas, Actions Groups, Actions, Datatypes, Datatype Conversions |
void |
importLogsFromFolder(java.lang.String pFolderPath)
Deprecated.
|
void |
importLogsFromFolder(java.lang.String pFolderPath,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports the previously exported execution logs (load plan runs, sessions and related objects) from a given folder.
|
void |
importLogsFromZipFile(java.lang.String pZipFilePath)
Deprecated.
|
void |
importLogsFromZipFile(java.lang.String pZipFilePath,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports the previously exported execution logs (load plan runs, sessions and related objects) from a given zip file.
|
void |
importLogsFromZipFile(java.lang.String pZipFilePath,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importLogsFromZipFile(java.lang.String pZipFilePath,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports the previously exported execution logs (load plan runs, sessions and related objects) from a given zip file.
|
void |
importMasterFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importMasterFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported master objects set from a given folder.
Master objects include : Objects, Methods, Profiles, Users, Languages, Versions, Solutions, Open Tools, Password rules & polices, Entities, Links, Fields, Lookups |
void |
importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported master objects set from a given zip file.
Master objects include : Objects, Methods, Profiles, Users, Languages, Versions, Solutions, Open Tools, Password rules & polices, Entities, Links, Fields, Lookups |
void |
importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported master objects set from a given zip file.
Master objects include : Objects, Methods, Profiles, Users, Languages, Versions, Solutions, Open Tools, Password rules & polices, Entities, Links, Fields, Lookups |
void |
importObjectFromXml(int pImportMode,
java.lang.String pFileName,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importObjectFromXml(int pImportMode,
java.lang.String pFileName,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
This method imports an object from an OracleDI export file (XML).
|
void |
importObjectFromXml(int pImportMode,
java.lang.String pFileName,
IImportRoot pObjectParent,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importObjectFromXml(int pImportMode,
java.lang.String pFileName,
IImportRoot pObjectParent,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
This method imports an object from an OracleDI export file (XML) under a parent object.
|
void |
importReplaceKMFromXml(java.lang.String pFileName,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Method to importReplace Procedure with ImportFile based on GUID.If KM available,import replaces KM else imports in INSERT mode.
|
void |
importReplaceProcedure(OdiProcedure pOdiProcedure,
java.lang.String pXmlFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importReplaceProcedure(OdiProcedure pOdiProcedure,
java.lang.String pXmlFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Replace an existing procedure with a procedure previously exported procedure in a XML file.
|
void |
importReplaceScenario(OdiScenario pOdiScenario,
java.lang.String pXmlFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importReplaceScenario(OdiScenario pOdiScenario,
java.lang.String pXmlFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Replace an existing scenario with a procedure previously exported procedure in a XML file.
|
void |
importReplaceSKM(OdiSKM pOdiSKM,
java.lang.String pXmlFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importReplaceSKM(OdiSKM pOdiSKM,
java.lang.String pXmlFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Replace an existing SKM with other SKM in a XML file
|
void |
importSecurityFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importSecurityFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported security objects set from a given folder.
Security objects include : Objects, Methods, Users, Profiles, Instances of Objects, Hosts, Password rules & policies |
void |
importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported security objects set from a given zip file.
Security objects include : Objects, Methods, Users, Profiles, Instances of Objects, Hosts, Password rules & policies |
void |
importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported security objects set from a given zip file.
Security objects include : Objects, Methods, Users, Profiles, Instances of Objects, Hosts, Password rules & policies |
void |
importSessionsFromFolder(java.lang.String pFolderPath)
Imports the previously exported execution logs (sessions and related objects) from a given folder.
|
void |
importSessionsFromZipFile(java.lang.String pZipFilePath)
Imports the previously exported execution logs (sessions and related objects) from a given zip file.
|
void |
importSessionsFromZipFile(java.lang.String pZipFilePath,
java.lang.String pUnzipDirName)
Imports the previously exported execution logs (sessions and related objects) from a given zip file.
|
void |
importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a solution and all its component objects from a zip file.
|
void |
importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData) |
void |
importTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported topology objects set from a given folder.
Topology objects include : Entity IDs, Local Repositories, Connections, Hosts, Logical Agents, Agents, Generic Actions, Technologies, Datatypes, Datatypes conversions |
void |
importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported topology objects set from a given zip file.
Topology objects include : Entity IDs, Local Repositories, Connections, Hosts, Logical Agents, Agents, Generic Actions, Technologies, Datatypes, Datatypes conversions |
void |
importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
Imports a previously exported topology objects set from a given zip file.
Topology objects include : Entity IDs, Local Repositories, Connections, Hosts, Logical Agents, Agents, Generic Actions, Technologies, Datatypes, Datatypes conversions |
void |
importWorkRepositoryFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importWorkRepositoryFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
This method imports a previously exported work repository from a given folder.
|
void |
importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
Deprecated.
|
void |
importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
This method imports a previously exported work repository from a given zip file.
|
void |
importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
Deprecated.
|
void |
importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
This method imports a previously exported work repository from a given zip file.
|
boolean |
isExportKeyRequired(java.lang.String pImportSource)
Find out if Export Key is required for Import process
|
boolean |
isMasterImportFileLegacyCompatible(java.lang.String pImportSource)
Find out if master repository file being imported is in 12c or legacy mode.
|
boolean |
isPre12CImportSource(java.lang.String pImportSource) |
void |
reimportTopologyReferenceData()
Re-import the default Topology data (ODI Technologies, DataTypes, DataType Conversions and Languages) definitions delivered with the release.
|
void |
setIsInterfaceUpgradedTo11gCompatibleMapping(boolean pUpgradedIntface11gCompatibleMap)
Set a flag that indicates whether any 11g Interfaces that are imported and upgraded to 12c Mappings result in
11g compatible mappings.
|
void |
setUpgradeKey(java.lang.String pUpgradeKey)
Set an upgrade key for temporary use for an ODI import.
|
void |
updateDataServerOnConnectViaImport(java.lang.String pDataServerExportFileName) |
void |
updateDataServerOnConnectViaImport(java.lang.String pDataServerExportFileName,
java.lang.String pUnzipDirName) |
void |
upgradeSnpConvDtGlobalIds()
Ensure that the Global Ids for Snp_Conv_Dt records (datatype conversions) are correct for the ODI 12.2.1.0.0 release.
|
void |
validateImportZipSource(java.lang.String pImportSource) |
public ImportServiceImpl(OdiInstance pOdiInstance)
pOdiInstance - an OdiInstance object@Deprecated
public void importExecutionEnvironmentFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importExecutionEnvironmentFromFolder in interface IImportServiceOdiImportExceptionpublic void importExecutionEnvironmentFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importExecutionEnvironmentFromFolder in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pFolderPath - the folder containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importExecutionEnvironmentFromZipFile in interface IImportServiceOdiImportExceptionpublic void importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importExecutionEnvironmentFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importExecutionEnvironmentFromZipFile in interface IImportServiceOdiImportExceptionpublic void importExecutionEnvironmentFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importExecutionEnvironmentFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importLogicalTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importLogicalTopologyFromFolder in interface IImportServiceOdiImportExceptionpublic void importLogicalTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importLogicalTopologyFromFolder in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pFolderPath - the folder containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importLogicalTopologyFromZipFile in interface IImportServiceOdiImportExceptionpublic void importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importLogicalTopologyFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importLogicalTopologyFromZipFile in interface IImportServiceOdiImportExceptionpublic void importLogicalTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importLogicalTopologyFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importMasterFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importMasterFromFolder in interface IImportServiceOdiImportExceptionpublic void importMasterFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importMasterFromFolder in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pFolderPath - the folder containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importMasterFromZipFile in interface IImportServiceOdiImportExceptionpublic void importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importMasterFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importMasterFromZipFile in interface IImportServiceOdiImportExceptionpublic void importMasterFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importMasterFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importObjectFromXml(int pImportMode,
java.lang.String pFileName,
boolean pDeclareMissingRepository)
throws OdiImportException,
java.io.IOException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importObjectFromXml in interface IImportServiceOdiImportExceptionjava.io.IOExceptionpublic void importObjectFromXml(int pImportMode,
java.lang.String pFileName,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException,
java.io.IOException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importObjectFromXml in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pFileName - the OracleDI XML export file.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.java.io.IOException - if the file doesn't exist@Deprecated
public void importObjectFromXml(int pImportMode,
java.lang.String pFileName,
IImportRoot pObjectParent,
boolean pDeclareMissingRepository)
throws OdiImportNotSupportedException,
OdiImportException,
java.io.IOException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importObjectFromXml in interface IImportServiceOdiImportNotSupportedExceptionOdiImportExceptionjava.io.IOExceptionpublic void importObjectFromXml(int pImportMode,
java.lang.String pFileName,
IImportRoot pObjectParent,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportNotSupportedException,
OdiImportException,
java.io.IOException
IImportServiceThis method imports an object from an OracleDI export file (XML) under a parent object. The parent object must be persisted. The parent object will be refreshed.
When importing a KM, the import mode must be IImportService.IMPORT_MODE_DUPLICATION, otherwise it will throw an IllegalArgumentException
This method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importObjectFromXml in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pFileName - the OracleDI XML export file.pObjectParent - the object under which the object in the XML file will be importedpDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportNotSupportedException - if the IImportRoot doesn't support this import.OdiImportException - if the import fails.java.io.IOException - if the file doesn't exist@Deprecated
public void importSecurityFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importSecurityFromFolder in interface IImportServiceOdiImportExceptionpublic void importSecurityFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importSecurityFromFolder in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication modepFolderPath - the folder containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importSecurityFromZipFile in interface IImportServiceOdiImportExceptionpublic void importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importSecurityFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication modepZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importSecurityFromZipFile in interface IImportServiceOdiImportExceptionpublic void importSecurityFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importSecurityFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication modepZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
throws OdiImportException
OdiImportExceptionpublic void importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
OdiImportException@Deprecated
public void importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importSolution in interface IImportServiceOdiImportExceptionpublic void importSolution(int pImportMode,
java.lang.String pZipFile,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importSolution in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFile - the Zip file containing the solution you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importTopologyFromFolder in interface IImportServiceOdiImportExceptionpublic void importTopologyFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importTopologyFromFolder in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pFolderPath - the folder containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importTopologyFromZipFile in interface IImportServiceOdiImportExceptionpublic void importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importTopologyFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importTopologyFromZipFile in interface IImportServiceOdiImportExceptionpublic void importTopologyFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importTopologyFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails.@Deprecated
public void importWorkRepositoryFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importWorkRepositoryFromFolder in interface IImportServiceOdiImportExceptionpublic void importWorkRepositoryFromFolder(int pImportMode,
java.lang.String pFolderPath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importWorkRepositoryFromFolder in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pFolderPath - the folder containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import failed@Deprecated
public void importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importWorkRepositoryFromZipFile in interface IImportServiceOdiImportExceptionpublic void importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importWorkRepositoryFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import failed@Deprecated
public void importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importWorkRepositoryFromZipFile in interface IImportServiceOdiImportExceptionpublic void importWorkRepositoryFromZipFile(int pImportMode,
java.lang.String pZipFilePath,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceThis method will execute in the surrounding transaction and all pending persisted changes will be flushed before import.
importWorkRepositoryFromZipFile in interface IImportServicepImportMode - Insert, Insert-update, Update or Duplication mode.pZipFilePath - the Zip file containing all the XML files you want to import.pDeclareMissingRepository - In synonym import, if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import failed@Deprecated public void importReplaceProcedure(OdiProcedure pOdiProcedure, java.lang.String pXmlFilePath, boolean pDeclareMissingRepository) throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importReplaceProcedure in interface IImportServiceOdiImportExceptionpublic void importReplaceProcedure(OdiProcedure pOdiProcedure, java.lang.String pXmlFilePath, boolean pDeclareMissingRepository, char[] pExportKey, boolean pImportWithoutCipherData) throws OdiImportException
IImportServiceimportReplaceProcedure in interface IImportServicepOdiProcedure - the odiProcedure to replacepXmlFilePath - the previously exported procedure xml file path.pDeclareMissingRepository - if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails@Deprecated public void importReplaceScenario(OdiScenario pOdiScenario, java.lang.String pXmlFilePath, boolean pDeclareMissingRepository) throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importReplaceScenario in interface IImportServiceOdiImportExceptionpublic void importReplaceScenario(OdiScenario pOdiScenario, java.lang.String pXmlFilePath, boolean pDeclareMissingRepository, char[] pExportKey, boolean pImportWithoutCipherData) throws OdiImportException
IImportServiceimportReplaceScenario in interface IImportServicepOdiScenario - the odiScenario to replacepXmlFilePath - the previously exported scenario xml file path.pDeclareMissingRepository - if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails@Deprecated public void importReplaceSKM(OdiSKM pOdiSKM, java.lang.String pXmlFilePath, boolean pDeclareMissingRepository) throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importReplaceSKM in interface IImportServiceOdiImportExceptionpublic void importReplaceSKM(OdiSKM pOdiSKM, java.lang.String pXmlFilePath, boolean pDeclareMissingRepository, char[] pExportKey, boolean pImportWithoutCipherData) throws OdiImportException
IImportServiceimportReplaceSKM in interface IImportServicepOdiSKM - the odiSKM to replacepXmlFilePath - exported SKM xml file pathpDeclareMissingRepository - if the original repository of the original object is missing, if true, it will be referenced ; if false, the import will fail.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportExceptionpublic void reimportTopologyReferenceData()
throws OdiImportException
IImportServicereimportTopologyReferenceData in interface IImportServiceOdiImportException - if the import failspublic void importSessionsFromFolder(java.lang.String pFolderPath)
throws OdiImportException
IImportServiceimportSessionsFromFolder in interface IImportServicepFolderPath - folder containing logsOdiImportException - if the import failspublic void importSessionsFromZipFile(java.lang.String pZipFilePath,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServiceimportSessionsFromZipFile in interface IImportServicepZipFilePath - zip file containing logspUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.OdiImportException - if the import failspublic void importSessionsFromZipFile(java.lang.String pZipFilePath)
throws OdiImportException
IImportServiceimportSessionsFromZipFile in interface IImportServicepZipFilePath - zip file containing logsOdiImportException - if the import fails@Deprecated
public void importLogsFromFolder(java.lang.String pFolderPath)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importLogsFromFolder in interface IImportServiceOdiImportExceptionpublic void importLogsFromFolder(java.lang.String pFolderPath,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceimportLogsFromFolder in interface IImportServicepFolderPath - folder containing logspExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails@Deprecated
public void importLogsFromZipFile(java.lang.String pZipFilePath,
java.lang.String pUnzipDirName)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importLogsFromZipFile in interface IImportServiceOdiImportExceptionpublic void importLogsFromZipFile(java.lang.String pZipFilePath,
java.lang.String pUnzipDirName,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceimportLogsFromZipFile in interface IImportServicepZipFilePath - zip file containing logspUnzipDirName - Directory to unzip files to when running the import. If null, then ODI will create a temporary directory "snpstemp" where the zip file is located.pExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import fails@Deprecated
public void importLogsFromZipFile(java.lang.String pZipFilePath)
throws OdiImportException
IImportServicenull value.
- 11g and 12.1.2 XML file: All cipher text data will be imported correctly.importLogsFromZipFile in interface IImportServiceOdiImportExceptionpublic void importLogsFromZipFile(java.lang.String pZipFilePath,
char[] pExportKey,
boolean pImportWithoutCipherData)
throws OdiImportException
IImportServiceimportLogsFromZipFile in interface IImportServicepZipFilePath - zip file containing logspExportKey - The key that was used during export of object which is being imported now. This key is required for password/intellectual property cipher text migration.pImportWithoutCipherData - 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.OdiImportException - if the import failspublic void updateDataServerOnConnectViaImport(java.lang.String pDataServerExportFileName,
java.lang.String pUnzipDirName)
throws OdiImportException
OdiImportExceptionpublic void updateDataServerOnConnectViaImport(java.lang.String pDataServerExportFileName)
throws OdiImportException
OdiImportExceptionpublic boolean isPre12CImportSource(java.lang.String pImportSource)
throws OdiImportException,
java.io.IOException,
com.sunopsis.tools.core.exception.SnpsSimpleMessageException
OdiImportExceptionjava.io.IOExceptioncom.sunopsis.tools.core.exception.SnpsSimpleMessageExceptionpublic void validateImportZipSource(java.lang.String pImportSource)
throws OdiImportInvalidZipSourceException,
java.io.IOException
OdiImportInvalidZipSourceExceptionjava.io.IOExceptionpublic void setUpgradeKey(java.lang.String pUpgradeKey)
IImportServicesetUpgradeKey in interface IImportServicepUpgradeKey - value to use for the upgrade key for an import.public static void enableInterfaceUpgrade()
public void setIsInterfaceUpgradedTo11gCompatibleMapping(boolean pUpgradedIntface11gCompatibleMap)
IImportServicesetIsInterfaceUpgradedTo11gCompatibleMapping in interface IImportServicepUpgradedIntface11gCompatibleMap - flag that determines whether 11g interfaces are upgraded to an 11g compatible mapping.public boolean isExportKeyRequired(java.lang.String pImportSource)
throws OdiImportException
IImportServiceisExportKeyRequired in interface IImportServicepImportSource - Import file/directory pathOdiImportExceptionpublic boolean isMasterImportFileLegacyCompatible(java.lang.String pImportSource)
throws OdiImportException
IImportServiceisMasterImportFileLegacyCompatible in interface IImportServiceOdiImportExceptionpublic void upgradeSnpConvDtGlobalIds()
throws OdiImportException
IImportServiceupgradeSnpConvDtGlobalIds in interface IImportServiceOdiImportException - if the import failspublic void importReplaceKMFromXml(java.lang.String pFileName,
boolean pDeclareMissingRepository,
char[] pExportKey,
boolean pImportWithoutCipherData)
pFileName - pDeclareMissingRepository - pExportKey - pImportWithoutCipherData - pSecurityToken - java.net.MalformedURLExceptioncom.sunopsis.dwg.SnpsIsReferencedExceptioncom.sunopsis.core.SnpsInexistantObjectExceptioncom.sunopsis.core.SecurityAccessExceptionjava.lang.Exception