Skip navigation links

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

E17060-02


oracle.odi.setup.support
Class MasterRepositorySetupImpl

java.lang.Object
  extended by oracle.odi.setup.support.MasterRepositorySetupImpl

All Implemented Interfaces:
IMasterRepositorySetup

public final class MasterRepositorySetupImpl
extends java.lang.Object
implements IMasterRepositorySetup

Default IMasterRepositorySetup implementation.


Field Summary

 

Fields inherited from interface oracle.odi.setup.IMasterRepositorySetup
MASTER_REPOSITORY_MAX_ID

 

Constructor Summary
MasterRepositorySetupImpl()
           

 

Method Summary
 boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration)
          Create an ODI master repository into the database specified by the given parameters.
 boolean createMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, IMassImportExportResource pMasterImportSource)
          Deprecated. 
 boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource)
          Creates an ODI master repository into the database specified by the given parameters and populates the master with informations from a master export.
 void upgradeMasterRepository(JdbcProperties pJdbcProperties)
          Deprecated. 
 void upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword)
          Upgrade the master repository schema for the database specified by the given parameters.
 void upgradeMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, TechnologyName pMasterTechnology)
          Deprecated. 

 

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

 

Constructor Detail

MasterRepositorySetupImpl

public MasterRepositorySetupImpl()

Method Detail

createMasterRepository

@Deprecated
public boolean createMasterRepository(java.lang.String pMasterUrl,
                                                 java.lang.String pMasterDriver,
                                                 java.lang.String pMasterUsername,
                                                 java.lang.String pMasterPassword,
                                                 int pMasterRepositoryId,
                                                 TechnologyName pMasterTechnology,
                                                 boolean pOverwrite,
                                                 AuthenticationConfiguration pAuthenticationConfiguration,
                                                 PasswordStorageConfiguration pPasswordStorageConfiguration,
                                                 IMassImportExportResource pMasterImportSource)
                               throws RepositorySetupException
Deprecated. 
Description copied from interface: IMasterRepositorySetup
Create an ODI master repository into the database specified by the given parameters.

This method will create the tables for master repository in the database schema, and will initialize internal master repository configuration. According to the type of pAuthenticationConfiguration parameter it will also

That method return true if the repository has been created, and false in case a previous repository was found but invoker had asked to not overwrite any existing repository.

Specified by:
createMasterRepository in interface IMasterRepositorySetup
Parameters:
pMasterUrl - the url of the database where the master repository will be created
pMasterDriver - the JDBC driver name of the database
pMasterUsername - the username to connect to the database
pMasterPassword - the password to connect to the database
pMasterRepositoryId - the ID of the repository that will be created
pMasterTechnology - the technology of the database
pOverwrite - true to override an existing repository, false otherwise. Note that overwrite of a repository having a different version might fail. In this case please cleanup your database schema manually.
pAuthenticationConfiguration - the authentication configuration
pPasswordStorageConfiguration - the PasswordStorageConfiguration to use for this repository. If this parameter is null the one defined in the specified pMasterImportSource if any will be used otherwise the PasswordStorageConfiguration.InternalPasswordStorageConfiguration will be used.
pMasterImportSource - the location of master repository configuration to use. If this parameter is null the default configuration shipped with the product will be used.
Returns:
true if the repository has been created, false otherwise
Throws:
RepositorySetupException - if failed to create that Master Repository
RepositoryScriptsNotFoundException - if the script files can't be found

upgradeMasterRepository

@Deprecated
public void upgradeMasterRepository(java.lang.String pMasterUrl,
                                               java.lang.String pMasterDriver,
                                               java.lang.String pMasterUsername,
                                               java.lang.String pMasterPassword,
                                               TechnologyName pMasterTechnology)
                             throws RepositorySetupException
Deprecated. 
Description copied from interface: IMasterRepositorySetup
Upgrade the master repository schema for the database specified by the given parameters.
Specified by:
upgradeMasterRepository in interface IMasterRepositorySetup
Parameters:
pMasterUrl - the url of the database where the master repository will be created
pMasterDriver - the JDBC driver name of the database
pMasterUsername - the username to connect to the database
pMasterPassword - the password to connect to the database
pMasterTechnology - the technology of the database
Throws:
RepositorySetupException - if failed to upgrade the given repository
RepositoryScriptsNotFoundException - if the script files can't be found

upgradeMasterRepository

@Deprecated
public void upgradeMasterRepository(JdbcProperties pJdbcProperties)
                             throws RepositorySetupException
