Class GlossaryResource
java.lang.Object
org.odpi.openmetadata.accessservices.glossaryview.server.spring.GlossaryResource
@RestController
@Validated
@RequestMapping("/servers/{serverName}/open-metadata/access-services/glossary-view/users/{userId}")
@Deprecated
public class GlossaryResource
extends Object
Deprecated.
Spring Rest Controller defining 'Glossary' oriented endpoints
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllGlossaries
(String serverName, String userId, @PositiveOrZero Integer from, @PositiveOrZero @Max(1000L) Integer size) Deprecated.Extract all glossary definitionsgetCategoryHomeGlossary
(String serverName, String userId, @NotBlank String categoryGUID) Deprecated.Extract a category's home glossarygetExternalGlossaryLinks
(String serverName, String userId, @NotBlank String glossaryGUID, @PositiveOrZero Integer from, @PositiveOrZero @Max(1000L) Integer size) Deprecated.Extract the external glossary link definitionsgetGlossary
(String serverName, String userId, @NotBlank String glossaryGUID) Deprecated.Extract a glossary definitiongetTermHomeGlossary
(String serverName, String userId, @NotBlank String termGUID) Deprecated.Extract a term's home glossary
-
Constructor Details
-
GlossaryResource
public GlossaryResource()Deprecated.Called by Spring
-
-
Method Details
-
getAllGlossaries
@GetMapping(path="/glossaries") public GlossaryViewEntityDetailResponse getAllGlossaries(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @RequestParam(name="from",defaultValue="0") @PositiveOrZero @PositiveOrZero Integer from, @RequestParam(name="size",defaultValue="100") @PositiveOrZero @Max(1000L) @PositiveOrZero @Max(1000L) Integer size) Deprecated.Extract all glossary definitions- Parameters:
serverName
- instance to calluserId
- calling userfrom
- fromsize
- size- Returns:
- glossaries
-
getGlossary
@GetMapping(path="/glossaries/{glossaryGUID}") public GlossaryViewEntityDetailResponse getGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("glossaryGUID") @NotBlank @NotBlank String glossaryGUID) Deprecated.Extract a glossary definition- Parameters:
serverName
- instance to calluserId
- calling userglossaryGUID
- glossary GUID- Returns:
- a glossary
-
getTermHomeGlossary
@GetMapping(path="/terms/{termGUID}/home-glossary") public GlossaryViewEntityDetailResponse getTermHomeGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("termGUID") @NotBlank @NotBlank String termGUID) Deprecated.Extract a term's home glossary- Parameters:
serverName
- instance to calluserId
- calling usertermGUID
- term GUID- Returns:
- glossaries
-
getCategoryHomeGlossary
@GetMapping(path="/categories/{categoryGUID}/home-glossary") public GlossaryViewEntityDetailResponse getCategoryHomeGlossary(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("categoryGUID") @NotBlank @NotBlank String categoryGUID) Deprecated.Extract a category's home glossary- Parameters:
serverName
- instance to calluserId
- calling usercategoryGUID
- category GUID- Returns:
- glossaries
-
getExternalGlossaryLinks
@GetMapping(path="/glossaries/{glossaryGUID}/external-glossary-links") public GlossaryViewEntityDetailResponse getExternalGlossaryLinks(@PathVariable("serverName") String serverName, @PathVariable("userId") String userId, @PathVariable("glossaryGUID") @NotBlank @NotBlank String glossaryGUID, @RequestParam(name="from",defaultValue="0") @PositiveOrZero @PositiveOrZero Integer from, @RequestParam(name="size",defaultValue="100") @PositiveOrZero @Max(1000L) @PositiveOrZero @Max(1000L) Integer size) Deprecated.Extract the external glossary link definitions- Parameters:
serverName
- instance to calluserId
- calling userglossaryGUID
- glossary GUIDfrom
- fromsize
- size- Returns:
- external glossary links
-