Class GlossaryViewClient
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
org.odpi.openmetadata.accessservices.glossaryview.client.GlossaryViewClient
public class GlossaryViewClient
extends org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
The Glossary View Open Metadata Access Service (OMAS) provides an interface to query for glossaries, categories and terms.
Regarding the paged requests, one can pass null to 'from' and 'size' params in order to use their default values
-
Constructor Summary
ConstructorsConstructorDescriptionGlossaryViewClient(String serverName, String serverPlatformRootURL) Create a new clientGlossaryViewClient(String serverName, String serverPlatformRootURL, String userId, String password) Create a new client that passes userId and password in each HTTP request. -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory>getAllCategories(String userId, Integer from, Integer size) Extract all categories definitionsList<org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary>getAllGlossaries(String userId, Integer from, Integer size) Extract all glossary definitionsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAllGlossaryTerms(String userId, Integer from, Integer size) Extract all glossaryTerms definitionsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAntonyms(String userId, String termGUID, Integer from, Integer size) Extract antonymsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAssignedElements(String userId, String termGUID, Integer from, Integer size) Extract assigned elementsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAttributes(String userId, String termGUID, Integer from, Integer size) Extract attributesList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory>getCategories(String userId, String glossaryGUID, Integer from, Integer size) Extract categories within a glossaryorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategorygetCategory(String userId, String categoryGUID) Extract a category definitionorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossarygetCategoryHomeGlossary(String userId, String categoryGUID) Extract a category's home glossaryList<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink>getExternalGlossaryLinksOfCategory(String userId, String categoryGUID, Integer from, Integer size) Extract a category's external glossary linksList<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink>getExternalGlossaryLinksOfGlossary(String userId, String glossaryGUID, Integer from, Integer size) Extract a glossaries's external glossary linksList<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink>getExternalGlossaryLinksOfTerm(String userId, String termGUID, Integer from, Integer size) Extract a term's external glossary linksorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossarygetGlossary(String userId, String glossaryGUID) Extract a glossary definitionList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>Extract "is-a" termsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getPreferredTerms(String userId, String termGUID, Integer from, Integer size) Extract preferred termsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getRelatedTerms(String userId, String termGUID, Integer from, Integer size) Extract related termsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getReplacementTerms(String userId, String termGUID, Integer from, Integer size) Extract replacement termsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory>getSubcategories(String userId, String categoryGUID, Integer from, Integer size) Extract subcategories of a categoryList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getSubtypes(String userId, String termGUID, Integer from, Integer size) Extract subtypesList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getSynonyms(String userId, String termGUID, Integer from, Integer size) Extract synonymsorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTermExtract a term definitionorg.odpi.openmetadata.accessservices.glossaryview.rest.GlossarygetTermHomeGlossary(String userId, String termGUID) Extract a term's home glossaryList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getTermsOfCategory(String userId, String categoryGUID, Integer from, Integer size) Extract terms within a categoryList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getTermsOfGlossary(String userId, String glossaryGUID, Integer from, Integer size) Extract terms within a glossaryList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getTranslations(String userId, String termGUID, Integer from, Integer size) Extract translationsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>Extract typesList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getUsedInContexts(String userId, String termGUID, Integer from, Integer size) Extract "used-in-contexts" termsList<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getValidValues(String userId, String termGUID, Integer from, Integer size) Extract valid valuesMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callOCFConnectorReportGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
callPostRESTCallNoParams
-
Constructor Details
-
GlossaryViewClient
public GlossaryViewClient(String serverName, String serverPlatformRootURL) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client- Parameters:
serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the OMAS REST services- Throws:
org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- null URL or server nameorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
-
GlossaryViewClient
public GlossaryViewClient(String serverName, String serverPlatformRootURL, String userId, String password) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformRootURL- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- null URL or server nameorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
-
-
Method Details
-
getAllGlossaries
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary> getAllGlossaries(String userId, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract all glossary definitions- Parameters:
userId- calling userfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse glossaries
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getAllGlossaryTerms
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAllGlossaryTerms(String userId, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract all glossaryTerms definitions- Parameters:
userId- calling userfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse glossaries
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getAllCategories
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory> getAllCategories(String userId, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract all categories definitions- Parameters:
userId- calling userfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse glossaries
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getGlossary
public org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary getGlossary(String userId, String glossaryGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a glossary definition- Parameters:
userId- calling userglossaryGUID- glossary GUID- Returns:
- EntityDetailResponse glossary
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getTermHomeGlossary
public org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary getTermHomeGlossary(String userId, String termGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a term's home glossary- Parameters:
userId- calling usertermGUID- term GUID- Returns:
- EntityDetailResponse glossary
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getCategoryHomeGlossary
public org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary getCategoryHomeGlossary(String userId, String categoryGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a category's home glossary- Parameters:
userId- calling usercategoryGUID- category GUID- Returns:
- EntityDetailResponse glossary
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getExternalGlossaryLinksOfGlossary
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink> getExternalGlossaryLinksOfGlossary(String userId, String glossaryGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a glossaries's external glossary links- Parameters:
userId- calling userglossaryGUID- glossary GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse external glossary links
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getCategory
public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory getCategory(String userId, String categoryGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a category definition- Parameters:
userId- calling usercategoryGUID- category GUID- Returns:
- EntityDetailResponse category
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getCategories
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory> getCategories(String userId, String glossaryGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract categories within a glossary- Parameters:
userId- calling userglossaryGUID- glossary GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse categories
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getSubcategories
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory> getSubcategories(String userId, String categoryGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract subcategories of a category- Parameters:
userId- calling usercategoryGUID- category GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse subcategories
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getExternalGlossaryLinksOfCategory
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink> getExternalGlossaryLinksOfCategory(String userId, String categoryGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a category's external glossary links- Parameters:
userId- calling usercategoryGUID- category GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse external glossary links
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getTerm
public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm getTerm(String userId, String termGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a term definition- Parameters:
userId- calling usertermGUID- term GUID- Returns:
- EntityDetailResponse term
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getTermsOfGlossary
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTermsOfGlossary(String userId, String glossaryGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract terms within a glossary- Parameters:
userId- calling userglossaryGUID- glossary GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getTermsOfCategory
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTermsOfCategory(String userId, String categoryGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract terms within a category- Parameters:
userId- calling usercategoryGUID- category GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getExternalGlossaryLinksOfTerm
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink> getExternalGlossaryLinksOfTerm(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract a term's external glossary links- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse external glossary links
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getRelatedTerms
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getRelatedTerms(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract related terms- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getSynonyms
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getSynonyms(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract synonyms- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getAntonyms
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAntonyms(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract antonyms- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getPreferredTerms
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getPreferredTerms(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract preferred terms- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getReplacementTerms
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getReplacementTerms(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract replacement terms- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getTranslations
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTranslations(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract translations- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getIsA
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getIsA(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract "is-a" terms- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getValidValues
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getValidValues(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract valid values- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getUsedInContexts
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getUsedInContexts(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract "used-in-contexts" terms- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getAssignedElements
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAssignedElements(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract assigned elements- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getAttributes
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAttributes(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract attributes- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getSubtypes
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getSubtypes(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract subtypes- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-
getTypes
public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTypes(String userId, String termGUID, Integer from, Integer size) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException Extract types- Parameters:
userId- calling usertermGUID- term GUIDfrom- starting indexsize- max number of returned entities- Returns:
- EntityDetailResponse terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- if a problem occurs while serving the requestorg.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- if parameter validation failsorg.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException- if a problem occurs on the omas backend
-