Class DisplayApplicationRESTServices
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.server.DisplayApplicationRESTServices
DisplayApplicationRESTServices is the server-side implementation of the Data Manager OMAS's
support for forms. It matches the DisplayApplicationClient.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateDataContainer(String serverName, String userId, String parentGUID, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.DataContainerRequestBody requestBody) Create a new metadata element to represent a data field.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateDataContainerFromTemplate(String serverName, String userId, String templateGUID, String parentGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a data field using an existing metadata element as a template.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateForm(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.FormRequestBody requestBody) Create a new metadata element to represent a form.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateFormFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a form using an existing metadata element as a template.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateQuery(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.QueryRequestBody requestBody) Create a new metadata element to represent a query.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateQueryFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a query using an existing metadata element as a template.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateReport(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.ReportRequestBody requestBody) Create a new metadata element to represent a report.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateReportFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a report using an existing metadata element as a template.org.odpi.openmetadata.commonservices.ffdc.rest.DataContainersResponsefindDataContainers(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of data field metadata elements that contain the search string.org.odpi.openmetadata.commonservices.ffdc.rest.FormsResponsefindForms(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of form metadata elements that contain the search string.org.odpi.openmetadata.commonservices.ffdc.rest.QueriesResponsefindQueries(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of query metadata elements that contain the search string.org.odpi.openmetadata.commonservices.ffdc.rest.ReportsResponsefindReports(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of report metadata elements that contain the search string.org.odpi.openmetadata.commonservices.ffdc.rest.DataContainerResponsegetDataContainerByGUID(String serverName, String userId, String guid) Retrieve the data field metadata element with the supplied unique identifier.org.odpi.openmetadata.commonservices.ffdc.rest.DataContainersResponsegetDataContainersByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of data field metadata elements with a matching qualified or display name.org.odpi.openmetadata.commonservices.ffdc.rest.DataContainersResponsegetDataContainersForParent(String serverName, String userId, String parentGUID, int startFrom, int pageSize) Return the list of schemas associated with a parent element .org.odpi.openmetadata.commonservices.ffdc.rest.FormResponsegetFormByGUID(String serverName, String userId, String guid) Retrieve the form metadata element with the supplied unique identifier.org.odpi.openmetadata.commonservices.ffdc.rest.FormsResponsegetFormsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of form metadata elements with a matching qualified or display name.org.odpi.openmetadata.commonservices.ffdc.rest.FormsResponsegetFormsForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize) Retrieve the list of forms created by this caller.org.odpi.openmetadata.commonservices.ffdc.rest.QueriesResponsegetQueriesByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of query metadata elements with a matching qualified or display name.org.odpi.openmetadata.commonservices.ffdc.rest.QueriesResponsegetQueriesForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize) Retrieve the list of queries created by this caller.org.odpi.openmetadata.commonservices.ffdc.rest.QueryResponsegetQueryByGUID(String serverName, String userId, String guid) Retrieve the query metadata element with the supplied unique identifier.org.odpi.openmetadata.commonservices.ffdc.rest.ReportResponsegetReportByGUID(String serverName, String userId, String guid) Retrieve the report metadata element with the supplied unique identifier.org.odpi.openmetadata.commonservices.ffdc.rest.ReportsResponsegetReportsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of report metadata elements with a matching qualified or display name.org.odpi.openmetadata.commonservices.ffdc.rest.ReportsResponsegetReportsForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize) Retrieve the list of reports created by this caller.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsepublishForm(String serverName, String userId, String formGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the form asset so that it becomes visible to consumers.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsepublishQuery(String serverName, String userId, String queryGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the query asset so that it becomes visible to consumers.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsepublishReport(String serverName, String userId, String reportGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the report asset so that it becomes visible to consumers.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveDataContainer(String serverName, String userId, String dataContainerGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a data container.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveForm(String serverName, String userId, String formGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a form.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveQuery(String serverName, String userId, String queryGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a query.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveReport(String serverName, String userId, String reportGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a report.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateDataContainer(String serverName, String userId, String dataContainerGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.DataContainerRequestBody requestBody) Update the metadata element representing a data field.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateForm(String serverName, String userId, String formGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.FormRequestBody requestBody) Update the metadata element representing a form.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateQuery(String serverName, String userId, String queryGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.QueryRequestBody requestBody) Update the metadata element representing a query.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateReport(String serverName, String userId, String reportGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.ReportRequestBody requestBody) Update the metadata element representing a report.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsewithdrawForm(String serverName, String userId, String formGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the form asset so that it is no longer visible to consumers.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsewithdrawQuery(String serverName, String userId, String queryGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the query asset so that it is no longer visible to consumers.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsewithdrawReport(String serverName, String userId, String reportGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the report asset so that it is no longer visible to consumers.
-
Constructor Details
-
DisplayApplicationRESTServices
public DisplayApplicationRESTServices()Default constructor
-
-
Method Details
-
createForm
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createForm(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.FormRequestBody requestBody) Create a new metadata element to represent a form.- Parameters:
serverName- name of the service to route the request to.userId- calling userapplicationIsHome- should the form be marked as owned by the application so others can not update?requestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createFormFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createFormFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a form using an existing metadata element as a template.- Parameters:
serverName- name of the service to route the request to.userId- calling usertemplateGUID- unique identifier of the metadata element to copyapplicationIsHome- should the form be marked as owned by the application so others can not update?requestBody- properties that override the template- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateForm
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateForm(String serverName, String userId, String formGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.FormRequestBody requestBody) Update the metadata element representing a form.- Parameters:
serverName- name of the service to route the request to.userId- calling userformGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with the existing properties of overlay them?requestBody- new properties for this element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
publishForm
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse publishForm(String serverName, String userId, String formGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the form asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Data Manager OMAS).- Parameters:
serverName- name of the service to route the request to.userId- calling userformGUID- unique identifier of the metadata element to publishnullRequestBody- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
withdrawForm
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse withdrawForm(String serverName, String userId, String formGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the form asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Data Manager OMAS. This is the setting when the form is first created).- Parameters:
serverName- name of the service to route the request to.userId- calling userformGUID- unique identifier of the metadata element to withdrawnullRequestBody- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeForm
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeForm(String serverName, String userId, String formGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a form.- Parameters:
serverName- name of the service to route the request to.userId- calling userformGUID- unique identifier of the metadata element to removequalifiedName- unique name of the metadata element to removerequestBody- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findForms
public org.odpi.openmetadata.commonservices.ffdc.rest.FormsResponse findForms(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of form metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getFormsByName
public org.odpi.openmetadata.commonservices.ffdc.rest.FormsResponse getFormsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of form metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getFormsForApplication
public org.odpi.openmetadata.commonservices.ffdc.rest.FormsResponse getFormsForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize) Retrieve the list of forms created by this caller.- Parameters:
serverName- name of the service to route the request to.userId- calling userapplicationGUID- unique identifier of software server capability representing the applicationapplicationName- unique name of software server capability representing the applicationstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getFormByGUID
public org.odpi.openmetadata.commonservices.ffdc.rest.FormResponse getFormByGUID(String serverName, String userId, String guid) Retrieve the form metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request to.userId- calling userguid- unique identifier of the requested metadata element- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createReport
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createReport(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.ReportRequestBody requestBody) Create a new metadata element to represent a report.- Parameters:
serverName- name of the service to route the request to.userId- calling userapplicationIsHome- should the report be marked as owned by the application so others can not update?requestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createReportFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createReportFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a report using an existing metadata element as a template.- Parameters:
serverName- name of the service to route the request to.userId- calling usertemplateGUID- unique identifier of the metadata element to copyapplicationIsHome- should the report be marked as owned by the application so others can not update?requestBody- properties that override the template- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateReport
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateReport(String serverName, String userId, String reportGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.ReportRequestBody requestBody) Update the metadata element representing a report.- Parameters:
serverName- name of the service to route the request to.userId- calling userreportGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with the existing properties of overlay them?requestBody- new properties for this element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
publishReport
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse publishReport(String serverName, String userId, String reportGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the report asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Data Manager OMAS).- Parameters:
serverName- name of the service to route the request to.userId- calling userreportGUID- unique identifier of the metadata element to publishnullRequestBody- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
withdrawReport
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse withdrawReport(String serverName, String userId, String reportGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the report asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Data Manager OMAS. This is the setting when the report is first created).- Parameters:
serverName- name of the service to route the request to.userId- calling userreportGUID- unique identifier of the metadata element to withdrawnullRequestBody- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeReport
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeReport(String serverName, String userId, String reportGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a report.- Parameters:
serverName- name of the service to route the request to.userId- calling userreportGUID- unique identifier of the metadata element to removequalifiedName- unique name of the metadata element to removerequestBody- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findReports
public org.odpi.openmetadata.commonservices.ffdc.rest.ReportsResponse findReports(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of report metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getReportsByName
public org.odpi.openmetadata.commonservices.ffdc.rest.ReportsResponse getReportsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of report metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getReportsForApplication
public org.odpi.openmetadata.commonservices.ffdc.rest.ReportsResponse getReportsForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize) Retrieve the list of reports created by this caller.- Parameters:
serverName- name of the service to route the request to.userId- calling userapplicationGUID- unique identifier of software server capability representing the applicationapplicationName- unique name of software server capability representing the applicationstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getReportByGUID
public org.odpi.openmetadata.commonservices.ffdc.rest.ReportResponse getReportByGUID(String serverName, String userId, String guid) Retrieve the report metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request to.userId- calling userguid- unique identifier of the requested metadata element- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createQuery
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createQuery(String serverName, String userId, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.QueryRequestBody requestBody) Create a new metadata element to represent a query.- Parameters:
serverName- name of the service to route the request to.userId- calling userapplicationIsHome- should the query be marked as owned by the application so others can not update?requestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createQueryFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createQueryFromTemplate(String serverName, String userId, String templateGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a query using an existing metadata element as a template.- Parameters:
serverName- name of the service to route the request to.userId- calling usertemplateGUID- unique identifier of the metadata element to copyapplicationIsHome- should the query be marked as owned by the application so others can not update?requestBody- properties that override the template- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateQuery
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateQuery(String serverName, String userId, String queryGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.QueryRequestBody requestBody) Update the metadata element representing a query.- Parameters:
serverName- name of the service to route the request to.userId- calling userqueryGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with the existing properties of overlay them?requestBody- new properties for this element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
publishQuery
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse publishQuery(String serverName, String userId, String queryGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the query asset so that it becomes visible to consumers. (The zones are set to the list of zones in the publishedZones option configured for each instance of the Data Manager OMAS).- Parameters:
serverName- name of the service to route the request to.userId- calling userqueryGUID- unique identifier of the metadata element to publishnullRequestBody- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
withdrawQuery
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse withdrawQuery(String serverName, String userId, String queryGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody nullRequestBody) Update the zones for the query asset so that it is no longer visible to consumers. (The zones are set to the list of zones in the defaultZones option configured for each instance of the Data Manager OMAS. This is the setting when the query is first created).- Parameters:
serverName- name of the service to route the request to.userId- calling userqueryGUID- unique identifier of the metadata element to withdrawnullRequestBody- empty request body- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeQuery
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeQuery(String serverName, String userId, String queryGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a query.- Parameters:
serverName- name of the service to route the request to.userId- calling userqueryGUID- unique identifier of the metadata element to removequalifiedName- unique name of the metadata element to removerequestBody- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findQueries
public org.odpi.openmetadata.commonservices.ffdc.rest.QueriesResponse findQueries(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of query metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getQueriesByName
public org.odpi.openmetadata.commonservices.ffdc.rest.QueriesResponse getQueriesByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of query metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getQueriesForApplication
public org.odpi.openmetadata.commonservices.ffdc.rest.QueriesResponse getQueriesForApplication(String serverName, String userId, String applicationGUID, String applicationName, int startFrom, int pageSize) Retrieve the list of queries created by this caller.- Parameters:
serverName- name of the service to route the request to.userId- calling userapplicationGUID- unique identifier of software server capability representing the applicationapplicationName- unique name of software server capability representing the applicationstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getQueryByGUID
public org.odpi.openmetadata.commonservices.ffdc.rest.QueryResponse getQueryByGUID(String serverName, String userId, String guid) Retrieve the query metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request to.userId- calling userguid- unique identifier of the requested metadata element- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createDataContainer
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createDataContainer(String serverName, String userId, String parentGUID, boolean applicationIsHome, org.odpi.openmetadata.commonservices.ffdc.rest.DataContainerRequestBody requestBody) Create a new metadata element to represent a data field.- Parameters:
serverName- name of the service to route the request to.userId- calling userapplicationIsHome- should the data field be marked as owned by the event broker so others can not update?parentGUID- unique identifier of the parent element where the schema is locatedrequestBody- properties about the data field- Returns:
- unique identifier of the new data field or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createDataContainerFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createDataContainerFromTemplate(String serverName, String userId, String templateGUID, String parentGUID, boolean applicationIsHome, org.odpi.openmetadata.accessservices.datamanager.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a data field using an existing metadata element as a template.- Parameters:
serverName- name of the service to route the request to.userId- calling usertemplateGUID- unique identifier of the metadata element to copyparentGUID- unique identifier of the parent element where the schema is locatedapplicationIsHome- should the data field be marked as owned by the event broker so others can not update?requestBody- properties that override the template- Returns:
- unique identifier of the new data field or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateDataContainer
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateDataContainer(String serverName, String userId, String dataContainerGUID, boolean isMergeUpdate, org.odpi.openmetadata.commonservices.ffdc.rest.DataContainerRequestBody requestBody) Update the metadata element representing a data field.- Parameters:
serverName- name of the service to route the request to.userId- calling userdataContainerGUID- unique identifier of the metadata element to updateisMergeUpdate- are unspecified properties unchanged (true) or removed?requestBody- new properties for the metadata element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeDataContainer
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeDataContainer(String serverName, String userId, String dataContainerGUID, String qualifiedName, org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody requestBody) Remove the metadata element representing a data container.- Parameters:
serverName- name of the service to route the request to.userId- calling userdataContainerGUID- unique identifier of the metadata element to removequalifiedName- unique name of the metadata element to removerequestBody- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findDataContainers
public org.odpi.openmetadata.commonservices.ffdc.rest.DataContainersResponse findDataContainers(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of data field metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getDataContainersForParent
public org.odpi.openmetadata.commonservices.ffdc.rest.DataContainersResponse getDataContainersForParent(String serverName, String userId, String parentGUID, int startFrom, int pageSize) Return the list of schemas associated with a parent element .- Parameters:
serverName- name of the service to route the request to.userId- calling userparentGUID- unique identifier of the parent element to querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of metadata elements describing the schemas associated with the requested parent element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getDataContainersByName
public org.odpi.openmetadata.commonservices.ffdc.rest.DataContainersResponse getDataContainersByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of data field metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getDataContainerByGUID
public org.odpi.openmetadata.commonservices.ffdc.rest.DataContainerResponse getDataContainerByGUID(String serverName, String userId, String guid) Retrieve the data field metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request to.userId- calling userguid- unique identifier of the requested metadata element- Returns:
- requested metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-