Class GlossaryBrowserRESTServices
java.lang.Object
org.odpi.openmetadata.viewservices.glossarybrowser.server.GlossaryBrowserRESTServices
The GlossaryBrowserRESTServices provides the implementation of the Glossary Browser Open Metadata View Service (OMVS).
This interface provides view interfaces for glossary UIs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponseaddCommentReply(String serverName, String userId, String commentGUID, boolean isPublic, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Adds a reply to a comment.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponseaddCommentToElement(String serverName, String userId, String guid, boolean isPublic, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Adds a comment to the element.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseaddLikeToElement(String serverName, String userId, String guid, boolean isPublic, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Adds a "LikeProperties" to the element.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseaddRatingToElement(String serverName, String userId, String guid, boolean isPublic, org.odpi.openmetadata.accessservices.assetmanager.properties.RatingProperties requestBody) Adds a star rating and optional review text to the element.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseaddTagToElement(String serverName, String userId, String elementGUID, String tagGUID, org.odpi.openmetadata.accessservices.assetmanager.properties.FeedbackProperties requestBody) Adds a tag (either private of public) to an element.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearAcceptedAnswer(String serverName, String userId, String questionCommentGUID, String answerCommentGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Unlink a comment that contains an answer to a question posed in another comment.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateInformalTag(String serverName, String userId, org.odpi.openmetadata.accessservices.assetmanager.properties.TagProperties requestBody) Creates a new informal tag and returns the unique identifier for it.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsedeleteTag(String serverName, String userId, String tagGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a tag from the repository.org.odpi.openmetadata.accessservices.assetmanager.rest.CommentElementsResponsefindComments(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of comment metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryElementsResponsefindGlossaries(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of glossary metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponsefindGlossaryCategories(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, GlossarySearchStringRequestBody requestBody) Retrieve the list of glossary category metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponsefindGlossaryTerms(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, GlossarySearchStringRequestBody requestBody) Retrieve the list of glossary term metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponsefindMyTags(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Return the list of the calling user's private tags containing the supplied string in either the name or description.org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementsResponsefindNoteLogs(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of note log metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.NoteElementsResponsefindNotes(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of note metadata elements that contain the search string.org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponsefindTags(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Return the list of tags containing the supplied string in either the name or description.org.odpi.openmetadata.accessservices.assetmanager.rest.CommentElementsResponsegetAttachedComments(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Return the comments attached to an element.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponsegetCategoriesForGlossary(String serverName, String userId, String glossaryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Return the list of categories associated with a glossary.org.odpi.openmetadata.accessservices.assetmanager.rest.CommentElementResponsegetCommentByGUID(String serverName, String userId, String commentGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Return the requested comment.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetConfidenceClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetConfidentialityClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidentiality classification.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetCriticalityClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the criticality classification.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetDataFieldClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the data field classification.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDListResponsegetElementsByTag(String serverName, String userId, String tagGUID, int startFrom, int pageSize) Return the list of unique identifiers for elements that are linked to a specific tag either directly, or via one of its schema elements.org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponsegetElementsSourceFrom(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the elements linked via a "SourceFrom" relationship to the requested element.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryElementsResponsegetGlossariesByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody) Retrieve the list of glossary metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryElementResponsegetGlossaryByGUID(String serverName, String userId, String glossaryGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponsegetGlossaryCategoriesByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryNameRequestBody requestBody) Retrieve the list of glossary category metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementResponsegetGlossaryCategoryByGUID(String serverName, String userId, String glossaryCategoryGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary category metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementResponsegetGlossaryCategoryParent(String serverName, String userId, String glossaryCategoryGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary category metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponsegetGlossarySubCategories(String serverName, String userId, String glossaryCategoryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary category metadata element with the supplied unique identifier.getGlossaryTermActivityTypes(String serverName, String userId) Return the list of glossary term activity types enum values.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementResponsegetGlossaryTermByGUID(String serverName, String userId, String guid, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary term metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponsegetGlossaryTermHistory(String serverName, String userId, String guid, int startFrom, int pageSize, boolean oldestFirst, boolean forLineage, boolean forDuplicateProcessing, HistoryRequestBody requestBody) Retrieve all the versions of a glossary term.getGlossaryTermRelationshipStatuses(String serverName, String userId) Return the list of glossary term relationship status enum values.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponsegetGlossaryTermsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryNameRequestBody requestBody) Retrieve the list of glossary term metadata elements with a matching qualified or display name.getGlossaryTermStatuses(String serverName, String userId) Return the list of glossary term status enum values.org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceDefinitionsResponsegetGovernedByDefinitions(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the elements linked via a "GovernedBy" relationship to the requested governance definition.org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponsegetGovernedElements(String serverName, String userId, String governanceDefinitionGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the governance definitions linked via a "GovernedBy" relationship to the requested element.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponsegetMeanings(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetMembersOfSubjectArea(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponsegetMyTagsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Return the list of the calling user's private tags exactly matching the supplied name.org.odpi.openmetadata.accessservices.assetmanager.rest.NoteElementResponsegetNoteByGUID(String serverName, String userId, String noteGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the note metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementResponsegetNoteLogByGUID(String serverName, String userId, String noteLogGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the note log metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementsResponsegetNoteLogsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody) Retrieve the list of note log metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementsResponsegetNoteLogsForElement(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the list of note log metadata elements attached to the element.org.odpi.openmetadata.accessservices.assetmanager.rest.NoteElementsResponsegetNotesForNoteLog(String serverName, String userId, String noteLogGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the list of notes associated with a note log.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetOwnersElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponsegetRelatedTerms(String serverName, String userId, String glossaryTermGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryTermRelationshipRequestBody requestBody) Retrieve the list of glossary terms associated with the requested term.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetRetentionClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponsegetSecurityTaggedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the security tags classification.org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponsegetSemanticAssignees(String serverName, String userId, String glossaryTermGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponsegetSourceElements(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the elements linked via a "SourceFrom" relationship to the requested element.org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagResponseReturn the tag for the supplied unique identifier (guid).org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponsegetTagsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Return the list of tags exactly matching the supplied name.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponsegetTermsForGlossary(String serverName, String userId, String glossaryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the list of glossary terms associated with a glossary.org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponsegetTermsForGlossaryCategory(String serverName, String userId, String glossaryCategoryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryTermRelationshipRequestBody requestBody) Retrieve the list of glossary terms associated with a glossary category.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveCommentFromElement(String serverName, String userId, String elementGUID, String commentGUID, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Removes a comment added to the element by this user.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveLikeFromElement(String serverName, String userId, String guid, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a "LikeProperties" added to the element by this user.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveRatingFromElement(String serverName, String userId, String guid, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a star rating that was added to the element by this user.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseremoveTagFromElement(String serverName, String userId, String elementGUID, String tagGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a tag from the element that was added by this user.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupAcceptedAnswer(String serverName, String userId, String questionCommentGUID, String answerCommentGUID, boolean forLineage, boolean forDuplicateProcessing, RelationshipRequestBody requestBody) Link a comment that contains the best answer to a question posed in another comment.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateComment(String serverName, String userId, String commentGUID, boolean isMergeUpdate, boolean isPublic, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Update an existing comment.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateTagDescription(String serverName, String userId, String tagGUID, InformalTagUpdateRequestBody requestBody) Updates the description of an existing tag (either private or public).
-
Constructor Details
-
GlossaryBrowserRESTServices
public GlossaryBrowserRESTServices()Default constructor
-
-
Method Details
-
getGlossaryTermStatuses
Return the list of glossary term status enum values.- Parameters:
serverName- name of the server to route the request touserId- calling user- Returns:
- list of enum values
-
getGlossaryTermRelationshipStatuses
public GlossaryTermRelationshipStatusListResponse getGlossaryTermRelationshipStatuses(String serverName, String userId) Return the list of glossary term relationship status enum values.- Parameters:
serverName- name of the server to route the request touserId- calling user- Returns:
- list of enum values
-
getGlossaryTermActivityTypes
public GlossaryTermActivityTypeListResponse getGlossaryTermActivityTypes(String serverName, String userId) Return the list of glossary term activity types enum values.- Parameters:
serverName- name of the server to route the request touserId- calling user- Returns:
- list of enum values
-
findGlossaries
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryElementsResponse findGlossaries(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of glossary metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- string to find in the properties- Returns:
- list of matching metadata 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)
-
getGlossariesByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryElementsResponse getGlossariesByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody) Retrieve the list of glossary metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- name to search for- Returns:
- list of matching metadata 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)
-
getGlossaryByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryElementResponse getGlossaryByGUID(String serverName, String userId, String glossaryGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- matching metadata element 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)
-
findGlossaryCategories
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponse findGlossaryCategories(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, GlossarySearchStringRequestBody requestBody) Retrieve the list of glossary category metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- string to find in the properties and correlators- Returns:
- list of matching metadata 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)
-
getCategoriesForGlossary
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponse getCategoriesForGlossary(String serverName, String userId, String glossaryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Return the list of categories associated with a glossary.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryGUID- unique identifier of the glossary to querystartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- list of metadata elements describing the categories associated with the requested glossary 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)
-
getGlossaryCategoriesByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponse getGlossaryCategoriesByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryNameRequestBody requestBody) Retrieve the list of glossary category metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the server to route the request touserId- calling userrequestBody- name to search for and correlatorsstartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?- Returns:
- list of matching metadata 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)
-
getGlossaryCategoryByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementResponse getGlossaryCategoryByGUID(String serverName, String userId, String glossaryCategoryGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary category metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryCategoryGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- requested metadata element 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)
-
getGlossaryCategoryParent
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementResponse getGlossaryCategoryParent(String serverName, String userId, String glossaryCategoryGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary category metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryCategoryGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- parent glossary category 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)
-
getGlossarySubCategories
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryCategoryElementsResponse getGlossarySubCategories(String serverName, String userId, String glossaryCategoryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary category metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryCategoryGUID- unique identifier of the requested metadata elementstartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- list of glossary category 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)
-
findGlossaryTerms
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponse findGlossaryTerms(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, GlossarySearchStringRequestBody requestBody) Retrieve the list of glossary term metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers and search string- Returns:
- list of matching metadata 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)
-
getTermsForGlossary
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponse getTermsForGlossary(String serverName, String userId, String glossaryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the list of glossary terms associated with a glossary.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryGUID- unique identifier of the glossary of intereststartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- list of associated metadata 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)
-
getTermsForGlossaryCategory
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponse getTermsForGlossaryCategory(String serverName, String userId, String glossaryCategoryGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryTermRelationshipRequestBody requestBody) Retrieve the list of glossary terms associated with a glossary category.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryCategoryGUID- unique identifier of the glossary category of intereststartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- list of associated metadata 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)
-
getRelatedTerms
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponse getRelatedTerms(String serverName, String userId, String glossaryTermGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryTermRelationshipRequestBody requestBody) Retrieve the list of glossary terms associated with the requested term.- Parameters:
serverName- name of the server to route the request touserId- calling userglossaryTermGUID- unique identifier of the glossary of intereststartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- list of associated metadata 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)
-
getGlossaryTermsByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponse getGlossaryTermsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, GlossaryNameRequestBody requestBody) Retrieve the list of glossary term metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers and name- Returns:
- list of matching metadata 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)
-
getGlossaryTermByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementResponse getGlossaryTermByGUID(String serverName, String userId, String guid, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary term metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server to route the request touserId- calling userguid- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- matching metadata element 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)
-
getGlossaryTermHistory
public org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponse getGlossaryTermHistory(String serverName, String userId, String guid, int startFrom, int pageSize, boolean oldestFirst, boolean forLineage, boolean forDuplicateProcessing, HistoryRequestBody requestBody) Retrieve all the versions of a glossary term.- Parameters:
serverName- name of the server to route the request touserId- calling userguid- unique identifier of object to retrievestartFrom- the starting element number of the historical versions to return. This is used when retrieving versions beyond the first page of results. Zero means start from the first element.pageSize- the maximum number of result versions that can be returned on this request. Zero means unrestricted return results size.oldestFirst- defining how the results should be ordered.forLineage- the request is to support lineage retrieval this means entities with the Memento classification can be returnedforDuplicateProcessing- the request is for duplicate processing and so must not deduplicaterequestBody- the time that the retrieved elements must be effective for (null for any time, new Date() for now)- Returns:
- list of beans or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem removing the properties from the repositories. UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
addRatingToElement
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse addRatingToElement(String serverName, String userId, String guid, boolean isPublic, org.odpi.openmetadata.accessservices.assetmanager.properties.RatingProperties requestBody) Adds a star rating and optional review text to the element. If the user has already attached a rating then the original one is over-ridden.- Parameters:
serverName- name of the server instances for this requestuserId- String - userId of user making request.guid- String - unique id for the element.isPublic- is this visible to other peoplerequestBody- containing the StarRating and user review of referenceable (probably element).- Returns:
- void or InvalidParameterException - one of the parameters is null or invalid or PropertyServerException - there is a problem adding the element properties to the metadata repository or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
removeRatingFromElement
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeRatingFromElement(String serverName, String userId, String guid, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a star rating that was added to the element by this user.- Parameters:
serverName- name of the server instances for this requestuserId- String - userId of user making request.guid- String - unique id for the rating objectrequestBody- null request body needed to satisfy the HTTP Post request- Returns:
- void or InvalidParameterException - one of the parameters is null or invalid or PropertyServerException - there is a problem updating the element properties in the metadata repository or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
addLikeToElement
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse addLikeToElement(String serverName, String userId, String guid, boolean isPublic, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Adds a "LikeProperties" to the element.- Parameters:
serverName- name of the server instances for this requestuserId- String - userId of user making request.guid- String - unique id for the element.isPublic- is this visible to other peoplerequestBody- feedback request body .- Returns:
- void or InvalidParameterException - one of the parameters is null or invalid or PropertyServerException - there is a problem adding the element properties to the metadata repository or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
removeLikeFromElement
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeLikeFromElement(String serverName, String userId, String guid, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a "LikeProperties" added to the element by this user.- Parameters:
serverName- name of the server instances for this requestuserId- String - userId of user making request.guid- String - unique id for the like objectrequestBody- null request body needed to satisfy the HTTP Post request- Returns:
- void or InvalidParameterException - one of the parameters is null or invalid or PropertyServerException - there is a problem updating the element properties in the metadata repository or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
addCommentToElement
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse addCommentToElement(String serverName, String userId, String guid, boolean isPublic, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Adds a comment to the element.- Parameters:
serverName- name of the server instances for this requestuserId- String - userId of user making request.guid- String - unique id for the element.isPublic- is this visible to other peopleforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- containing type of comment enum and the text of the comment.- Returns:
- guid for new comment object or InvalidParameterException - one of the parameters is null or invalid or PropertyServerException - there is a problem adding the element properties to the metadata repository or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
addCommentReply
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse addCommentReply(String serverName, String userId, String commentGUID, boolean isPublic, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Adds a reply to a comment.- Parameters:
serverName- name of the server instances for this requestuserId- String - userId of user making request.commentGUID- String - unique id for an existing comment. Used to add a reply to a comment.isPublic- is this visible to other peopleforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- containing type of comment enum and the text of the comment.- Returns:
- guid for new comment object or InvalidParameterException - one of the parameters is null or invalid or PropertyServerException - there is a problem adding the element properties to the metadata repository or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
updateComment
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateComment(String serverName, String userId, String commentGUID, boolean isMergeUpdate, boolean isPublic, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Update an existing comment.- Parameters:
serverName- name of the server instances for this request.userId- userId of user making request.commentGUID- unique identifier for the comment to change.isMergeUpdate- should the new properties be merged with existing properties (true) or completely replace them (false)?isPublic- is this visible to other peopleforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- containing type of comment enum and the text of the comment.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. PropertyServerException There is a problem updating the element properties in the metadata repository. UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
setupAcceptedAnswer
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupAcceptedAnswer(String serverName, String userId, String questionCommentGUID, String answerCommentGUID, boolean forLineage, boolean forDuplicateProcessing, RelationshipRequestBody requestBody) Link a comment that contains the best answer to a question posed in another comment.- Parameters:
serverName- name of the server to route the request touserId- calling userquestionCommentGUID- unique identifier of the comment containing the questionanswerCommentGUID- unique identifier of the comment containing the accepted answerforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to help with the mapping of the elements in the external asset manager and open metadata- Returns:
- void 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)
-
clearAcceptedAnswer
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearAcceptedAnswer(String serverName, String userId, String questionCommentGUID, String answerCommentGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Unlink a comment that contains an answer to a question posed in another comment.- Parameters:
serverName- name of the server to route the request touserId- calling userquestionCommentGUID- unique identifier of the comment containing the questionanswerCommentGUID- unique identifier of the comment containing the accepted answerforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- properties to help with the mapping of the elements in the external asset manager and open metadata- Returns:
- void 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)
-
removeCommentFromElement
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeCommentFromElement(String serverName, String userId, String elementGUID, String commentGUID, boolean forLineage, boolean forDuplicateProcessing, ReferenceableUpdateRequestBody requestBody) Removes a comment added to the element by this user.- Parameters:
serverName- name of the server instances for this requestuserId- String - userId of user making request.elementGUID- String - unique id for the element objectcommentGUID- String - unique id for the comment objectforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- null request body needed to satisfy the HTTP Post request- Returns:
- void or InvalidParameterException - one of the parameters is null or invalid or PropertyServerException - there is a problem updating the element properties in the metadata repository or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
getCommentByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.CommentElementResponse getCommentByGUID(String serverName, String userId, String commentGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Return the requested comment.- Parameters:
serverName- name of the server instances for this requestuserId- userId of user making request.commentGUID- unique identifier for the comment object.forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- effectiveTime and asset manager identifiers- Returns:
- comment properties or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem updating the element properties in the property server. UserNotAuthorizedException the user does not have permission to perform this request.
-
getAttachedComments
public org.odpi.openmetadata.accessservices.assetmanager.rest.CommentElementsResponse getAttachedComments(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Return the comments attached to an element.- Parameters:
serverName- name of the server instances for this requestuserId- userId of user making request.elementGUID- unique identifier for the element that the comments are connected to (maybe a comment too).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- effectiveTime and asset manager identifiers- Returns:
- list of comments or InvalidParameterException one of the parameters is null or invalid. PropertyServerException there is a problem updating the element properties in the property server. UserNotAuthorizedException the user does not have permission to perform this request.
-
findComments
public org.odpi.openmetadata.accessservices.assetmanager.rest.CommentElementsResponse findComments(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of comment metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- string to find in the properties- Returns:
- list of matching metadata 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)
-
createInformalTag
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createInformalTag(String serverName, String userId, org.odpi.openmetadata.accessservices.assetmanager.properties.TagProperties requestBody) Creates a new informal tag and returns the unique identifier for it.- Parameters:
serverName- name of the server instances for this requestuserId- userId of user making requestrequestBody- contains the name of the tag and (optional) description of the tag- Returns:
- guid for new tag or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
updateTagDescription
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateTagDescription(String serverName, String userId, String tagGUID, InformalTagUpdateRequestBody requestBody) Updates the description of an existing tag (either private or public).- Parameters:
serverName- name of the server instances for this requestuserId- userId of user making request.tagGUID- unique id for the tag.requestBody- contains the name of the tag and (optional) description of the tag.- Returns:
- void or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
deleteTag
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse deleteTag(String serverName, String userId, String tagGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a tag from the repository. All the relationships to referenceables are lost.- Parameters:
serverName- name of the server instances for this requestuserId- userId of user making request.tagGUID- unique id for the tag.requestBody- null request body.- Returns:
- void or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
getTag
public org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagResponse getTag(String serverName, String userId, String guid) Return the tag for the supplied unique identifier (guid).- Parameters:
serverName- name of the server instances for this requestuserId- userId of the user making the request.guid- unique identifier of the tag.- Returns:
- Tag object or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
getTagsByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponse getTagsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Return the list of tags exactly matching the supplied name.- Parameters:
serverName- name of the server instances for this requestuserId- the name of the calling user.requestBody- name of tag.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- tag list or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
getMyTagsByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponse getMyTagsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Return the list of the calling user's private tags exactly matching the supplied name.- Parameters:
serverName- name of the server instances for this requestuserId- the name of the calling user.requestBody- name of tag.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- tag list or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
findTags
public org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponse findTags(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Return the list of tags containing the supplied string in either the name or description.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?requestBody- string to find in the properties- Returns:
- tag list or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
findMyTags
public org.odpi.openmetadata.accessservices.assetmanager.rest.InformalTagsResponse findMyTags(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Return the list of the calling user's private tags containing the supplied string in either the name or description.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?requestBody- string to find in the properties- Returns:
- tag list or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
addTagToElement
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse addTagToElement(String serverName, String userId, String elementGUID, String tagGUID, org.odpi.openmetadata.accessservices.assetmanager.properties.FeedbackProperties requestBody) Adds a tag (either private of public) to an element.- Parameters:
serverName- name of the server instances for this requestuserId- userId of user making request.elementGUID- unique id for the element.tagGUID- unique id of the tag.requestBody- feedback request body.- Returns:
- void or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
removeTagFromElement
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeTagFromElement(String serverName, String userId, String elementGUID, String tagGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody) Removes a tag from the element that was added by this user.- Parameters:
serverName- name of the server instances for this requestuserId- userId of user making request.elementGUID- unique id for the element.tagGUID- unique id for the tag.requestBody- null request body needed for correct protocol exchange.- Returns:
- void or InvalidParameterException - one of the parameters is invalid or PropertyServerException - there is a problem retrieving information from the property server(s) or UserNotAuthorizedException - the requesting user is not authorized to issue this request.
-
getElementsByTag
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDListResponse getElementsByTag(String serverName, String userId, String tagGUID, int startFrom, int pageSize) Return the list of unique identifiers for elements that are linked to a specific tag either directly, or via one of its schema elements.- Parameters:
serverName- name of the server instances for this requestuserId- the name of the calling user.tagGUID- unique identifier of tag.startFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- element guid list or InvalidParameterException the userId is null or invalid or PropertyServerException there is a problem retrieving information from the property server(s) or UserNotAuthorizedException the requesting user is not authorized to issue this request.
-
findNoteLogs
public org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementsResponse findNoteLogs(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of note log metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- string to find in the properties- Returns:
- list of matching metadata 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)
-
getNoteLogsByName
public org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementsResponse getNoteLogsByName(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody) Retrieve the list of note log metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the server instances for this requestuserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- name to search for and correlators- Returns:
- list of matching metadata 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)
-
getNoteLogsForElement
public org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementsResponse getNoteLogsForElement(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the list of note log metadata elements attached to the element.- Parameters:
serverName- name of the server instances for this requestuserId- calling userelementGUID- unique identifier of the note log of intereststartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- list of associated metadata 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)
-
getNoteLogByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.NoteLogElementResponse getNoteLogByGUID(String serverName, String userId, String noteLogGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the note log metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server instances for this requestuserId- calling usernoteLogGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- correlators- Returns:
- requested metadata element 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)
-
findNotes
public org.odpi.openmetadata.accessservices.assetmanager.rest.NoteElementsResponse findNotes(String serverName, String userId, int startFrom, int pageSize, boolean startsWith, boolean endsWith, boolean ignoreCase, boolean forLineage, boolean forDuplicateProcessing, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody) Retrieve the list of note metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the server to route the request touserId- calling userstartFrom- paging start pointpageSize- maximum results that can be returnedstartsWith- does the value start with the supplied string?endsWith- does the value end with the supplied string?ignoreCase- should the search ignore case?forLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- string to find in the properties- Returns:
- list of matching metadata 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)
-
getNotesForNoteLog
public org.odpi.openmetadata.accessservices.assetmanager.rest.NoteElementsResponse getNotesForNoteLog(String serverName, String userId, String noteLogGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the list of notes associated with a note log.- Parameters:
serverName- name of the server instances for this requestuserId- calling usernoteLogGUID- unique identifier of the note log of intereststartFrom- paging start pointpageSize- maximum results that can be returnedforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- list of associated metadata 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)
-
getNoteByGUID
public org.odpi.openmetadata.accessservices.assetmanager.rest.NoteElementResponse getNoteByGUID(String serverName, String userId, String noteGUID, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the note metadata element with the supplied unique identifier.- Parameters:
serverName- name of the server instances for this requestuserId- calling usernoteGUID- unique identifier of the requested metadata elementforLineage- return elements marked with the Memento classification?forDuplicateProcessing- do not merge elements marked as duplicates?requestBody- asset manager identifiers- Returns:
- matching metadata element 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)
-
getDataFieldClassifiedElements
public org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getDataFieldClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the data field classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getConfidenceClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getCriticalityClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the criticality classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getConfidentialityClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidentiality classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getRetentionClassifiedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getSecurityTaggedElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the security tags classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getOwnersElements(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.ElementStubsResponse getMembersOfSubjectArea(String serverName, String userId, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, FindByPropertiesRequestBody requestBody) Return information about the elements classified with the confidence classification.- Parameters:
serverName- name of the server instance to connect touserId- calling userstartFrom- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.GlossaryTermElementsResponse getMeanings(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.- Parameters:
serverName- name of the server instance to connect touserId- calling userelementGUID- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponse getSemanticAssignees(String serverName, String userId, String glossaryTermGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the glossary terms linked via a "SemanticAssignment" relationship to the requested element.- Parameters:
serverName- name of the server instance to connect touserId- calling userglossaryTermGUID- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponse getGovernedElements(String serverName, String userId, String governanceDefinitionGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the governance definitions linked via a "GovernedBy" relationship to the requested element.- Parameters:
serverName- name of the server instance to connect touserId- calling usergovernanceDefinitionGUID- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.GovernanceDefinitionsResponse getGovernedByDefinitions(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the elements linked via a "GovernedBy" relationship to the requested governance definition.- Parameters:
serverName- name of the server instance to connect touserId- calling userelementGUID- 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 org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponse getSourceElements(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the elements linked via a "SourceFrom" 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 touserId- calling userelementGUID- 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
-
getElementsSourceFrom
public org.odpi.openmetadata.accessservices.assetmanager.rest.RelatedElementsResponse getElementsSourceFrom(String serverName, String userId, String elementGUID, int startFrom, int pageSize, boolean forLineage, boolean forDuplicateProcessing, EffectiveTimeQueryRequestBody requestBody) Retrieve the elements linked via a "SourceFrom" 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 touserId- calling userelementGUID- 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
-