Class ClassificationExplorerRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.classificationexplorer.server.ClassificationExplorerRESTServices
The ClassificationExplorerRESTServices provides the implementation of the Classification Explorer Open Metadata View Service (OMVS).
This interface provides view interfaces for glossary UIs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindElementsByClassificationWithPropertyValue
(String serverName, String urlMarker, String classificationName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements with the requested classification name and with the requested a value found in one of the classification's properties specified.findElementsByPropertyValue
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements by a value found in one of the properties specified.findRelatedElementsWithPropertyValue
(String serverName, String urlMarker, String elementGUID, String relationshipTypeName, int startingAtEnd, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements linked via the requested relationship type name and with the relationship's properties specified.findRelationshipsWithPropertyValue
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve relationships of the requested relationship type name and with the requested a value found in one of the relationship's properties specified.getAssetsByOrigin
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindAssetOriginProperties requestBody) Return information about the assets from a specific origin.getConfidenceClassifiedElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the confidence classification.getConfidentialityClassifiedElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the confidentiality classification.getCriticalityClassifiedElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the criticality classification.getDataFieldClassifiedElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, DataFieldQueryProperties requestBody) Return information about the elements classified with the data field classification.getElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve elements of the requested type name.getElementsByClassification
(String serverName, String urlMarker, String classificationName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve elements with the requested classification name.getElementsByClassificationWithPropertyValue
(String serverName, String urlMarker, String classificationName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements with the requested classification name and with the requested a value found in one of the classification's properties specified.getElementsByPropertyValue
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements by a value found in one of the properties specified.getElementsSourcedFrom
(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the elements linked via a "SourcedFrom" relationship to the requested element.getGovernedByDefinitions
(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the elements linked via a "GovernedBy" relationship to the requested governance definition.getGovernedElements
(String serverName, String urlMarker, String governanceDefinitionGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the governance definitions linked via a "GovernedBy" relationship to the requested element.getMeanings
(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, SemanticAssignmentQueryProperties requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.getMembersOfSubjectArea
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindNameProperties requestBody) Return information about the elements classified with the confidence classification.getMetadataElementByGUID
(String serverName, String urlMarker, String elementGUID, boolean forLineage, boolean forDuplicateProcessing, FindRequest requestBody) Retrieve the metadata element using its unique identifier.getMetadataElementByUniqueName
(String serverName, String urlMarker, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNameProperties requestBody) Retrieve the metadata element using its unique name (typically the qualified name).getMetadataElementGUIDByUniqueName
(String serverName, String urlMarker, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNameProperties requestBody) Retrieve the unique identifier of a metadata element using its unique name (typically the qualified name).getOwnersElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindNameProperties requestBody) Return information about the elements classified with the confidence classification.getRelatedElements
(String serverName, String urlMarker, String elementGUID, String relationshipTypeName, int startingAtEnd, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve related elements of the requested type name.getRelatedElementsWithPropertyValue
(String serverName, String urlMarker, String elementGUID, String relationshipTypeName, int startingAtEnd, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements linked via the requested relationship type name and with the requested a value found in one of the classification's properties specified.getRelationships
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve relationships of the requested relationship type name.getRelationshipsWithPropertyValue
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve relationships of the requested relationship type name and with the requested a value found in one of the relationship's properties specified.getRetentionClassifiedElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the confidence classification.getSecurityTaggedElements
(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, SecurityTagQueryProperties requestBody) Return information about the elements classified with the security tags classification.getSemanticAssignees
(String serverName, String urlMarker, String glossaryTermGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, SemanticAssignmentQueryProperties requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.getSourceElements
(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the elements linked via a "SourcedFrom" relationship to the requested element.retrieveInstanceForGUID
(String serverName, String urlMarker, String guid, boolean forLineage, boolean forDuplicateProcessing, ResultsRequestBody requestBody) Retrieve the header for the instance identified by the supplied unique identifier.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
ClassificationExplorerRESTServices
public ClassificationExplorerRESTServices()Default constructor
-
-
Method Details
-
getDataFieldClassifiedElements
public MetadataElementSummariesResponse getDataFieldClassifiedElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, DataFieldQueryProperties requestBody) Return information about the elements classified with the data field classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getConfidenceClassifiedElements
public MetadataElementSummariesResponse getConfidenceClassifiedElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getCriticalityClassifiedElements
public MetadataElementSummariesResponse getCriticalityClassifiedElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the criticality classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getConfidentialityClassifiedElements
public MetadataElementSummariesResponse getConfidentialityClassifiedElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the confidentiality classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getRetentionClassifiedElements
public MetadataElementSummariesResponse getRetentionClassifiedElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, LevelIdentifierQueryProperties requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getSecurityTaggedElements
public MetadataElementSummariesResponse getSecurityTaggedElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, SecurityTagQueryProperties requestBody) Return information about the elements classified with the security tags classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getOwnersElements
public MetadataElementSummariesResponse getOwnersElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindNameProperties requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getMembersOfSubjectArea
public MetadataElementSummariesResponse getMembersOfSubjectArea(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindNameProperties requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getAssetsByOrigin
public MetadataElementSummariesResponse getAssetsByOrigin(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindAssetOriginProperties requestBody) Return information about the assets from a specific origin.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for the request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getMeanings
public RelatedMetadataElementSummariesResponse getMeanings(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, SemanticAssignmentQueryProperties requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementGUID
- unique identifier of the element that is being assigned to the glossary termstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getSemanticAssignees
public RelatedMetadataElementSummariesResponse getSemanticAssignees(String serverName, String urlMarker, String glossaryTermGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, SemanticAssignmentQueryProperties requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerglossaryTermGUID
- unique identifier of the glossary term that the returned elements are linked tostartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getGovernedElements
public RelatedMetadataElementSummariesResponse getGovernedElements(String serverName, String urlMarker, String governanceDefinitionGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the governance definitions linked via a "GovernedBy" relationship to the requested element.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markergovernanceDefinitionGUID
- unique identifier of the governance definition that the returned elements are linked tostartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getGovernedByDefinitions
public RelatedMetadataElementSummariesResponse getGovernedByDefinitions(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the elements linked via a "GovernedBy" relationship to the requested governance definition.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementGUID
- unique identifier of the element that the returned elements are linked tostartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getSourceElements
public RelatedMetadataElementSummariesResponse getSourceElements(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the elements linked via a "SourcedFrom" relationship to the requested element. The elements returned were used to create the requested element. Typically only one element is returned.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementGUID
- unique identifier of the governance definition that the returned elements are linked tostartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getElementsSourcedFrom
public RelatedMetadataElementSummariesResponse getElementsSourcedFrom(String serverName, String urlMarker, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve the elements linked via a "SourcedFrom" relationship to the requested element. The elements returned were created using the requested element as a template.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementGUID
- unique identifier of the element that the returned elements are linked tostartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- properties for relationship request- Returns:
- void or InvalidParameterException full path or userId is null or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
getMetadataElementByGUID
public MetadataElementSummaryResponse getMetadataElementByGUID(String serverName, String urlMarker, String elementGUID, boolean forLineage, boolean forDuplicateProcessing, FindRequest requestBody) Retrieve the metadata element using its unique identifier.- Parameters:
serverName
- name of server instance to route request tourlMarker
- view service URL markerelementGUID
- unique identifier for the metadata elementforLineage
- the retrieved element is for lineage processing so include archived elementsforDuplicateProcessing
- the retrieved element is for duplicate processing so do not combine results from known duplicates.requestBody
- only return the element if it is effective at this time. Null means anytime. Use "new Date()" for now.- Returns:
- metadata element properties or InvalidParameterException the unique identifier is null or not known. UserNotAuthorizedException the governance action service is not able to access the element PropertyServerException there is a problem accessing the metadata store
-
getMetadataElementByUniqueName
public MetadataElementSummaryResponse getMetadataElementByUniqueName(String serverName, String urlMarker, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNameProperties requestBody) Retrieve the metadata element using its unique name (typically the qualified name).- Parameters:
serverName
- name of server instance to route request tourlMarker
- view service URL markerforLineage
- the retrieved element is for lineage processing so include archived elementsforDuplicateProcessing
- the retrieved element is for duplicate processing so do not combine results from known duplicates.requestBody
- unique name for the metadata element- Returns:
- metadata element properties or InvalidParameterException the unique identifier is null or not known. UserNotAuthorizedException the governance action service is not able to access the element PropertyServerException there is a problem accessing the metadata store
-
getMetadataElementGUIDByUniqueName
public GUIDResponse getMetadataElementGUIDByUniqueName(String serverName, String urlMarker, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNameProperties requestBody) Retrieve the unique identifier of a metadata element using its unique name (typically the qualified name).- Parameters:
serverName
- name of server instance to route request tourlMarker
- view service URL markerforLineage
- the retrieved element is for lineage processing so include archived elementsforDuplicateProcessing
- the retrieved element is for duplicate processing so do not combine results from known duplicates.requestBody
- unique name for the metadata element- Returns:
- metadata element unique identifier (guid) or InvalidParameterException the unique identifier is null or not known or UserNotAuthorizedException the governance action service is not able to access the element or PropertyServerException there is a problem accessing the metadata store
-
getElements
public MetadataElementSummariesResponse getElements(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve elements of the requested type name.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- open metadata type to search on- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getElementsByPropertyValue
public MetadataElementSummariesResponse getElementsByPropertyValue(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements by a value found in one of the properties specified. The value must match exactly. An open metadata type name may be supplied to restrict the results.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerrequestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findElementsByPropertyValue
public MetadataElementSummariesResponse findElementsByPropertyValue(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements by a value found in one of the properties specified. The value must be contained in the properties rather than needing to be an exact match. An open metadata type name may be supplied to restrict the results.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerrequestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getElementsByClassification
public MetadataElementSummariesResponse getElementsByClassification(String serverName, String urlMarker, String classificationName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve elements with the requested classification name. It is also possible to limit the results by specifying a type name for the elements that should be returned. If no type name is specified then any type of element may be returned.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerclassificationName
- name of classificationstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- open metadata type to search on- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getElementsByClassificationWithPropertyValue
public MetadataElementSummariesResponse getElementsByClassificationWithPropertyValue(String serverName, String urlMarker, String classificationName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements with the requested classification name and with the requested a value found in one of the classification's properties specified. The value must match exactly. An open metadata type name may be supplied to restrict the types of elements returned.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerclassificationName
- name of classificationrequestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findElementsByClassificationWithPropertyValue
public MetadataElementSummariesResponse findElementsByClassificationWithPropertyValue(String serverName, String urlMarker, String classificationName, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements with the requested classification name and with the requested a value found in one of the classification's properties specified. The value must be contained in the properties rather than needing to be an exact match. An open metadata type name may be supplied to restrict the results.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerclassificationName
- name of classificationrequestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getRelatedElements
public RelatedMetadataElementSummariesResponse getRelatedElements(String serverName, String urlMarker, String elementGUID, String relationshipTypeName, int startingAtEnd, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve related elements of the requested type name.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementGUID
- unique identifier of the starting elementrelationshipTypeName
- name of relationshipstartingAtEnd
- indicates which end to retrieve from (0 is "either end"; 1 is end1; 2 is end 2)startFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- open metadata type to search on- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getRelatedElementsWithPropertyValue
public RelatedMetadataElementSummariesResponse getRelatedElementsWithPropertyValue(String serverName, String urlMarker, String elementGUID, String relationshipTypeName, int startingAtEnd, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements linked via the requested relationship type name and with the requested a value found in one of the classification's properties specified. The value must match exactly. An open metadata type name may be supplied to restrict the types of elements returned.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementGUID
- unique identifier of the starting elementrelationshipTypeName
- name of relationshipstartingAtEnd
- indicates which end to retrieve from (0 is "either end"; 1 is end1; 2 is end 2)requestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findRelatedElementsWithPropertyValue
public RelatedMetadataElementSummariesResponse findRelatedElementsWithPropertyValue(String serverName, String urlMarker, String elementGUID, String relationshipTypeName, int startingAtEnd, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve elements linked via the requested relationship type name and with the relationship's properties specified. The value must be contained in one of the properties specified (or any property if no property names are specified). An open metadata type name may be supplied to restrict the linked elements that are matched.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementGUID
- unique identifier of the starting elementrelationshipTypeName
- name of relationshipstartingAtEnd
- indicates which end to retrieve from (0 is "either end"; 1 is end1; 2 is end 2)requestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getRelationships
public MetadataRelationshipSummariesResponse getRelationships(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindProperties requestBody) Retrieve relationships of the requested relationship type name.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- open metadata type to search on- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
getRelationshipsWithPropertyValue
public MetadataRelationshipSummariesResponse getRelationshipsWithPropertyValue(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve relationships of the requested relationship type name and with the requested a value found in one of the relationship's properties specified. The value must match exactly.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerrequestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
findRelationshipsWithPropertyValue
public MetadataRelationshipSummariesResponse findRelationshipsWithPropertyValue(String serverName, String urlMarker, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindPropertyNamesProperties requestBody) Retrieve relationships of the requested relationship type name and with the requested a value found in one of the relationship's properties specified. The value must only be contained in the properties rather than needing to be an exact match.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerrequestBody
- properties and optional open metadata type to search onstartFrom
- index of the list to start from (0 for start)pageSize
- maximum number of elements to return.forLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-
retrieveInstanceForGUID
public ElementHeaderResponse retrieveInstanceForGUID(String serverName, String urlMarker, String guid, boolean forLineage, boolean forDuplicateProcessing, ResultsRequestBody requestBody) Retrieve the header for the instance identified by the supplied unique identifier. It may be an element (entity) or a relationship between elements.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerguid
- identifier to use in the lookupforLineage
- return elements marked with the Memento classification?forDuplicateProcessing
- do not merge elements marked as duplicates?requestBody
- effective time- Returns:
- list of matching elements or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
-