Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


oracle.odi.impexp.support
Class ExportServiceImpl

java.lang.Object
  extended by oracle.odi.impexp.support.ExportServiceImpl

All Implemented Interfaces:
IExportService

public final class ExportServiceImpl
extends java.lang.Object
implements IExportService

Default IExportService implementation.

Since:
11.1.1.3.0

Constructor Summary
ExportServiceImpl(OdiInstance pOdiInstance)
          Constructs an ExportServiceImpl object.

 

Method Summary
 void exportAllScenarii(IOdiScenarioSourceContainer pScenarioContainer, java.lang.String pFolderPath, boolean pExportScenarioOfPackages, boolean pExportScenarioOfInterfaces, boolean pExportScenarioOfProcedures, boolean pExportScenarioOfVariables, EncodingOptions pEncodingDetails, boolean pRecursiveExport, boolean pOverwrite)
          Export all the scenarios contained in this scenario source container.
 void exportExecutionEnvironmentInFolder(java.lang.String pFolderPath, EncodingOptions pEncodingDetails)
          Exports the execution environment objets into a given folder.
Execution Environment objects include : Technologies, Connections, Contexts, Agents, Generical Actions.
 void exportExecutionEnvironmentInZipfile(java.lang.String pFolderPath, java.lang.String pZipFileName, boolean pOverwrite, EncodingOptions pEncodingDetails)
          Exports the execution environment objects into a given zip file.
Execution Environment objects include : Technologies, Connections, Contexts, Agents, Generical Actions.
 void exportLogicalTopologyInFolder(java.lang.String pFolderPath, EncodingOptions pEncodingDetails)
          Exports the logical topology objets into a given folder.
Logical Topology objects include : Technologies, Logical Agents, Logical Schemas, Actions Groups, Actions, Datatypes, Datatype conversions.
 void exportLogicalTopologyInZipfile(java.lang.String pFolderPath, java.lang.String pZipFileName, boolean pOverwrite, EncodingOptions pEncodingDetails)
          Exports the logical topology objects into a given zip file.
Logical Topology objects include : Technologies, Logical Agents, Logical Schemas, Actions Groups, Actions, Datatypes, Datatype conversions.
 void exportMasterInFolder(java.lang.String pFolderPath, EncodingOptions pEncodingDetails, boolean pExportVersions, boolean pExportSolutions)
          Exports the master objets into a given folder.
Master objects include : Objects, Methodes, Profiles, Users, Languages, Versions, Solutions, Open Tools, Password rules & polices, Entities, Links, Fields, Lookups.
 void exportMasterInZipfile(java.lang.String pFolderPath, java.lang.String pZipFileName, boolean pOverwrite, EncodingOptions pEncodingDetails, boolean pExportVersions, boolean pExportSolutions)
          Exports the master objects into a given zip file.
Master objects include : Objects, Methodes, Profiles, Users, Languages, Versions, Solutions, Open Tools, Password rules & polices, Entities, Links, Fields, Lookups.
 void exportSecurityInFolder(java.lang.String pFolderPath, EncodingOptions pEncodingDetails)
          Exports the security objets into a given folder.
Security objects include : Objects, Methods, Users, Profiles, Instances of Objects, Hosts, Password rules & policies.
 void exportSecurityInZipfile(java.lang.String pFolderPath, java.lang.String pZipFileName, boolean pOverwrite, EncodingOptions pEncodingDetails)
          Exports the security objects into a given zip file.
Security objects include : Objects, Methods, Users, Profiles, Instances of Objects, Hosts, Password rules & policies.
 void exportTopologyInFolder(java.lang.String pFolderPath, EncodingOptions pEncodingDetails)
          Exports the topology objets into a given folder.
Topology objects include : Entity IDs, Lacal Repositories, Connections, Hosts, Logical Agents, Agents, Generical Actions, Technologies, Datatypes, Datatypes conversions.
 void exportTopologyInZipfile(java.lang.String pFolderPath, java.lang.String pZipFileName, boolean pOverwrite, EncodingOptions pEncodingDetails)
          Exports the topology objects into a given zip file.
