|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
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) Deprecated. with no replacement this method was only useful for RCU old integration usecase |
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) Deprecated. replaced by #createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String) |
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) Deprecated. replaced by #createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String) |
boolean |
createWorkRepository(WorkRepository.WorkType pWorkType, JdbcProperties pWorkRepositoryJdbcProperties, int pWorkDevRepositoryId, java.lang.String pWorkRepositoryName, TechnologyName pWorkTechnology, boolean pOverwrite, char[] pWorkRepositoryPassword) Create an ODI Work repository into the database schema specified by the JdbcProperties 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) Deprecated. replaced by #createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String) |
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) Deprecated. replaced by #createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String) |
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_PASSWORD_MAX_LENGTH
static final int WORK_REPOSITORY_MAX_ID
Method Detail |
---|
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) throws RepositorySetupException
#createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String)
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 repositoryRepositoryScriptsNotFoundException
- 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
#createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String)
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 repositoryRepositoryScriptsNotFoundException
- 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
#createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String)
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 repositoryRepositoryScriptsNotFoundException
- 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
#createWorkRepository(WorkType, JdbcProperties, int, String, TechnologyName, boolean, String)
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 repositoryRepositoryScriptsNotFoundException
- if failed to find the script filesvoid 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 upgradeRepositorySetupException
- if failed to upgrade the work repositoryRepositoryScriptsNotFoundException
- 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 repositoryRepositoryScriptsNotFoundException
- if failed to find the script filesvoid 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 databaseRepositorySetupException
- if failed to create that work repositoryRepositoryScriptsNotFoundException
- 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 repositoryRepositorySetupException
boolean createWorkRepository(WorkRepository.WorkType pWorkType, JdbcProperties pWorkRepositoryJdbcProperties, int pWorkDevRepositoryId, java.lang.String pWorkRepositoryName, TechnologyName pWorkTechnology, boolean pOverwrite, char[] pWorkRepositoryPassword) throws RepositorySetupException
JdbcProperties
parameters.
This method will create work repository with the specified ODI work repository name and without any password.
pWorkType
- the type of repository that will be createdpWorkRepositoryJdbcProperties
- the jdbc properties of the database where the work repository will be created.pWorkDevRepositoryId
- 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.pWorkRepositoryPassword
- the work repository password that will be prompted if the created repository is attached later to another master. If null value is passed in no password check will be done at attachment.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 repositoryRepositoryScriptsNotFoundException
- if failed to find the script files
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.6.0) E17060-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |