|
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 |
java.lang.Object oracle.odi.setup.support.WorkRepositorySetupImpl
public final class WorkRepositorySetupImpl
Default IWorkRepositorySetup
implementation.
Field Summary |
---|
Fields inherited from interface oracle.odi.setup.IWorkRepositorySetup |
---|
WORK_REPOSITORY_MAX_ID, WORK_REPOSITORY_PASSWORD_MAX_LENGTH |
Constructor Summary | |
---|---|
WorkRepositorySetupImpl(OdiInstance pOdiInstance)
Creates a new WorkRepositorySetupImpl for the given @link OdiInstance . |
Method Summary | |
---|---|
void |
configureWorkDevRepository(java.lang.String pWorkUrl,
java.lang.String pWorkDriver,
java.lang.String pWorkUsername,
java.lang.String pWorkPassword,
int pWorkDevRepositoryId,
java.lang.String pWorkRepositoryName,
TechnologyName pWorkTechnology)
Configure default content of a given ODI work runtime repository. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkRepositorySetupImpl(OdiInstance pOdiInstance)
OdiInstance
.
pOdiInstance
- the OdiInstance connected to a master repository.Method Detail |
---|
public void configureWorkDevRepository(java.lang.String pWorkUrl, java.lang.String pWorkDriver, java.lang.String pWorkUsername, java.lang.String pWorkPassword, int pWorkDevRepositoryId, java.lang.String pWorkRepositoryName, TechnologyName pWorkTechnology) throws RepositorySetupException
IWorkRepositorySetup
That method will also add work repository information into parent master repository.
configureWorkDevRepository
in interface IWorkRepositorySetup
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 database
RepositorySetupException
- if failed to create that work repository
RepositoryScriptsNotFoundException
- if failed to find the script filespublic 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
IWorkRepositorySetup
That method will also add work repository information into parent master repository.
configureWorkRuntimeRepository
in interface IWorkRepositorySetup
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 filespublic 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) throws RepositorySetupException, PermissionDeniedException
IWorkRepositorySetup
This method will create work repository schema for development with the specified ODI work repository name and password.
createWorkDevRepository
in interface IWorkRepositorySetup
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 files
PermissionDeniedException
public 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
IWorkRepositorySetup
This method will create work repository schema for development with the specified ODI work repository name and without any password.
createWorkDevRepository
in interface IWorkRepositorySetup
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 filespublic 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) throws RepositorySetupException, PermissionDeniedException
IWorkRepositorySetup
This method will create work repository schema for runtime with the specified ODI work repository name and password.
createWorkRuntimeRepository
in interface IWorkRepositorySetup
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 files
PermissionDeniedException
public 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) throws RepositorySetupException
IWorkRepositorySetup
This method will create work repository schema for runtime with the specified ODI work repository name and without any password.
createWorkRuntimeRepository
in interface IWorkRepositorySetup
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 filespublic boolean isRepIdAndRepNameAvailable(int pWorkDevRepositoryId, java.lang.String pWorkRepositoryName) throws RepositorySetupException
IWorkRepositorySetup
isRepIdAndRepNameAvailable
in interface IWorkRepositorySetup
pWorkDevRepositoryId
- the ID of the repositorypWorkRepositoryName
- the logical name of the work repository
RepositorySetupException
public void upgradeWorkRepository(java.lang.String pWorkRepositoryName) throws RepositorySetupException
IWorkRepositorySetup
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.
upgradeWorkRepository
in interface IWorkRepositorySetup
pWorkRepositoryName
- the name of the work repository to upgrade
RepositorySetupException
- if failed to upgrade the work repository
RepositoryScriptsNotFoundException
- if failed to find the script filespublic void upgradeWorkRepository(java.lang.String pWorkRepositoryName, JdbcProperties pWorkRepositoryNewJdbcProperties) throws RepositorySetupException, PermissionDeniedException
IWorkRepositorySetup
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.
upgradeWorkRepository
in interface IWorkRepositorySetup
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
PermissionDeniedException
|
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 |