Deprecated. 
Description copied from interface: IMasterRepositorySetup
Upgrade the master repository schema for the database specified by the given parameters.
Specified by:
upgradeMasterRepository in interface IMasterRepositorySetup
Parameters:
pJdbcProperties - the jdbc properties of the database where the master repository to upgrade is installed
Throws:
RepositorySetupException - if failed to upgrade the given repository
RepositoryScriptsNotFoundException - if the script files can't be found

createMasterRepository

public boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
                                      java.lang.String pDbaUsername,
                                      char[] pDbaPassword,
                                      int pMasterRepositoryId,
                                      TechnologyName pMasterTechnology,
                                      boolean pOverwrite,
                                      AuthenticationConfiguration pAuthenticationConfiguration,
                                      PasswordStorageConfiguration pPasswordStorageConfiguration)
                               throws RepositorySetupException
Description copied from interface: IMasterRepositorySetup
Create an ODI master repository into the database specified by the given parameters.

This method will create the tables for master repository in the database schema, and will initialize internal master repository configuration. According to the type of pAuthenticationConfiguration parameter it will also

That method return true if the repository has been created, and false in case a previous repository was found but invoker had asked to not overwrite any existing repository.

Specified by:
createMasterRepository in interface IMasterRepositorySetup
Parameters:
pMasterRepositoryJdbcProperties - the jdbc properties of the database where the master repository to upgrade is installed
pDbaUsername - The database user that will be used to manage the Schema Version Registry. This user should have the DBA privileges. For Oracle user SYS, please enter SYS AS SYSDBA.
pDbaPassword - The password for the dba user.
pMasterRepositoryId - the ID of the repository that will be created
pMasterTechnology - the technology of the database
pOverwrite - true to override an existing repository, false otherwise. Note that overwrite of a repository having a different version might fail. In this case please cleanup your database schema manually.
pAuthenticationConfiguration - the authentication configuration
pPasswordStorageConfiguration - the PasswordStorageConfiguration to use for this repository. If this parameter is null the PasswordStorageConfiguration.InternalPasswordStorageConfiguration will be used.
Returns:
true if the repository has been created, false otherwise
Throws:
RepositorySetupException - if failed to create that Master Repository
RepositoryScriptsNotFoundException - if the script files can't be found

createMasterRepositoryFromExport

public boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties,
                                                java.lang.String pDbaUsername,
                                                char[] pDbaPassword,
                                                int pMasterRepositoryId,
                                                TechnologyName pMasterTechnology,
                                                boolean pOverwrite,
                                                IMassImportExportResource pMasterImportSource)
                                         throws RepositorySetupException
Description copied from interface: IMasterRepositorySetup
Creates an ODI master repository into the database specified by the given parameters and populates the master with informations from a master export.

This method will create the tables for master repository in the database schema, and will initialize master repository configuration based on the export source.

That method return true if the repository has been created, and false in case a previous repository was found but invoker had asked to not overwrite any existing repository.

Specified by:
createMasterRepositoryFromExport in interface IMasterRepositorySetup
Parameters:
pMasterRepositoryJdbcProperties - the jdbc properties of the database where the master repository to upgrade is installed
pDbaUsername - The database user that will be used to manage the Schema Version Registry. This user should have the DBA privileges. For Oracle user SYS, please enter SYS AS SYSDBA.
pDbaPassword - The password for the dba user.
pMasterRepositoryId - the ID of the repository that will be created
pMasterTechnology - the technology of the database
pOverwrite - true to override an existing repository, false otherwise. Note that overwrite of a repository having a different version might fail. In this case please cleanup your database schema manually.
pMasterImportSource - the location of master repository configuration to use. If this parameter is null the default configuration shipped with the product will be used.
Returns:
true if the repository has been created, false otherwise
Throws:
RepositorySetupException - if failed to create that Master Repository
RepositoryScriptsNotFoundException - if the script files can't be found

upgradeMasterRepository

public void upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
                                    java.lang.String pDbaUsername,
                                    char[] pDbaPassword)
                             throws RepositorySetupException
Description copied from interface: IMasterRepositorySetup
Upgrade the master repository schema for the database specified by the given parameters.
Specified by:
upgradeMasterRepository in interface IMasterRepositorySetup
Parameters:
pMasterRepositoryJdbcProperties - the jdbc properties of the database where the master repository to upgrade is installed
Throws:
RepositorySetupException - if failed to upgrade the given repository
RepositoryScriptsNotFoundException - if the script files can't be found

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.