Class DatabaseIntegratorContext


  • public class DatabaseIntegratorContext
    extends java.lang.Object
    DatabaseIntegratorContext is the context for managing resources from a relational database server.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addForeignKeyRelationship​(java.lang.String primaryKeyColumnGUID, java.lang.String foreignKeyColumnGUID, DatabaseForeignKeyProperties databaseForeignKeyProperties)
      Create a foreign relationship between two columns.
      void attachSchemaTypeToDatabaseAsset​(java.lang.String databaseAssetGUID, java.lang.String schemaTypeGUID)
      Link the schema type and asset.
      void clearAssetConnection​(java.lang.String assetGUID, java.lang.String connectionGUID)
      Remove a relationship between an asset and its connection.
      void clearConnectorType​(java.lang.String connectionGUID, java.lang.String connectorTypeGUID)
      Remove a relationship between a connection and a connector type.
      void clearEmbeddedConnection​(java.lang.String connectionGUID, java.lang.String embeddedConnectionGUID)
      Remove a relationship between a virtual connection and an embedded connection.
      void clearEndpoint​(java.lang.String connectionGUID, java.lang.String endpointGUID)
      Remove a relationship between a connection and an endpoint.
      java.lang.String createConnection​(ConnectionProperties connectionProperties)
      Create a new metadata element to represent a connection.
      java.lang.String createConnectionFromTemplate​(java.lang.String templateGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a connection using an existing metadata element as a template.
      java.lang.String createDatabase​(DatabaseProperties databaseProperties)
      Create a new metadata element to represent a database.
      java.lang.String createDatabaseColumn​(java.lang.String databaseTableGUID, DatabaseColumnProperties databaseColumnProperties)
      Create a new metadata element to represent a database column.
      java.lang.String createDatabaseColumnFromTemplate​(java.lang.String templateGUID, java.lang.String databaseTableGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a database column using an existing metadata element as a template.
      java.lang.String createDatabaseFromTemplate​(java.lang.String templateGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a database using an existing metadata element as a template.
      java.lang.String createDatabaseSchema​(java.lang.String databaseGUID, DatabaseSchemaProperties databaseSchemaProperties)
      Create a new metadata element to represent a database schema.
      java.lang.String createDatabaseSchemaFromTemplate​(java.lang.String templateGUID, java.lang.String databaseGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a database schema using an existing metadata element as a template.
      java.lang.String createDatabaseSchemaType​(java.lang.String qualifiedName)
      Create a database top-level schema type used to attach tables and views to the database/database schema.
      java.lang.String createDatabaseTable​(java.lang.String databaseAssetGUID, DatabaseTableProperties databaseTableProperties)
      Create a new metadata element to represent a database table.
      java.lang.String createDatabaseTableForSchemaType​(java.lang.String databaseSchemaTypeGUID, DatabaseTableProperties databaseTableProperties)
      Create a new metadata element to represent a database table.
      java.lang.String createDatabaseTableFromTemplate​(java.lang.String templateGUID, java.lang.String databaseAssetGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a database table using an existing metadata element as a template.
      java.lang.String createDatabaseView​(java.lang.String databaseAssetGUID, DatabaseViewProperties databaseViewProperties)
      Create a new metadata element to represent a database view.
      java.lang.String createDatabaseViewForSchemaType​(java.lang.String databaseSchemaTypeGUID, DatabaseViewProperties databaseViewProperties)
      Create a new metadata element to represent a database view.
      java.lang.String createDatabaseViewFromTemplate​(java.lang.String templateGUID, java.lang.String databaseAssetGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a database view using an existing metadata element as a template.
      java.lang.String createEndpoint​(EndpointProperties endpointProperties)
      Create a new metadata element to represent an endpoint
      java.lang.String createEndpointFromTemplate​(java.lang.String networkAddress, java.lang.String templateGUID, TemplateProperties templateProperties)
      Create a new metadata element to represent a endpoint using an existing metadata element as a template.
      java.util.List<ConnectionElement> findConnections​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of metadata elements that contain the search string.
      java.util.List<ConnectorTypeElement> findConnectorTypes​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of connector type metadata elements that contain the search string.
      java.util.List<DatabaseColumnElement> findDatabaseColumns​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of database column metadata elements that contain the search string.
      java.util.List<DatabaseElement> findDatabases​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of database metadata elements that contain the search string.
      java.util.List<DatabaseSchemaElement> findDatabaseSchemas​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of database schema metadata elements that contain the search string.
      java.util.List<DatabaseTableElement> findDatabaseTables​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of database table metadata elements that contain the search string.
      java.util.List<DatabaseViewElement> findDatabaseViews​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of database view metadata elements that contain the search string.
      java.util.List<EndpointElement> findEndpoints​(java.lang.String searchString, int startFrom, int pageSize)
      Retrieve the list of endpoint metadata elements that contain the search string.
      java.util.List<DatabaseColumnElement> getColumnsForDatabaseTable​(java.lang.String databaseTableGUID, int startFrom, int pageSize)
      Retrieve the list of column for a database table (or view)
      ConnectionElement getConnectionByGUID​(java.lang.String connectionGUID)
      Retrieve the metadata element with the supplied unique identifier.
      java.util.List<ConnectionElement> getConnectionsByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of metadata elements with a matching qualified or display name.
      ConnectorTypeElement getConnectorTypeByGUID​(java.lang.String connectorTypeGUID)
      Retrieve the connector type metadata element with the supplied unique identifier.
      java.util.List<ConnectorTypeElement> getConnectorTypesByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of connector type metadata elements with a matching qualified or display name.
      DatabaseElement getDatabaseByGUID​(java.lang.String guid)
      Retrieve the database metadata element with the supplied unique identifier.
      DatabaseColumnElement getDatabaseColumnByGUID​(java.lang.String guid)
      Retrieve the database column metadata element with the supplied unique identifier.
      java.util.List<DatabaseColumnElement> getDatabaseColumnsByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of database column metadata elements with a matching qualified or display name.
      java.lang.String getDatabaseManagerName()
      Return the qualified name of the database manager that is supplied in the configuration document.
      java.util.List<DatabaseElement> getDatabasesByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of database metadata elements with a matching qualified or display name.
      DatabaseSchemaElement getDatabaseSchemaByGUID​(java.lang.String guid)
      Retrieve the database schema metadata element with the supplied unique identifier.
      java.util.List<DatabaseSchemaElement> getDatabaseSchemasByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of database schema metadata elements with a matching qualified or display name.
      DatabaseTableElement getDatabaseTableByGUID​(java.lang.String guid)
      Retrieve the database table metadata element with the supplied unique identifier.
      java.util.List<DatabaseTableElement> getDatabaseTablesByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of database table metadata elements with a matching qualified or display name.
      DatabaseViewElement getDatabaseViewByGUID​(java.lang.String guid)
      Retrieve the database view metadata element with the supplied unique identifier.
      java.util.List<DatabaseViewElement> getDatabaseViewsByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of database view metadata elements with a matching qualified or display name.
      EndpointElement getEndpointByGUID​(java.lang.String endpointGUID)
      Retrieve the endpoint metadata element with the supplied unique identifier.
      java.util.List<EndpointElement> getEndpointsByName​(java.lang.String name, int startFrom, int pageSize)
      Retrieve the list of endpoint metadata elements with a matching qualified or display name.
      java.util.List<DatabaseElement> getMyDatabases​(int startFrom, int pageSize)
      Retrieve the list of databases created by this caller.
      java.util.List<DatabaseSchemaElement> getSchemasForDatabase​(java.lang.String databaseGUID, int startFrom, int pageSize)
      Return the list of schemas associated with a database.
      java.util.List<DatabaseTableElement> getTablesForDatabaseAsset​(java.lang.String databaseSchemaGUID, int startFrom, int pageSize)
      Retrieve the list of database tables associated with a database or database schema.
      java.util.List<DatabaseTableElement> getTablesForDatabaseSchema​(java.lang.String databaseSchemaGUID, int startFrom, int pageSize)
      Deprecated.
      java.util.List<DatabaseViewElement> getViewsForDatabaseAsset​(java.lang.String databaseAssetGUID, int startFrom, int pageSize)
      Retrieve the list of database views associated with a database schema.
      java.util.List<DatabaseViewElement> getViewsForDatabaseSchema​(java.lang.String databaseSchemaGUID, int startFrom, int pageSize)
      Deprecated.
      void publishDatabase​(java.lang.String databaseGUID)
      Update the zones for the database asset so that it becomes visible to consumers.
      void publishDatabaseSchema​(java.lang.String databaseSchemaGUID)
      Update the zones for the database asset so that it becomes visible to consumers.
      void registerListener​(DataManagerEventListener listener)
      Register a listener object that will be passed each of the events published by the Data Manager OMAS.
      void removeConnection​(java.lang.String connectionGUID)
      Remove the metadata element representing a connection.
      void removeDatabase​(java.lang.String databaseGUID)
      Remove the metadata element representing a database.
      void removeDatabase​(java.lang.String databaseGUID, java.lang.String qualifiedName)
      Deprecated.
      void removeDatabaseColumn​(java.lang.String databaseColumnGUID)
      Remove the metadata element representing a database column.
      void removeDatabaseColumn​(java.lang.String databaseColumnGUID, java.lang.String qualifiedName)
      Deprecated.
      void removeDatabaseSchema​(java.lang.String databaseSchemaGUID)
      Remove the metadata element representing a database schema.
      void removeDatabaseSchema​(java.lang.String databaseSchemaGUID, java.lang.String qualifiedName)
      Deprecated.
      void removeDatabaseTable​(java.lang.String databaseTableGUID)
      Remove the metadata element representing a database table.
      void removeDatabaseTable​(java.lang.String databaseTableGUID, java.lang.String qualifiedName)
      Deprecated.
      void removeDatabaseView​(java.lang.String databaseViewGUID)
      Remove the metadata element representing a database table.
      void removeDatabaseView​(java.lang.String databaseViewGUID, java.lang.String qualifiedName)
      Deprecated.
      void removeEndpoint​(java.lang.String endpointGUID)
      Remove the metadata element representing a endpoint.
      void removeForeignKeyRelationship​(java.lang.String primaryKeyColumnGUID, java.lang.String foreignKeyColumnGUID)
      Remove the foreign key relationship for the requested columns.
      void removePrimaryKeyFromColumn​(java.lang.String databaseColumnGUID)
      Remove the classification that this column is a primary key.
      void setPrimaryKeyOnColumn​(java.lang.String databaseColumnGUID, DatabasePrimaryKeyProperties databasePrimaryKeyProperties)
      Classify a column in a database table as the primary key.
      void setupAssetConnection​(java.lang.String assetGUID, java.lang.String assetSummary, java.lang.String connectionGUID)
      Create a relationship between an asset and its connection.
      void setupConnectorType​(java.lang.String connectionGUID, java.lang.String connectorTypeGUID)
      Create a relationship between a connection and a connector type.
      void setupEmbeddedConnection​(java.lang.String connectionGUID, int position, java.lang.String displayName, java.util.Map<java.lang.String,​java.lang.Object> arguments, java.lang.String embeddedConnectionGUID)
      Create a relationship between a virtual connection and an embedded connection.
      void setupEndpoint​(java.lang.String connectionGUID, java.lang.String endpointGUID)
      Create a relationship between a connection and an endpoint.
      void updateConnection​(java.lang.String connectionGUID, boolean isMergeUpdate, ConnectionProperties connectionProperties)
      Update the metadata element representing a connection.
      void updateDatabase​(java.lang.String databaseGUID, boolean isMergeUpdate, DatabaseProperties databaseProperties)
      Update the metadata element representing a database.
      void updateDatabase​(java.lang.String databaseGUID, DatabaseProperties databaseProperties)
      Deprecated.
      void updateDatabaseColumn​(java.lang.String databaseColumnGUID, boolean isMergeUpdate, DatabaseColumnProperties databaseColumnProperties)
      Update the metadata element representing a database column.
      void updateDatabaseColumn​(java.lang.String databaseColumnGUID, DatabaseColumnProperties databaseColumnProperties)
      Deprecated.
      void updateDatabaseSchema​(java.lang.String databaseSchemaGUID, boolean isMergeUpdate, DatabaseSchemaProperties databaseSchemaProperties)
      Update the metadata element representing a database schema.
      void updateDatabaseSchema​(java.lang.String databaseSchemaGUID, DatabaseSchemaProperties databaseSchemaProperties)
      Deprecated.
      void updateDatabaseTable​(java.lang.String databaseTableGUID, boolean isMergeUpdate, DatabaseTableProperties databaseTableProperties)
      Update the metadata element representing a database table.
      void updateDatabaseTable​(java.lang.String databaseTableGUID, DatabaseTableProperties databaseTableProperties)
      Deprecated.
      void updateDatabaseView​(java.lang.String databaseViewGUID, boolean isMergeUpdate, DatabaseViewProperties databaseViewProperties)
      Update the metadata element representing a database table.
      void updateDatabaseView​(java.lang.String databaseViewGUID, DatabaseViewProperties databaseViewProperties)
      Deprecated.
      void updateEndpoint​(boolean isMergeUpdate, java.lang.String endpointGUID, EndpointProperties endpointProperties)
      Update the metadata element representing an endpoint.
      void withdrawDatabase​(java.lang.String databaseGUID)
      Update the zones for the database asset so that it is no longer visible to consumers.
      void withdrawDatabaseSchema​(java.lang.String databaseSchemaGUID)
      Update the zones for the database asset so that it is no longer visible to consumers.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait