Class CategoryService
java.lang.Object
org.odpi.openmetadata.accessservices.glossaryview.server.service.OMRSClient
org.odpi.openmetadata.accessservices.glossaryview.server.service.GlossaryViewOMAS
org.odpi.openmetadata.accessservices.glossaryview.server.service.CategoryService
Server-side implementation of the Glossary View Open Metadata Access Service (OMAS).
Deals in extracting categories
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.glossaryview.server.service.OMRSClient
instanceHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllCategories
(String userId, String serverName, Integer from, Integer size) Extract all categories definitionsgetCategoriesViaCategoryAnchorRelationships
(String userId, String serverName, String glossaryGUID, Integer from, Integer size) Extract category definitions for the given glossary GUID via the 'CategoryAnchor' type relationshipsgetCategory
(String userId, String serverName, String categoryGUID) Extract the category definition for the given GUIDgetExternalGlossaryLinks
(String userId, String serverName, String categoryGUID, Integer from, Integer size) Extract external glossary definitions for the given categoryExtract subcategory definitions for the given categoryMethods inherited from class org.odpi.openmetadata.accessservices.glossaryview.server.service.GlossaryViewOMAS
getAllEntityDetailsResponse, getEntityDetailResponse, getRelatedEntitiesResponse, getSubEntitiesResponse
Methods inherited from class org.odpi.openmetadata.accessservices.glossaryview.server.service.OMRSClient
getAllEntityDetails, getEntityDetail, getRelatedEntities, getSubEntities
-
Constructor Details
-
CategoryService
public CategoryService()
-
-
Method Details
-
getCategory
public GlossaryViewEntityDetailResponse getCategory(String userId, String serverName, String categoryGUID) Extract the category definition for the given GUID- Parameters:
userId
- calling userserverName
- instance to callcategoryGUID
- category GUID- Returns:
- EntityDetailResponse category
-
getCategoriesViaCategoryAnchorRelationships
public GlossaryViewEntityDetailResponse getCategoriesViaCategoryAnchorRelationships(String userId, String serverName, String glossaryGUID, Integer from, Integer size) Extract category definitions for the given glossary GUID via the 'CategoryAnchor' type relationships- Parameters:
userId
- calling userserverName
- instance to callglossaryGUID
- glossary GUIDfrom
- offset start for the return valuessize
- maximum number of results- Returns:
- EntityDetailResponse all external glossaries
-
getSubcategories
public GlossaryViewEntityDetailResponse getSubcategories(String userId, String serverName, String categoryGUID, Integer from, Integer size) Extract subcategory definitions for the given category- Parameters:
userId
- calling userserverName
- instance to callcategoryGUID
- category GUIDfrom
- offset start for the return valuessize
- maximum number of results- Returns:
- EntityDetailResponse subcategories
-
getExternalGlossaryLinks
public GlossaryViewEntityDetailResponse getExternalGlossaryLinks(String userId, String serverName, String categoryGUID, Integer from, Integer size) Extract external glossary definitions for the given category- Parameters:
userId
- calling userserverName
- instance to callcategoryGUID
- glossary GUIDfrom
- offset start for the return valuessize
- maximum number of results- Returns:
- EntityDetailResponse all external glossaries
-
getAllCategories
public GlossaryViewEntityDetailResponse getAllCategories(String userId, String serverName, Integer from, Integer size) Extract all categories definitions- Parameters:
userId
- calling userserverName
- instance to callfrom
- offset start for the return valuessize
- maximum number of results- Returns:
- EntityDetailResponse all glossaries
-