public class DatabaseManagerRESTServices extends Object
| Constructor and Description |
|---|
DatabaseManagerRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addForeignKeyRelationship(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String primaryKeyColumnGUID,
String foreignKeyColumnGUID,
DatabaseForeignKeyProperties databaseForeignKeyProperties)
Create a foreign relationship between two columns.
|
GUIDResponse |
createDatabase(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
DatabaseProperties databaseProperties)
Create a new metadata element to represent a database.
|
GUIDResponse |
createDatabaseColumn(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseTableGUID,
DatabaseColumnProperties databaseColumnProperties)
Create a new metadata element to represent a database column.
|
GUIDResponse |
createDatabaseColumnFromTemplate(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseTableGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database column using an existing metadata element as a template.
|
GUIDResponse |
createDatabaseFromTemplate(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database using an existing metadata element as a template.
|
GUIDResponse |
createDatabaseSchema(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseGUID,
DatabaseSchemaProperties databaseSchemaProperties)
Create a new metadata element to represent a database schema.
|
GUIDResponse |
createDatabaseSchemaFromTemplate(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database schema using an existing metadata element as a template.
|
GUIDResponse |
createDatabaseTable(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
DatabaseTableProperties databaseTableProperties)
Create a new metadata element to represent a database table.
|
GUIDResponse |
createDatabaseTableFromTemplate(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseSchemaGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database table using an existing metadata element as a template.
|
GUIDResponse |
createDatabaseView(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
DatabaseViewProperties databaseViewProperties)
Create a new metadata element to represent a database view.
|
GUIDResponse |
createDatabaseViewFromTemplate(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String templateGUID,
String databaseSchemaGUID,
TemplateProperties templateProperties)
Create a new metadata element to represent a database view using an existing metadata element as a template.
|
DatabaseColumnsResponse |
findDatabaseColumns(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database column metadata elements that contain the search string.
|
DatabasesResponse |
findDatabases(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database metadata elements that contain the search string.
|
DatabaseSchemasResponse |
findDatabaseSchemas(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database schema metadata elements that contain the search string.
|
DatabaseTablesResponse |
findDatabaseTables(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database table metadata elements that contain the search string.
|
DatabaseViewsResponse |
findDatabaseViews(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Retrieve the list of database view metadata elements that contain the search string.
|
DatabaseColumnsResponse |
getColumnsForDatabaseTable(String serverName,
String userId,
String databaseTableGUID,
int startFrom,
int pageSize)
Retrieve the list of column for a database table (or view)
|
DatabaseResponse |
getDatabaseByGUID(String serverName,
String userId,
String guid)
Retrieve the database metadata element with the supplied unique identifier.
|
DatabaseColumnResponse |
getDatabaseColumnByGUID(String serverName,
String userId,
String guid)
Retrieve the database column metadata element with the supplied unique identifier.
|
DatabaseColumnsResponse |
getDatabaseColumnsByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database column metadata elements with a matching qualified or display name.
|
DatabasesResponse |
getDatabasesByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database metadata elements with a matching qualified or display name.
|
DatabaseSchemaResponse |
getDatabaseSchemaByGUID(String serverName,
String userId,
String guid)
Retrieve the database schema metadata element with the supplied unique identifier.
|
DatabaseSchemasResponse |
getDatabaseSchemasByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database schema metadata elements with a matching qualified or display name.
|
DatabasesResponse |
getDatabasesForDatabaseManager(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
int startFrom,
int pageSize)
Retrieve the list of databases created by this caller.
|
DatabaseTableResponse |
getDatabaseTableByGUID(String serverName,
String userId,
String guid)
Retrieve the database table metadata element with the supplied unique identifier.
|
DatabaseTablesResponse |
getDatabaseTablesByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database table metadata elements with a matching qualified or display name.
|
DatabaseViewResponse |
getDatabaseViewByGUID(String serverName,
String userId,
String guid)
Retrieve the database view metadata element with the supplied unique identifier.
|
DatabaseViewsResponse |
getDatabaseViewsByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Retrieve the list of database view metadata elements with a matching qualified or display name.
|
DatabaseSchemasResponse |
getSchemasForDatabase(String serverName,
String userId,
String databaseGUID,
int startFrom,
int pageSize)
Return the list of schemas associated with a database.
|
DatabaseTablesResponse |
getTablesForDatabaseSchema(String serverName,
String userId,
String databaseSchemaGUID,
int startFrom,
int pageSize)
Retrieve the list of database tables associated with a database schema.
|
DatabaseViewsResponse |
getViewsForDatabaseSchema(String serverName,
String userId,
String databaseSchemaGUID,
int startFrom,
int pageSize)
Retrieve the list of database views associated with a database schema.
|
VoidResponse |
publishDatabase(String serverName,
String userId,
String databaseGUID,
NullRequestBody nullRequestBody)
Update the zones for the database asset so that it becomes visible to consumers.
|
VoidResponse |
publishDatabaseSchema(String serverName,
String userId,
String databaseSchemaGUID,
NullRequestBody nullRequestBody)
Update the zones for the database asset so that it becomes visible to consumers.
|
VoidResponse |
removeDatabase(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseGUID,
String qualifiedName,
NullRequestBody nullRequestBody)
Remove the metadata element representing a database.
|
VoidResponse |
removeDatabaseColumn(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID,
String qualifiedName,
NullRequestBody nullRequestBody)
Remove the metadata element representing a database column.
|
VoidResponse |
removeDatabaseSchema(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
String qualifiedName,
NullRequestBody nullRequestBody)
Remove the metadata element representing a database schema.
|
VoidResponse |
removeDatabaseTable(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseTableGUID,
String qualifiedName,
NullRequestBody nullRequestBody)
Remove the metadata element representing a database table.
|
VoidResponse |
removeDatabaseView(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseViewGUID,
String qualifiedName,
NullRequestBody nullRequestBody)
Remove the metadata element representing a database table.
|
VoidResponse |
removeForeignKeyRelationship(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String primaryKeyColumnGUID,
String foreignKeyColumnGUID,
NullRequestBody nullRequestBody)
Remove the foreign key relationship for the requested columns.
|
VoidResponse |
removePrimaryKeyFromColumn(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID,
NullRequestBody nullRequestBody)
Remove the classification that this column is a primary key.
|
VoidResponse |
setPrimaryKeyOnColumn(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID,
DatabasePrimaryKeyProperties databasePrimaryKeyProperties)
Classify a column in a database table as the primary key.
|
VoidResponse |
updateDatabase(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseGUID,
DatabaseProperties databaseProperties)
Update the metadata element representing a database.
|
VoidResponse |
updateDatabaseColumn(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseColumnGUID,
DatabaseColumnProperties databaseColumnProperties)
Update the metadata element representing a database column.
|
VoidResponse |
updateDatabaseSchema(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseSchemaGUID,
DatabaseSchemaProperties databaseSchemaProperties)
Update the metadata element representing a database schema.
|
VoidResponse |
updateDatabaseTable(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseTableGUID,
DatabaseTableProperties databaseTableProperties)
Update the metadata element representing a database table.
|
VoidResponse |
updateDatabaseView(String serverName,
String userId,
String databaseManagerGUID,
String databaseManagerName,
String databaseViewGUID,
DatabaseViewProperties databaseViewProperties)
Update the metadata element representing a database table.
|
VoidResponse |
withdrawDatabase(String serverName,
String userId,
String databaseGUID,
NullRequestBody nullRequestBody)
Update the zones for the database asset so that it is no longer visible to consumers.
|
VoidResponse |
withdrawDatabaseSchema(String serverName,
String userId,
String databaseSchemaGUID,
NullRequestBody nullRequestBody)
Update the zones for the database asset so that it is no longer visible to consumers.
|
public DatabaseManagerRESTServices()
public GUIDResponse createDatabase(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, DatabaseProperties databaseProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseProperties - properties to storepublic GUIDResponse createDatabaseFromTemplate(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, TemplateProperties templateProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMStemplateGUID - unique identifier of the metadata element to copytemplateProperties - properties that override the templatepublic VoidResponse updateDatabase(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseGUID, DatabaseProperties databaseProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseGUID - unique identifier of the metadata element to updatedatabaseProperties - new properties for this elementpublic VoidResponse publishDatabase(String serverName, String userId, String databaseGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseGUID - unique identifier of the metadata element to publishnullRequestBody - empty request bodypublic VoidResponse withdrawDatabase(String serverName, String userId, String databaseGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseGUID - unique identifier of the metadata element to withdrawnullRequestBody - empty request bodypublic VoidResponse removeDatabase(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseGUID, String qualifiedName, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removenullRequestBody - empty request bodypublic DatabasesResponse findDatabases(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabasesResponse getDatabasesByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabasesResponse getDatabasesForDatabaseManager(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseResponse getDatabaseByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - calling userguid - unique identifier of the requested metadata elementpublic GUIDResponse createDatabaseSchema(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseGUID, DatabaseSchemaProperties databaseSchemaProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseGUID - unique identifier of the database where the schema is locateddatabaseSchemaProperties - properties about the database schemapublic GUIDResponse createDatabaseSchemaFromTemplate(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseGUID, TemplateProperties templateProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMStemplateGUID - unique identifier of the metadata element to copydatabaseGUID - unique identifier of the database where the schema is locatedtemplateProperties - properties that override the templatepublic VoidResponse updateDatabaseSchema(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, DatabaseSchemaProperties databaseSchemaProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseSchemaGUID - unique identifier of the metadata element to updatedatabaseSchemaProperties - new properties for the metadata elementpublic VoidResponse publishDatabaseSchema(String serverName, String userId, String databaseSchemaGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseSchemaGUID - unique identifier of the metadata element to publishnullRequestBody - empty request bodypublic VoidResponse withdrawDatabaseSchema(String serverName, String userId, String databaseSchemaGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseSchemaGUID - unique identifier of the metadata element to withdrawnullRequestBody - empty request bodypublic VoidResponse removeDatabaseSchema(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, String qualifiedName, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseSchemaGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removenullRequestBody - empty request bodypublic DatabaseSchemasResponse findDatabaseSchemas(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseSchemasResponse getSchemasForDatabase(String serverName, String userId, String databaseGUID, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling userdatabaseGUID - unique identifier of the database to querystartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseSchemasResponse getDatabaseSchemasByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseSchemaResponse getDatabaseSchemaByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - calling userguid - unique identifier of the requested metadata elementpublic GUIDResponse createDatabaseTable(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, DatabaseTableProperties databaseTableProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseSchemaGUID - unique identifier of the database schema ASSET where the database table is located.databaseTableProperties - properties for the database tablepublic GUIDResponse createDatabaseTableFromTemplate(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseSchemaGUID, TemplateProperties templateProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMStemplateGUID - unique identifier of the metadata element to copydatabaseSchemaGUID - unique identifier of the database schema where the database table is located.templateProperties - properties that override the templatepublic VoidResponse updateDatabaseTable(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseTableGUID, DatabaseTableProperties databaseTableProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseTableGUID - unique identifier of the database table to updatedatabaseTableProperties - new properties for the database tablepublic VoidResponse removeDatabaseTable(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseTableGUID, String qualifiedName, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseTableGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removenullRequestBody - empty request bodypublic DatabaseTablesResponse findDatabaseTables(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseTablesResponse getTablesForDatabaseSchema(String serverName, String userId, String databaseSchemaGUID, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling userdatabaseSchemaGUID - unique identifier of the database schema of intereststartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseTablesResponse getDatabaseTablesByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseTableResponse getDatabaseTableByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - calling userguid - unique identifier of the requested metadata elementpublic GUIDResponse createDatabaseView(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseSchemaGUID, DatabaseViewProperties databaseViewProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseSchemaGUID - unique identifier of the database schema where the database view is located.databaseViewProperties - properties for the new viewpublic GUIDResponse createDatabaseViewFromTemplate(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseSchemaGUID, TemplateProperties templateProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMStemplateGUID - unique identifier of the metadata element to copydatabaseSchemaGUID - unique identifier of the database schema where the database view is located.templateProperties - properties that override the templatepublic VoidResponse updateDatabaseView(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseViewGUID, DatabaseViewProperties databaseViewProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseViewGUID - unique identifier of the database view to updatedatabaseViewProperties - properties for the new database viewpublic VoidResponse removeDatabaseView(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseViewGUID, String qualifiedName, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseViewGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removenullRequestBody - empty request bodypublic DatabaseViewsResponse findDatabaseViews(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseViewsResponse getViewsForDatabaseSchema(String serverName, String userId, String databaseSchemaGUID, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling userdatabaseSchemaGUID - unique identifier of the database schema of intereststartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseViewsResponse getDatabaseViewsByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseViewResponse getDatabaseViewByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - calling userguid - unique identifier of the requested metadata elementpublic GUIDResponse createDatabaseColumn(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseTableGUID, DatabaseColumnProperties databaseColumnProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseTableGUID - unique identifier of the database table where this column is locateddatabaseColumnProperties - properties for the new columnpublic GUIDResponse createDatabaseColumnFromTemplate(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String templateGUID, String databaseTableGUID, TemplateProperties templateProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMStemplateGUID - unique identifier of the metadata element to copydatabaseTableGUID - unique identifier of the database table where this column is locatedtemplateProperties - properties that override the templatepublic VoidResponse updateDatabaseColumn(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID, DatabaseColumnProperties databaseColumnProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseColumnGUID - unique identifier of the metadata element to updatedatabaseColumnProperties - new properties for the metadata elementpublic VoidResponse removeDatabaseColumn(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID, String qualifiedName, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseColumnGUID - unique identifier of the metadata element to removequalifiedName - unique name of the metadata element to removenullRequestBody - empty request bodypublic DatabaseColumnsResponse findDatabaseColumns(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling usersearchString - string to find in the propertiesstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseColumnsResponse getColumnsForDatabaseTable(String serverName, String userId, String databaseTableGUID, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling userdatabaseTableGUID - unique identifier of the database table of intereststartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseColumnsResponse getDatabaseColumnsByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of the service to route the request to.userId - calling username - name to search forstartFrom - paging start pointpageSize - maximum results that can be returnedpublic DatabaseColumnResponse getDatabaseColumnByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - calling userguid - unique identifier of the requested metadata elementpublic VoidResponse setPrimaryKeyOnColumn(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID, DatabasePrimaryKeyProperties databasePrimaryKeyProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseColumnGUID - unique identifier if the primary key columndatabasePrimaryKeyProperties - properties to storepublic VoidResponse removePrimaryKeyFromColumn(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String databaseColumnGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSdatabaseColumnGUID - unique identifier if the primary key columnnullRequestBody - empty request bodypublic VoidResponse addForeignKeyRelationship(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String primaryKeyColumnGUID, String foreignKeyColumnGUID, DatabaseForeignKeyProperties databaseForeignKeyProperties)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSprimaryKeyColumnGUID - unique identifier of the column containing the primary keyforeignKeyColumnGUID - unique identifier of the column containing the primary key from the other tabledatabaseForeignKeyProperties - properties about the foreign key relationshippublic VoidResponse removeForeignKeyRelationship(String serverName, String userId, String databaseManagerGUID, String databaseManagerName, String primaryKeyColumnGUID, String foreignKeyColumnGUID, NullRequestBody nullRequestBody)
serverName - name of the service to route the request to.userId - calling userdatabaseManagerGUID - unique identifier of software server capability representing the DBMSdatabaseManagerName - unique name of software server capability representing the DBMSprimaryKeyColumnGUID - unique identifier of the column that is the linked primary keyforeignKeyColumnGUID - unique identifier of the column the contains the primary key from another tablenullRequestBody - empty request bodyCopyright © 2018–2020 ODPi. All rights reserved.