Topology objects include : Entity IDs, Lacal Repositories, Connections, Hosts, Logical Agents, Agents, Generical Actions, Technologies, Datatypes, Datatypes conversions.
 void exportToXml(IExportable pExportable, java.lang.String pFolderPath, boolean pforceOverwrite, boolean pRecursiveExport, EncodingOptions pEncodingDetails)
          Exports the given object to a XML file.
 void exportWorkInFolder(java.lang.String pFolderPath, EncodingOptions pEncodingDetails)
          Export the work objects into a given folder.
 void exportWorkInZipfile(java.lang.String pFolderPath, java.lang.String pZipFileName, boolean pOverwrite, EncodingOptions pEncodingDetails)
          Export the work objects into a given zip file.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ExportServiceImpl

public ExportServiceImpl(OdiInstance pOdiInstance)
Constructs an ExportServiceImpl object.
Parameters:
pOdiInstance - an OdiInstance object

Method Detail

exportAllScenarii

public void exportAllScenarii(IOdiScenarioSourceContainer pScenarioContainer,
                              java.lang.String pFolderPath,
                              boolean pExportScenarioOfPackages,
                              boolean pExportScenarioOfInterfaces,
                              boolean pExportScenarioOfProcedures,
                              boolean pExportScenarioOfVariables,
                              EncodingOptions pEncodingDetails,
                              boolean pRecursiveExport,
                              boolean pOverwrite)
Description copied from interface: IExportService
Export all the scenarios contained in this scenario source container.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportAllScenarii in interface IExportService
Parameters:
pScenarioContainer - the object that contains the scenario source.
pFolderPath - the folder in which the scenarios will be exported.
pExportScenarioOfPackages - if true, the scenarios generated from packages will be exported.
pExportScenarioOfInterfaces - if true, the scenarios generated from interfaces will be exported.
pExportScenarioOfProcedures - if true, the scenarios generated from procedures will be exported.
pExportScenarioOfVariables - if true, the scenarios generated from variables will be exported.
pEncodingDetails - details about the Java and XML encoding.
pRecursiveExport - will export all the scenario within the scenario source container hierarchy.
pOverwrite - if true, will overwrite an existing zip file in the same folder with the same name.

exportExecutionEnvironmentInFolder

public void exportExecutionEnvironmentInFolder(java.lang.String pFolderPath,
                                               EncodingOptions pEncodingDetails)
Description copied from interface: IExportService
Exports the execution environment objets into a given folder.
Execution Environment objects include : Technologies, Connections, Contexts, Agents, Generical Actions.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

If files with the same name already exist in the folder, they will be overwritten.

Specified by:
exportExecutionEnvironmentInFolder in interface IExportService
Parameters:
pFolderPath - the folder in which the objects will be exported.
pEncodingDetails - details about the Java and XML encoding.

exportExecutionEnvironmentInZipfile

public void exportExecutionEnvironmentInZipfile(java.lang.String pFolderPath,
                                                java.lang.String pZipFileName,
                                                boolean pOverwrite,
                                                EncodingOptions pEncodingDetails)
                                         throws java.io.IOException
Description copied from interface: IExportService
Exports the execution environment objects into a given zip file.
Execution Environment objects include : Technologies, Connections, Contexts, Agents, Generical Actions.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportExecutionEnvironmentInZipfile in interface IExportService
Parameters:
pFolderPath - the folder in which the zip file will be created.
pZipFileName - the name of the zip file.
pOverwrite - if true, will overwrite an existing zip file in the same folder with the same name.
pEncodingDetails - details about the Java and XML encoding.
Throws:
java.io.IOException - if pOverwrite is false and the file already exists.

exportLogicalTopologyInFolder

public void exportLogicalTopologyInFolder(java.lang.String pFolderPath,
                                          EncodingOptions pEncodingDetails)
Description copied from interface: IExportService
Exports the logical topology objets into a given folder.
Logical Topology objects include : Technologies, Logical Agents, Logical Schemas, Actions Groups, Actions, Datatypes, Datatype conversions.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

If files with the same name already exist in the folder, they will be overwritten.

Specified by:
exportLogicalTopologyInFolder in interface IExportService
Parameters:
pFolderPath - the folder in which the objects will be exported.
pEncodingDetails - details about the Java and XML encoding.

exportLogicalTopologyInZipfile

public void exportLogicalTopologyInZipfile(java.lang.String pFolderPath,
                                           java.lang.String pZipFileName,
                                           boolean pOverwrite,
                                           EncodingOptions pEncodingDetails)
                                    throws java.io.IOException
Description copied from interface: IExportService
Exports the logical topology objects into a given zip file.
Logical Topology objects include : Technologies, Logical Agents, Logical Schemas, Actions Groups, Actions, Datatypes, Datatype conversions.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportLogicalTopologyInZipfile in interface IExportService
Parameters:
pFolderPath - the folder in which the zip file will be created.
pZipFileName - the name of the zip file.
pOverwrite - if true, will overwrite an existing zip file in the same folder with the same name.
pEncodingDetails - details about the Java and XML encoding.
Throws:
java.io.IOException - if pOverwrite is false and the file already exists.

exportMasterInFolder

public void exportMasterInFolder(java.lang.String pFolderPath,
                                 EncodingOptions pEncodingDetails,
                                 boolean pExportVersions,
                                 boolean pExportSolutions)
Description copied from interface: IExportService
Exports the master objets into a given folder.
Master objects include : Objects, Methodes, Profiles, Users, Languages, Versions, Solutions, Open Tools, Password rules & polices, Entities, Links, Fields, Lookups.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

If files with the same name already exist in the folder, they will be overwritten.

Specified by:
exportMasterInFolder in interface IExportService
Parameters:
pFolderPath - the folder in which the objects will be exported.
pEncodingDetails - details about the Java and XML encoding.
pExportVersions - if true, the versionned objects will be exported.
pExportSolutions - if true, the solutions of versionned objects will be exported.

exportMasterInZipfile

public void exportMasterInZipfile(java.lang.String pFolderPath,
                                  java.lang.String pZipFileName,
                                  boolean pOverwrite,
                                  EncodingOptions pEncodingDetails,
                                  boolean pExportVersions,
                                  boolean pExportSolutions)
                           throws java.io.IOException
Description copied from interface: IExportService
Exports the master objects into a given zip file.
Master objects include : Objects, Methodes, Profiles, Users, Languages, Versions, Solutions, Open Tools, Password rules & polices, Entities, Links, Fields, Lookups.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportMasterInZipfile in interface IExportService
Parameters:
pFolderPath - the folder in which the zip file will be created.
pZipFileName - the name of the zip file.
pOverwrite - if true, will overwrite an existing zip file in the same folder with the same name.
pEncodingDetails - details about the Java and XML encoding.
pExportVersions - if true, the versionned objects will be exported.
pExportSolutions - if true, the solutions of versionned objects will be exported.
Throws:
java.io.IOException - if pOverwrite is false and the file already exists.

exportSecurityInFolder

public void exportSecurityInFolder(java.lang.String pFolderPath,
                                   EncodingOptions pEncodingDetails)
Description copied from interface: IExportService
Exports the security objets into a given folder.
Security objects include : Objects, Methods, Users, Profiles, Instances of Objects, Hosts, Password rules & policies.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

If files with the same name already exist in the folder, they will be overwritten.

Specified by:
exportSecurityInFolder in interface IExportService
Parameters:
pFolderPath - the folder in which the objects will be exported.
pEncodingDetails - details about the Java and XML encoding.

exportSecurityInZipfile

public void exportSecurityInZipfile(java.lang.String pFolderPath,
                                    java.lang.String pZipFileName,
                                    boolean pOverwrite,
                                    EncodingOptions pEncodingDetails)
                             throws java.io.IOException
Description copied from interface: IExportService
Exports the security objects into a given zip file.
Security objects include : Objects, Methods, Users, Profiles, Instances of Objects, Hosts, Password rules & policies.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportSecurityInZipfile in interface IExportService
Parameters:
pFolderPath - the folder in which the zip file will be created.
pZipFileName - the name of the zip file.
pOverwrite - if true, will overwrite an existing zip file in the same folder with the same name.
pEncodingDetails - details about the Java and XML encoding.
Throws:
java.io.IOException - if pOverwrite is false and the file already exists.

exportToXml

public void exportToXml(IExportable pExportable,
                        java.lang.String pFolderPath,
                        boolean pforceOverwrite,
                        boolean pRecursiveExport,
                        EncodingOptions pEncodingDetails)
                 throws java.io.IOException
Description copied from interface: IExportService
Exports the given object to a XML file.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportToXml in interface IExportService
Parameters:
pExportable - the object to export.
pFolderPath - the folder in which the object will be exported.
pforceOverwrite - if true, will overwrite an existing zip file in the same folder with the same name.
pRecursiveExport - will export all the object hierarchy.
pEncodingDetails - details about the Java and XML encoding.
Throws:
java.io.IOException - if pOverwrite is false and the file already exists.

exportTopologyInFolder

public void exportTopologyInFolder(java.lang.String pFolderPath,
                                   EncodingOptions pEncodingDetails)
Description copied from interface: IExportService
Exports the topology objets into a given folder.
Topology objects include : Entity IDs, Lacal Repositories, Connections, Hosts, Logical Agents, Agents, Generical Actions, Technologies, Datatypes, Datatypes conversions.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

If files with the same name already exist in the folder, they will be overwritten.

Specified by:
exportTopologyInFolder in interface IExportService
Parameters:
pFolderPath - the folder in which the objects will be exported.
pEncodingDetails - details about the Java and XML encoding.

exportTopologyInZipfile

public void exportTopologyInZipfile(java.lang.String pFolderPath,
                                    java.lang.String pZipFileName,
                                    boolean pOverwrite,
                                    EncodingOptions pEncodingDetails)
                             throws java.io.IOException
Description copied from interface: IExportService
Exports the topology objects into a given zip file.
Topology objects include : Entity IDs, Lacal Repositories, Connections, Hosts, Logical Agents, Agents, Generical Actions, Technologies, Datatypes, Datatypes conversions.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportTopologyInZipfile in interface IExportService
Parameters:
pFolderPath - the folder in which the zip file will be created.
pZipFileName - the name of the zip file.
pOverwrite - if true, will overwrite an existing zip file in the same folder with the same name.
pEncodingDetails - details about the Java and XML encoding.
Throws:
java.io.IOException - if pOverwrite is false and the file already exists.

exportWorkInFolder

public void exportWorkInFolder(java.lang.String pFolderPath,
                               EncodingOptions pEncodingDetails)
Description copied from interface: IExportService
Export the work objects into a given folder.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

If files with the same name already exist in the folder, they will be overwritten.

Specified by:
exportWorkInFolder in interface IExportService
Parameters:
pFolderPath - the folder in which the objects will be exported.
pEncodingDetails - details about the Java and XML encoding.

exportWorkInZipfile

public void exportWorkInZipfile(java.lang.String pFolderPath,
                                java.lang.String pZipFileName,
                                boolean pOverwrite,
                                EncodingOptions pEncodingDetails)
                         throws java.io.IOException
Description copied from interface: IExportService
Export the work objects into a given zip file.

This method will execute in the surrounding transaction and all pending persisted changes will be flushed before export.

Specified by:
exportWorkInZipfile in interface IExportService
Parameters:
pFolderPath - the folder in which the zip file will be created.
pZipFileName - the name of the zip file.
pOverwrite - pif true, will overwrite an existing zip file in the same folder with the same name.
pEncodingDetails - details about the Java and XML encoding.
Throws:
java.io.IOException - if pOverwrite is false and the file already exists.

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.