public interface InformationModelService
Important things to note:
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
testUpdateDataSource(java.lang.String path,
java.lang.String fromCatalog,
java.lang.String toCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
This method will do a dry run and return all elements that would have changed if the real update method was run.
Use of this method will not result in any changes to the library. |
java.util.List<java.lang.String> |
testUpdateDataSourceFromId(Guid itemId,
java.lang.String fromCatalog,
java.lang.String toCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
This method will do a dry run and return all elements that would have changed if the real update method was run.
Use of this method will not result in any changes to the library. |
long |
updateDataSource(java.lang.String path,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String fromCatalog,
java.lang.String toCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
Updates the provided information model data source by setting a new connectionUrl, user, password and
userAuthentication.
|
long |
updateDataSourceCatalog(java.lang.String path,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String fromCatalog,
java.lang.String toCatalog)
Updates the provided information model data source by setting a new connectionUrl, user, password and
userAuthentication.
|
long |
updateDataSourceCatalogFromId(Guid itemId,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String fromCatalog,
java.lang.String toCatalog)
Updates the provided information model data source by setting a new connectionUrl, a user, a password and
userAuthentication.
|
long |
updateDataSourceFromId(Guid itemId,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String fromCatalog,
java.lang.String toCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
Updates the provided information model data source by setting a new connectionUrl, a user, a password and
userAuthentication.
|
long |
updateDataSourceSchema(java.lang.String path,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String forTheCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
Updates the provided information model data source by setting a new connectionUrl, user, password and
userAuthentication.
|
long |
updateDataSourceSchemaFromId(Guid itemId,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String forTheCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
Updates the provided information model data source by setting a new connectionUrl, a user, a password and
userAuthentication.
|
java.util.List<java.lang.String> testUpdateDataSourceFromId(Guid itemId, java.lang.String fromCatalog, java.lang.String toCatalog, java.lang.String fromSchema, java.lang.String toSchema) throws InformationModelServiceException
itemId
- The id to the data source which should change all its dependent elements.fromCatalog
- The name of the catalog to change from.toCatalog
- The name of the catalog to change to.fromSchema
- The name of the schema to change from.toSchema
- The name of the schema to change to.InformationModelServiceException
- the information model service exceptionjava.util.List<java.lang.String> testUpdateDataSource(java.lang.String path, java.lang.String fromCatalog, java.lang.String toCatalog, java.lang.String fromSchema, java.lang.String toSchema) throws InformationModelServiceException
path
- The path to the information model data source to update. For example, /folder1/datasource. The data
source path must not be null.fromCatalog
- The name of the catalog to change from.toCatalog
- The name of the catalog to change to.fromSchema
- The name of the schema to change from.toSchema
- The name of the schema to change to.InformationModelServiceException
- the information model service exceptionlong updateDataSourceCatalog(java.lang.String path, java.lang.String connectionUrl, java.lang.String user, java.lang.String password, java.lang.String userAuthentication, java.lang.String fromCatalog, java.lang.String toCatalog) throws InformationModelServiceException
path
- The path to the information model data source to update. For example, /folder1/datasource. The data
source path must not be null.connectionUrl
- The new connection URL to set in the information model data source. If null it will not be setuser
- The username. If null, it will not be setpassword
- The password. If null, it will not be set.userAuthentication
- The boolean value userAuthentication in the data source. If null it will not be set (keep
current value). If true, it will prompt for credentials, and if false, it will use the provided username
and password.fromCatalog
- The name of the catalog to change from. If both fromCatalog and toCatalog are null, then the catalog
changes will be skipped.toCatalog
- The name of the catalog to change to. If both fromCatalog and toCatalog are null, then the catalog
changes will be skipped.InformationModelServiceException
- the information model service exception.long updateDataSourceSchema(java.lang.String path, java.lang.String connectionUrl, java.lang.String user, java.lang.String password, java.lang.String userAuthentication, java.lang.String forTheCatalog, java.lang.String fromSchema, java.lang.String toSchema) throws InformationModelServiceException
path
- The path to the information model data source to update. For example, /folder1/datasource. The data
source path must not be null.connectionUrl
- The new connection URL to set in the information model data source. If null it will not be setuser
- The username. If null, it will not be setpassword
- The password. If null, it will not be set.userAuthentication
- The boolean value userAuthentication in the data source. If null it will not be set (keep
current value). If true, it will prompt for credentials, and if false, it will use the provided username
and passwordforTheCatalog
- the catalog which the schema changes should effect.fromSchema
- The name of the schema to change from. If both fromSchema and toSchema are null, then the schema
changes will be skipped.toSchema
- The name of the schema to change to. If both fromSchema and toSchema are null, then the schema changes
will be skipped.InformationModelServiceException
- the information model service exception.long updateDataSource(java.lang.String path, java.lang.String connectionUrl, java.lang.String user, java.lang.String password, java.lang.String userAuthentication, java.lang.String fromCatalog, java.lang.String toCatalog, java.lang.String fromSchema, java.lang.String toSchema) throws InformationModelServiceException
path
- The path to the information model data source to update. For example, /folder1/datasource. The data
source path must not be null.connectionUrl
- the new connection URL to set in the information model data source. If null it will not be setuser
- The username. If null, it will not be setpassword
- The password. If null, it will not be set.userAuthentication
- The boolean value userAuthentication in the data source. If null it will not be set (keep
current value). If true, it will prompt for credentials, and if false, it will use the provided username
and password.fromCatalog
- The name of the catalog to change from. If both fromCatalog and toCatalog are null, then the
catalog changes will be skipped.toCatalog
- The name of the catalog to change to. If both fromCatalog and toCatalog are null, then the catalog
changes will be skipped.fromSchema
- The name of the schema to change from. If both fromSchema and toSchema are null, then the schema
changes will be skipped.toSchema
- The name of the schema to change to. If both fromSchema and toSchema are null, then the schema
changes will be skipped.InformationModelServiceException
- the information model service exception.long updateDataSourceFromId(Guid itemId, java.lang.String connectionUrl, java.lang.String user, java.lang.String password, java.lang.String userAuthentication, java.lang.String fromCatalog, java.lang.String toCatalog, java.lang.String fromSchema, java.lang.String toSchema) throws InformationModelServiceException
itemId
- The id to the information model data source to update. The id must not be null.connectionUrl
- The new connection URL to set in the information model data source. If null, it will not be
setuser
- The username. If null, it will not be setpassword
- the password. If null it will not be set.userAuthentication
- The boolean value userAuthentication in the data source. If null it will not be set (keep
current value). If true, it will prompt for credentials, and if false, it will use the provided username
and password.fromCatalog
- The name of the catalog to change from. If both fromCatalog and toCatalog are null, then the
catalog changes will be skipped.toCatalog
- The name of the catalog to change to. If both fromCatalog and toCatalog are null, then the catalog
changes will be skipped.fromSchema
- The name of the schema to change from. If both fromSchema and toSchema are null, then the schema
changes will be skipped.toSchema
- The name of the schema to change to. If both fromSchema and toSchema are null, then the schema
changes will be skipped.InformationModelServiceException
- the information model service exceptionlong updateDataSourceSchemaFromId(Guid itemId, java.lang.String connectionUrl, java.lang.String user, java.lang.String password, java.lang.String userAuthentication, java.lang.String forTheCatalog, java.lang.String fromSchema, java.lang.String toSchema) throws InformationModelServiceException
itemId
- The id to the information model data source to update. The id must not be null.connectionUrl
- The new connection URL to set in the information model data source. If null, it will not be
setuser
- The username. If null, it will not be setpassword
- the password. If null it will not be set.userAuthentication
- The boolean value userAuthentication in the data source. If null it will not be set (keep
current value). If true, it will prompt for credentials, and if false, it will use the provided username
and passwordforTheCatalog
- the catalog which the schema changes should effect.fromSchema
- The name of the schema to change from. If both fromSchema and toSchema are null, then the schema
changes will be skipped.toSchema
- The name of the schema to change to. If both fromSchema and toSchema are null, then the schema
changes will be skipped.InformationModelServiceException
- the information model service exceptionlong updateDataSourceCatalogFromId(Guid itemId, java.lang.String connectionUrl, java.lang.String user, java.lang.String password, java.lang.String userAuthentication, java.lang.String fromCatalog, java.lang.String toCatalog) throws InformationModelServiceException
itemId
- The id to the information model data source to update. The id must not be null.connectionUrl
- The new connection URL to set in the information model data source. If null, it will not be
setuser
- The username. If null, it will not be setpassword
- the password. If null it will not be set.userAuthentication
- The boolean value userAuthentication in the data source. If null it will not be set (keep
current value). If true, it will prompt for credentials, and if false, it will use the provided username
and password.fromCatalog
- The name of the catalog to change from. If both fromCatalog and toCatalog are null, then catalog
changes will be skipped.toCatalog
- The name of the catalog to change to. If both fromCatalog and toCatalog are null, then catalog
changes will be skipped.InformationModelServiceException
- the information model service exceptionCopyright © 2013-2020 TIBCO Software Inc. All Rights Reserved.