public class GlossaryViewClient extends FFDCRESTClient
serverName, serverPlatformURLRoot| Constructor and Description |
|---|
GlossaryViewClient(String serverName,
String serverPlatformRootURL)
Create a new client
|
GlossaryViewClient(String serverName,
String serverPlatformRootURL,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
List<Glossary> |
getAllGlossaries(String userId,
Integer from,
Integer size)
Extract all glossary definitions
|
List<GlossaryTerm> |
getAntonyms(String userId,
String termGUID,
Integer from,
Integer size)
Extract antonyms
|
List<GlossaryTerm> |
getAssignedElements(String userId,
String termGUID,
Integer from,
Integer size)
Extract assigned elements
|
List<GlossaryTerm> |
getAttributes(String userId,
String termGUID,
Integer from,
Integer size)
Extract attributes
|
List<GlossaryCategory> |
getCategories(String userId,
String glossaryGUID,
Integer from,
Integer size)
Extract categories within a glossary
|
GlossaryCategory |
getCategory(String userId,
String categoryGUID)
Extract a category definition
|
Glossary |
getCategoryHomeGlossary(String userId,
String categoryGUID)
Extract a category's home glossary
|
List<ExternalGlossaryLink> |
getExternalGlossaryLinksOfCategory(String userId,
String categoryGUID,
Integer from,
Integer size)
Extract a category's external glossary links
|
List<ExternalGlossaryLink> |
getExternalGlossaryLinksOfGlossary(String userId,
String glossaryGUID,
Integer from,
Integer size)
Extract a glossaries's external glossary links
|
List<ExternalGlossaryLink> |
getExternalGlossaryLinksOfTerm(String userId,
String termGUID,
Integer from,
Integer size)
Extract a term's external glossary links
|
Glossary |
getGlossary(String userId,
String glossaryGUID)
Extract a glossary definition
|
List<GlossaryTerm> |
getIsA(String userId,
String termGUID,
Integer from,
Integer size)
Extract "is-a" terms
|
protected GlossaryViewEntityDetailResponse |
getMultipleEntitiesPagedResponse(String methodName,
String path,
String serverName,
String userId,
Integer from,
Integer size) |
protected GlossaryViewEntityDetailResponse |
getMultipleRelatedEntitiesPagedResponse(String methodName,
String path,
String serverName,
String userId,
String entityGUID,
Integer from,
Integer size) |
List<GlossaryTerm> |
getPreferredTerms(String userId,
String termGUID,
Integer from,
Integer size)
Extract preferred terms
|
List<GlossaryTerm> |
getRelatedTerms(String userId,
String termGUID,
Integer from,
Integer size)
Extract related terms
|
List<GlossaryTerm> |
getReplacementTerms(String userId,
String termGUID,
Integer from,
Integer size)
Extract replacement terms
|
protected GlossaryViewEntityDetailResponse |
getSingleEntityResponse(String methodName,
String path,
String serverName,
String userId,
String entityGUID) |
List<GlossaryCategory> |
getSubcategories(String userId,
String categoryGUID,
Integer from,
Integer size)
Extract subcategories of a category
|
List<GlossaryTerm> |
getSubtypes(String userId,
String termGUID,
Integer from,
Integer size)
Extract subtypes
|
List<GlossaryTerm> |
getSynonyms(String userId,
String termGUID,
Integer from,
Integer size)
Extract synonyms
|
GlossaryTerm |
getTerm(String userId,
String termGUID)
Extract a term definition
|
Glossary |
getTermHomeGlossary(String userId,
String termGUID)
Extract a term's home glossary
|
List<GlossaryTerm> |
getTermsOfCategory(String userId,
String categoryGUID,
Integer from,
Integer size)
Extract terms within a category
|
List<GlossaryTerm> |
getTermsOfGlossary(String userId,
String glossaryGUID,
Integer from,
Integer size)
Extract terms within a glossary
|
List<GlossaryTerm> |
getTranslations(String userId,
String termGUID,
Integer from,
Integer size)
Extract translations
|
List<GlossaryTerm> |
getTypes(String userId,
String termGUID,
Integer from,
Integer size)
Extract types
|
List<GlossaryTerm> |
getUsedInContexts(String userId,
String termGUID,
Integer from,
Integer size)
Extract "used-in-contexts" terms
|
List<GlossaryTerm> |
getValidValues(String userId,
String termGUID,
Integer from,
Integer size)
Extract valid values
|
callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callVoidPostRESTCallcallGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCallNoParamspublic GlossaryViewClient(String serverName, String serverPlatformRootURL) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversInvalidParameterException - null URL or server nameInvalidParameterExceptionpublic GlossaryViewClient(String serverName, String serverPlatformRootURL, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - null URL or server nameInvalidParameterExceptionpublic List<Glossary> getAllGlossaries(String userId, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling userfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic Glossary getGlossary(String userId, String glossaryGUID) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling userglossaryGUID - glossary GUIDPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic Glossary getTermHomeGlossary(String userId, String termGUID) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic Glossary getCategoryHomeGlossary(String userId, String categoryGUID) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usercategoryGUID - category GUIDPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<ExternalGlossaryLink> getExternalGlossaryLinksOfGlossary(String userId, String glossaryGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling userglossaryGUID - glossary GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic GlossaryCategory getCategory(String userId, String categoryGUID) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usercategoryGUID - category GUIDPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryCategory> getCategories(String userId, String glossaryGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling userglossaryGUID - glossary GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryCategory> getSubcategories(String userId, String categoryGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usercategoryGUID - category GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<ExternalGlossaryLink> getExternalGlossaryLinksOfCategory(String userId, String categoryGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usercategoryGUID - category GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic GlossaryTerm getTerm(String userId, String termGUID) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getTermsOfGlossary(String userId, String glossaryGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling userglossaryGUID - glossary GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getTermsOfCategory(String userId, String categoryGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usercategoryGUID - category GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<ExternalGlossaryLink> getExternalGlossaryLinksOfTerm(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getRelatedTerms(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getSynonyms(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getAntonyms(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getPreferredTerms(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getReplacementTerms(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getTranslations(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getIsA(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getValidValues(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getUsedInContexts(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getAssignedElements(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getAttributes(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getSubtypes(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendpublic List<GlossaryTerm> getTypes(String userId, String termGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
userId - calling usertermGUID - term GUIDfrom - starting indexsize - max number of returned entitiesPropertyServerException - if a problem occurs while serving the requestInvalidParameterException - if parameter validation failsGlossaryViewOmasException - if a problem occurs on the omas backendprotected GlossaryViewEntityDetailResponse getSingleEntityResponse(String methodName, String path, String serverName, String userId, String entityGUID) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
protected GlossaryViewEntityDetailResponse getMultipleRelatedEntitiesPagedResponse(String methodName, String path, String serverName, String userId, String entityGUID, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
protected GlossaryViewEntityDetailResponse getMultipleEntitiesPagedResponse(String methodName, String path, String serverName, String userId, Integer from, Integer size) throws PropertyServerException, InvalidParameterException, GlossaryViewOmasException
Copyright © 2018–2019 ODPi. All rights reserved.