|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkRepositorySetup
This interface defines methods to create and upgrade an ODI Work Repository.
Field Summary | |
---|---|
static int |
WORK_REPOSITORY_MAX_ID
Work repository ID maximum value. |
static int |
WORK_REPOSITORY_PASSWORD_MAX_LENGTH
The maximum length supported for a clear text password. |
Method Summary | |
---|---|
void |
configureWorkRuntimeRepository(java.lang.String pWorkUrl,
java.lang.String pWorkDriver,
java.lang.String pWorkUsername,
java.lang.String pWorkPassword,
int pWorkRuntimeRepositoryId,
java.lang.String pWorkRepositoryName,
TechnologyName pWorkTechnology)
Configure default content of a given ODI work runtime repository. |
boolean |
createWorkDevRepository(java.lang.String pWorkUrl,
java.lang.String pWorkDriver,
java.lang.String pWorkUsername,
java.lang.String pWorkPassword,
int pWorkDevRepositoryId,
java.lang.String pWorkRepositoryName,
java.lang.String pWorkRepositoryPassword,
TechnologyName pWorkTechnology,
boolean pOverwrite)
Create an ODI Work development repository into the database specified by the given parameters. |
boolean |
createWorkDevRepository(java.lang.String pWorkUrl,
java.lang.String pWorkDriver,
java.lang.String pWorkUsername,
java.lang.String pWorkPassword,
int pWorkDevRepositoryId,
java.lang.String pWorkRepositoryName,
TechnologyName pWorkTechnology,
boolean pOverwrite)
Create an ODI Work development repository into the database specified by the given parameters. |
boolean |
createWorkRuntimeRepository(java.lang.String pWorkUrl,
java.lang.String pWorkDriver,
java.lang.String pWorkUsername,
java.lang.String pWorkPassword,
int pWorkRuntimeRepositoryId,
java.lang.String pWorkRepositoryName,
java.lang.String pWorkRepositoryPassword,
TechnologyName pWorkTechnology,
boolean pOverwrite)
Create an ODI Work runtime repository into the database specified by the given parameters. |
boolean |
createWorkRuntimeRepository(java.lang.String pWorkUrl,
java.lang.String pWorkDriver,
java.lang.String pWorkUsername,
java.lang.String pWorkPassword,
int pWorkRuntimeRepositoryId,
java.lang.String pWorkRepositoryName,
TechnologyName pWorkTechnology,
boolean pOverwrite)
Create an ODI Work runtime repository into the database specified by the given parameters. |
boolean |
isRepIdAndRepNameAvailable(int pWorkDevRepositoryId,
java.lang.String pWorkRepositoryName)
This method checks that the repository id and name are available. |
void |
upgradeWorkRepository(java.lang.String pWorkRepositoryName)
Upgrade the work repository schema for the database specified by the given parameters. |
void |
upgradeWorkRepository(java.lang.String pWorkRepositoryName,
JdbcProperties pWorkRepositoryNewJdbcProperties)
Upgrade the work repository schema for the database specified by the given parameters. |
Field Detail |
---|
static final int WORK_REPOSITORY_MAX_ID
static final int WORK_REPOSITORY_PASSWORD_MAX_LENGTH
Method Detail |
---|
void configureWorkRuntimeRepository(java.lang.String pWorkUrl, java.lang.String pWorkDriver, java.lang.String pWorkUsername, java.lang.String pWorkPassword, int pWorkRuntimeRepositoryId, java.lang.String pWorkRepositoryName, TechnologyName pWorkTechnology) throws RepositorySetupException
That method will also add work repository information into parent master repository.
pWorkUrl
- the url of the database where the work repository will be createdpWorkDriver
- the JDBC driver name of the databasepWorkUsername
- the username to connect to the databasepWorkPassword
- the password to connect to the databasepWorkRuntimeRepositoryId
- the ID of the repository that will be createdpWorkRepositoryName
- the logical name of the work repositorypWorkTechnology
- the technology of the database
RepositorySetupException
- if failed to create that work repository
RepositoryScriptsNotFoundException
- if failed to find the script filesboolean createWorkDevRepository(java.lang.String pWorkUrl, java.lang.String pWorkDriver, java.lang.String pWorkUsername, java.lang.String pWorkPassword, int pWorkDevRepositoryId, java.lang.String pWorkRepositoryName, java.lang.String pWorkRepositoryPassword, TechnologyName pWorkTechnology, boolean pOverwrite) throws RepositorySetupException
This method will create work repository schema for development with the specified ODI work repository name and password.
pWorkUrl
- the url of the database where the work repository will be createdpWorkDriver
- the JDBC driver name of the databasepWorkUsername
- the username to connect to the databasepWorkPassword
- the password to connect to the databasepWorkDevRepositoryId
- the ID of the repository that will be createdpWorkRepositoryName
- the logical name of the work repositorypWorkRepositoryPassword
- the password of the work repositorypWorkTechnology
- the technology of the databasepOverwrite
- 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.
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.
RepositorySetupException
- if failed to create that work repository
RepositoryScriptsNotFoundException
- if failed to find the script filesboolean createWorkDevRepository(java.lang.String pWorkUrl, java.lang.String pWorkDriver, java.lang.String pWorkUsername, java.lang.String pWorkPassword, int pWorkDevRepositoryId, java.lang.String pWorkRepositoryName, TechnologyName pWorkTechnology, boolean pOverwrite) throws RepositorySetupException
This method will create work repository schema for development with the specified ODI work repository name and without any password.
pWorkUrl
- the url of the database where the work repository will be createdpWorkDriver
- the JDBC driver name of the databasepWorkUsername
- the username to connect to the databasepWorkPassword
- the password to connect to the databasepWorkDevRepositoryId
- the ID of the repository that will be createdpWorkRepositoryName
- the logical name of the work repositorypWorkTechnology
- the technology of the databasepOverwrite
- 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.
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.
RepositorySetupException
- if failed to create that work repository
RepositoryScriptsNotFoundException
- if failed to find the script filesboolean createWorkRuntimeRepository(java.lang.String pWorkUrl, java.lang.String pWorkDriver, java.lang.String pWorkUsername, java.lang.String pWorkPassword, int pWorkRuntimeRepositoryId, java.lang.String pWorkRepositoryName, java.lang.String pWorkRepositoryPassword, TechnologyName pWorkTechnology, boolean pOverwrite) throws RepositorySetupException
This method will create work repository schema for runtime with the specified ODI work repository name and password.
pWorkUrl
- the url of the database where the work repository will be createdpWorkDriver
- the JDBC driver name of the databasepWorkUsername
- the username to connect to the databasepWorkPassword
- the password to connect to the databasepWorkRuntimeRepositoryId
- the ID of the repository that will be createdpWorkRepositoryName
- the logical name of the work repositorypWorkRepositoryPassword
- the password of the work repositorypWorkTechnology
- the technology of the databasepOverwrite
- 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.
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.
RepositorySetupException
- if failed to create that work repository
RepositoryScriptsNotFoundException
- if failed to find the script filesboolean createWorkRuntimeRepository(java.lang.String pWorkUrl, java.lang.String pWorkDriver, java.lang.String pWorkUsername, java.lang.String pWorkPassword, int pWorkRuntimeRepositoryId, java.lang.String pWorkRepositoryName, TechnologyName pWorkTechnology, boolean pOverwrite) throws RepositorySetupException
This method will create work repository schema for runtime with the specified ODI work repository name and without any password.
pWorkUrl
- the url of the database where the work repository will be createdpWorkDriver
- the JDBC driver name of the databasepWorkUsername
- the username to connect to the databasepWorkPassword
- the password to connect to the databasepWorkRuntimeRepositoryId
- the ID of the repository that will be createdpWorkRepositoryName
- the logical name of the work repositorypWorkTechnology
- the technology of the databasepOverwrite
- 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.
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.
RepositorySetupException
- if failed to create that work repository
RepositoryScriptsNotFoundException
- if failed to find the script filesboolean isRepIdAndRepNameAvailable(int pWorkDevRepositoryId, java.lang.String pWorkRepositoryName) throws RepositorySetupException
pWorkDevRepositoryId
- the ID of the repositorypWorkRepositoryName
- the logical name of the work repository
RepositorySetupException
void upgradeWorkRepository(java.lang.String pWorkRepositoryName) throws RepositorySetupException
In order to upgrade a work repository, caller of this method have to passe in an instance of ODI running only against an ODI Master repository.
Following the work repository type (development or runtime) that method will upgrade the repository schema accordingly.
pWorkRepositoryName
- the name of the work repository to upgrade
RepositorySetupException
- if failed to upgrade the work repository
RepositoryScriptsNotFoundException
- if failed to find the script filesvoid upgradeWorkRepository(java.lang.String pWorkRepositoryName, JdbcProperties pWorkRepositoryNewJdbcProperties) throws RepositorySetupException
In order to upgrade a work repository, caller of this method have to passe in an instance of ODI running only against an ODI Master repository.
Following the work repository type (development or runtime) that method will upgrade the repository schema accordingly.
pWorkRepositoryName
- the name of the work repository to upgradepWorkRepositoryNewJdbcProperties
- The new location of the work repository (this can be usefull if it's different from the location defined in the master repository). If null the location currently in the master repostiory will be kept.
RepositorySetupException
- if failed to upgrade the work repository
RepositoryScriptsNotFoundException
- if failed to find the script files
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |