Class GlossaryViewController
java.lang.Object
org.odpi.openmetadata.userinterface.uichassis.springboot.api.SecureController
org.odpi.openmetadata.userinterface.uichassis.springboot.api.glossary.GlossaryViewController
@RestController
@RequestMapping("/api/glossaries")
public class GlossaryViewController
extends SecureController
This controller serves all requests for glossaries, categories and terms.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.userinterface.uichassis.springboot.api.SecureController
PAGE_OFFSET_DEFAULT_VALUE, PAGE_SIZE_DEFAULT_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary>getAllGlossaries(Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory>getAllGlossaryCategories(Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAllGlossaryTerms(Integer from, Integer size) org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTermgetAntonyms(String termGUID) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAntonyms(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAssignedElements(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getAttributes(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory>getCategories(String glossaryGUID, Integer from, Integer size) org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategorygetCategory(String categoryGUID, jakarta.servlet.http.HttpServletRequest request) org.odpi.openmetadata.accessservices.glossaryview.rest.GlossarygetCategoryHomeGlossary(String categoryGUID) List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink>getExternalGlossaryLinks(String categoryGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink>getExternalGlossaryLinksOfGlossary(String glossaryGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink>getExternalGlossaryLinksOfTerm(String termGUID, Integer from, Integer size) org.odpi.openmetadata.accessservices.glossaryview.rest.GlossarygetGlossary(String glossaryGUID) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getIsATerms(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getPreferredTerms(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getRelatedTerms(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getReplacementTerms(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory>getSubcategories(String categoryGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getSubtypes(String termGUID, Integer from, Integer size) org.odpi.openmetadata.accessservices.glossaryview.rest.GlossarygetSynonyms(String termGUID) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getSynonyms(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getTermsOfCategory(String categoryGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getTermsOfGlossary(String glossaryGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getTranslations(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getUsedInContexts(String termGUID, Integer from, Integer size) List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm>getValidValues(String termGUID, Integer from, Integer size)
-
Constructor Details
-
GlossaryViewController
public GlossaryViewController()
-
-
Method Details
-
getAllGlossaries
@GetMapping public List<org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary> getAllGlossaries(@RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
from- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- all the 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
@GetMapping("/terms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAllGlossaryTerms(@RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
from- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- all the glossary 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
-
getAllGlossaryCategories
@GetMapping("/categories") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory> getAllGlossaryCategories(@RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
from- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- all the glossary 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
-
getGlossary
@GetMapping("/{glossaryGUID}") public org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary getGlossary(@PathVariable("glossaryGUID") String glossaryGUID) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
glossaryGUID- GUID of the glossary to be retrieved- Returns:
- the glossary with the GUID or null
- 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
@GetMapping("/{glossaryGUID}/categories") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory> getCategories(@PathVariable("glossaryGUID") String glossaryGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
glossaryGUID- GUID of the glossaryfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of 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
-
getTermsOfGlossary
@GetMapping("/{glossaryGUID}/terms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTermsOfGlossary(@PathVariable("glossaryGUID") String glossaryGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
glossaryGUID- GUID of the glossaryfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of 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
-
getExternalGlossaryLinksOfGlossary
@GetMapping("/{glossaryGUID}/externalGlossaryLinks") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink> getExternalGlossaryLinksOfGlossary(@PathVariable("glossaryGUID") String glossaryGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
glossaryGUID- GUID of the glossaryfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of 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
-
getAntonyms
@GetMapping("/terms/{termGUID}") public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm getAntonyms(@PathVariable("termGUID") String termGUID) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the term- Returns:
- the term with the GUID
- 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
@GetMapping("/terms/{termGUID}/antonyms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAntonyms(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of antonyms
- 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
@GetMapping("/terms/{termGUID}/assignedElements") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAssignedElements(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of terms representing the assigned elements
- 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
@GetMapping("/terms/{termGUID}/attributes") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getAttributes(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of terms representing the antonyms of the term with GUID
- 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
-
getIsATerms
@GetMapping("/terms/{termGUID}/isA") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getIsATerms(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of is-a 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
@GetMapping("/terms/{termGUID}/preferredTerms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getPreferredTerms(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of preferred 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
-
getRelatedTerms
@GetMapping("/terms/{termGUID}/relatedTerms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getRelatedTerms(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of related 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
@GetMapping("/terms/{termGUID}/replacementTerms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getReplacementTerms(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of replacement 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
@GetMapping("/terms/{termGUID}/subtypes") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getSubtypes(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of subtypes 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
@GetMapping("/terms/{termGUID}/synonyms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getSynonyms(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of synonym 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
@GetMapping("/terms/{termGUID}/translations") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTranslations(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of translations 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
@GetMapping("/terms/{termGUID}/types") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTypes(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of preferred 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
@GetMapping("/terms/{termGUID}/usedInContext") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getUsedInContexts(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of "used-in-contexts" 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
@GetMapping("/terms/{termGUID}/validValues") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getValidValues(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list valid values 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
@GetMapping("/terms/{termGUID}/homeGlossary") public org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary getSynonyms(@PathVariable("termGUID") String termGUID) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the term- Returns:
- term's home 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
-
getExternalGlossaryLinksOfTerm
@GetMapping("/terms/{termGUID}/externalGlossaryLinks") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink> getExternalGlossaryLinksOfTerm(@PathVariable("termGUID") String termGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
termGUID- GUID of the termfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of term's 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
@GetMapping("/categories/{categoryGUID}") public org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory getCategory(@PathVariable("categoryGUID") String categoryGUID, jakarta.servlet.http.HttpServletRequest request) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
categoryGUID- GUID of the category to be retrievedrequest- the http servlet request- Returns:
- the glossary category with the GUID or null
- 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
@GetMapping("/categories/{categoryGUID}/homeGlossary") public org.odpi.openmetadata.accessservices.glossaryview.rest.Glossary getCategoryHomeGlossary(@PathVariable("categoryGUID") String categoryGUID) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
categoryGUID- GUID of the category- Returns:
- the home glossary of the 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
-
getSubcategories
@GetMapping("/categories/{categoryGUID}/subcategories") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryCategory> getSubcategories(@PathVariable("categoryGUID") String categoryGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
categoryGUID- GUID of the categoryfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- the home glossary of the 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
-
getTermsOfCategory
@GetMapping("/categories/{categoryGUID}/terms") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.GlossaryTerm> getTermsOfCategory(@PathVariable("categoryGUID") String categoryGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
categoryGUID- GUID of the catgitegoryfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of terms corresponding to the 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
-
getExternalGlossaryLinks
@GetMapping("/categories/{categoryGUID}/externalGlossaryLinks") public List<org.odpi.openmetadata.accessservices.glossaryview.rest.ExternalGlossaryLink> getExternalGlossaryLinks(@PathVariable("categoryGUID") String categoryGUID, @RequestParam(defaultValue="0") Integer from, @RequestParam(defaultValue="100") Integer size) throws org.odpi.openmetadata.accessservices.glossaryview.exception.GlossaryViewOmasException, org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - Parameters:
categoryGUID- GUID of the categoryfrom- the index from witch the results to start, used for paginationsize- number of results returned, used for pagination- Returns:
- list of a category's 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
-