Class GlossaryAuthorViewRestClient
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
org.odpi.openmetadata.viewservices.glossaryauthor.fvt.client.GlossaryAuthorViewRestClient
public class GlossaryAuthorViewRestClient
extends org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
-
Constructor Summary
ConstructorsConstructorDescriptionGlossaryAuthorViewRestClient(String serverName, String serverPlatformURLRoot) -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.subjectarea.utils.QueryBuildercreateFindQuery(String methodName, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) Method for constructing a query (https://en.wikipedia.org/wiki/Query_string) using the information described in the findRequest page size and startingFrom need to set by the caller.org.odpi.openmetadata.accessservices.subjectarea.utils.QueryBuildercreateFindQuery(String methodName, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase) org.odpi.openmetadata.accessservices.subjectarea.utils.QueryBuildercreateFindQuery(String methodName, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, org.odpi.openmetadata.accessservices.subjectarea.utils.QueryParams queryParams) Method for constructing a query (https://en.wikipedia.org/wiki/Query_string) using the information described in the findRequest page size and startingFrom need to set by the caller.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>delRESTCall(String userId, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, String methodName, String urnTemplate, String guid) Issue a DEL REST call that returns a response object.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>findRESTCall(String userId, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase, Integer maximumPageSizeOnRestCall) Issue a GET REST call that does a find and returns results in a Generic Response.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>findRESTCallById(String userId, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase, Integer maximumPageSizeOnRestCall, String guid) Issue a GET REST call that does a find and returns results in a Generic Response.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>getByGUIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate) Issue a GET REST call that returns a response object by guid.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>getByIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate) Issue a GET REST call that returns a response object by guid.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>getByIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, Integer maximumPageSizeOnRestCall, Map<String, String> params) Issue a GET REST call that returns a response object by guid.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>getByIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, Integer maximumPageSizeOnRestCall, org.odpi.openmetadata.accessservices.subjectarea.utils.QueryParams queryParams) Issue a GET REST call that returns a response object by guid.org.odpi.openmetadata.adminservices.rest.OMAGServerConfigResponsegetConfigRESTCall(String userId, String guid, String methodName, Class<org.odpi.openmetadata.adminservices.rest.OMAGServerConfigResponse> type, String urnTemplate) Issue a GET REST call that returns a Config object by guid.org.odpi.openmetadata.adminservices.rest.ViewServicesResponsegetViewConfigRESTCall(String userId, String methodName, Class<org.odpi.openmetadata.adminservices.rest.ViewServicesResponse> type, String urnTemplate) Issue a GET REST call that returns a View Config object by guid.org.odpi.openmetadata.adminservices.rest.ViewServiceConfigResponsegetViewServiceConfigRESTCall(String userId, String guid, String methodName, Class<org.odpi.openmetadata.adminservices.rest.ViewServiceConfigResponse> type, String urnTemplate) Issue a GET REST call that returns a View Config object by guid.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>postRESTCall(String userId, String methodName, String urlTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String guid) Issue a POST REST call that returns a response object.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>postRESTCall(String userId, String create, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, T t) Issue a POST REST call that returns a response object.org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>>postRESTCallArr(String userId, String methodName, String urlTemplate, String guid, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>>> type, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term[] termArray) Issue a POST REST call that returns a response array.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>putRESTCall(String userId, String guid, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category category, Object... params) Issue a PUT REST call that returns a response object.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>putRESTCall(String userId, String guid, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.glossary.Glossary glossary, Object... params) Issue a PUT REST call that returns a response object.<T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>putRESTCall(String userId, String guid, String methodName, String urlTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, T t) Issue a PUT REST call that returns a response object.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClient
callBooleanGetRESTCall, callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callOCFConnectorReportGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCRESTClientBase
callPostRESTCallNoParams
-
Constructor Details
-
Method Details
-
getByIdRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> getByIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that returns a response object by guid.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.type- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()urnTemplate- template of the URN for the REST API call with place-holders for the parameters.- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getByGUIdRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> getByGUIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that returns a response object by guid.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the received objectmethodName- name of the method being called.type- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()urnTemplate- template of the URN for the REST API call with place-holders for the parameters.- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
postRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> postRESTCall(String userId, String methodName, String urlTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a POST REST call that returns a response object.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedmethodName- name of the method being called.urlTemplate- template of the URN for the REST API call with place-holders for the parameters.type- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()guid- unique identifier of the object- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
postRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> postRESTCall(String userId, String create, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, T t) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a POST REST call that returns a response object. The object to be created is passed.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedcreate- name of the action/method been called.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.parameterizedType- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()t- object to be creates- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
postRESTCallArr
public org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>> postRESTCallArr(String userId, String methodName, String urlTemplate, String guid, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.responses.SubjectAreaOMASAPIResponse<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>>> type, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term[] termArray) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a POST REST call that returns a response array. The array of objects to be created is passed.- Parameters:
userId- unique identifier for requesting user, under which the request is performedmethodName- name of the method being called.urlTemplate- template of the URN for the REST API call with place-holders for the parameters.guid- unique identifier of the glossary objecttype- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()termArray- Array of terms to be creates- Returns:
- Array of type SubjectAreaOMASAPIResponse
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
putRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> putRESTCall(String userId, String guid, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.glossary.Glossary glossary, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a PUT REST call that returns a response object. The object to be updated is passed.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.parameterizedType- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()glossary- Glossary to be createsparams- additional parameters to be passed- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
putRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> putRESTCall(String userId, String guid, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category category, Object... params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a PUT REST call that returns a response object. The object to be updated is passed.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.parameterizedType- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()category- Category to be createsparams- additional parameters to be passed- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
putRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> putRESTCall(String userId, String guid, String methodName, String urlTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, T t) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a PUT REST call that returns a response object. The object to be updated is passed.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.urlTemplate- template of the URN for the REST API call with place-holders for the parameters.parameterizedType- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()t- type of object to be creates- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
delRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> delRESTCall(String userId, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> parameterizedType, String methodName, String urnTemplate, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Issue a DEL REST call that returns a response object.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedparameterizedType- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()methodName- name of the method being called.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.guid- unique identifier of the object- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
createFindQuery
public org.odpi.openmetadata.accessservices.subjectarea.utils.QueryBuilder createFindQuery(String methodName, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Method for constructing a query (https://en.wikipedia.org/wiki/Query_string) using the information described in the findRequest page size and startingFrom need to set by the caller.- Parameters:
methodName- name of the method being called.findRequest-FindRequest- Returns:
- query
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
createFindQuery
public org.odpi.openmetadata.accessservices.subjectarea.utils.QueryBuilder createFindQuery(String methodName, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
-
createFindQuery
public org.odpi.openmetadata.accessservices.subjectarea.utils.QueryBuilder createFindQuery(String methodName, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, org.odpi.openmetadata.accessservices.subjectarea.utils.QueryParams queryParams) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Method for constructing a query (https://en.wikipedia.org/wiki/Query_string) using the information described in the findRequest page size and startingFrom need to set by the caller.- Parameters:
methodName- name of the method being called.findRequest-FindRequestqueryParams- query parameters- Returns:
- query
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
findRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> findRESTCall(String userId, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase, Integer maximumPageSizeOnRestCall) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that does a find and returns results in a Generic Response.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedmethodName- name of the method being called.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.type- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()findRequest-FindRequestexactValue- boolean to determine search parameters should return exact valuesignoreCase- boolean to determine search parameters should ignore case for teh search criterismaximumPageSizeOnRestCall- Page size for results- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
findRESTCallById
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> findRESTCallById(String userId, String methodName, String urnTemplate, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase, Integer maximumPageSizeOnRestCall, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that does a find and returns results in a Generic Response.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedmethodName- name of the method being called.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.type- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()findRequest-FindRequestexactValue- boolean to determine search parameters should return exact valuesignoreCase- boolean to determine search parameters should ignore case for teh search criterismaximumPageSizeOnRestCall- Page size for resultsguid- Object guid- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getByIdRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> getByIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, Integer maximumPageSizeOnRestCall, Map<String, String> params) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionIssue a GET REST call that returns a response object by guid.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.type- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()urnTemplate- template of the URN for the REST API call with place-holders for the parameters.findRequest-FindRequestmaximumPageSizeOnRestCall- maximum page size that can be used on rest calls, null and 0 mean no limit set.params- additional parameters to be passed- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getByIdRESTCall
public <T> org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T> getByIdRESTCall(String userId, String guid, String methodName, org.springframework.core.ParameterizedTypeReference<org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse<T>> type, String urnTemplate, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, Integer maximumPageSizeOnRestCall, org.odpi.openmetadata.accessservices.subjectarea.utils.QueryParams queryParams) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that returns a response object by guid.- Type Parameters:
T- return type for results inGenericResponse- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.type- class of the response for generic object. Descried usingParameterizedTypeReferenceAn example can be seen hereResponseParameterization.getParameterizedType()urnTemplate- template of the URN for the REST API call with place-holders for the parameters.findRequest-FindRequestmaximumPageSizeOnRestCall- maximum page size that can be used on rest calls, null and 0 mean no limit set.queryParams- additional parameters to be passed- Returns:
- GenericResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getConfigRESTCall
public org.odpi.openmetadata.adminservices.rest.OMAGServerConfigResponse getConfigRESTCall(String userId, String guid, String methodName, Class<org.odpi.openmetadata.adminservices.rest.OMAGServerConfigResponse> type, String urnTemplate) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that returns a Config object by guid.- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.type- class of the response for generic object.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.- Returns:
- OMAGServerConfigResponse with T result
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getViewServiceConfigRESTCall
public org.odpi.openmetadata.adminservices.rest.ViewServiceConfigResponse getViewServiceConfigRESTCall(String userId, String guid, String methodName, Class<org.odpi.openmetadata.adminservices.rest.ViewServiceConfigResponse> type, String urnTemplate) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that returns a View Config object by guid.- Parameters:
userId- unique identifier for requesting user, under which the request is performedguid- unique identifier of the objectmethodName- name of the method being called.type- class of the response for generic object.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.- Returns:
- ViewServiceConfigResponse object
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getViewConfigRESTCall
public org.odpi.openmetadata.adminservices.rest.ViewServicesResponse getViewConfigRESTCall(String userId, String methodName, Class<org.odpi.openmetadata.adminservices.rest.ViewServicesResponse> type, String urnTemplate) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Issue a GET REST call that returns a View Config object by guid.- Parameters:
userId- unique identifier for requesting user, under which the request is performedmethodName- name of the method being called.type- class of the response for generic object.urnTemplate- template of the URN for the REST API call with place-holders for the parameters.- Returns:
- ViewServicesResponse
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-