Class BaseGlossaryAuthorView
java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.services.BaseGlossaryAuthorView
- Direct Known Subclasses:
GlossaryAuthorViewCategoryRESTServices
,GlossaryAuthorViewConfigRESTServices
,GlossaryAuthorViewGlossaryRESTServices
,GlossaryAuthorViewGraphRESTServices
,GlossaryAuthorViewProjectRESTServices
,GlossaryAuthorViewRelationshipRESTServices
,GlossaryAuthorViewTermRESTServices
An abstract base class providing common methods for glossary authoring services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static GlossaryAuthorViewInstanceHandler
protected static final InvalidParameterHandler
protected static RESTCallLogger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FindRequest
getFindRequest
(String searchCriteria, Date asOfTime, Integer startingFrom, Integer pageSize, String sequencingOrderName, String sequencingProperty, Integer handlerMaxPageSize) protected <T> SubjectAreaOMASAPIResponse<T>
getResponseForException
(Exception exception, AuditLog auditLog, String className, String methodName) Get the appropriate response from the supplied Exception
-
Field Details
-
invalidParameterHandler
-
instanceHandler
-
restCallLogger
-
-
Constructor Details
-
BaseGlossaryAuthorView
public BaseGlossaryAuthorView()
-
-
Method Details
-
getResponseForException
protected <T> SubjectAreaOMASAPIResponse<T> getResponseForException(Exception exception, AuditLog auditLog, String className, String methodName) Get the appropriate response from the supplied Exception- Parameters:
exception
- - supplied exceptionauditLog
- - auditlog (may be null if unable to initialize)className
- - calling class's NamemethodName
- - calling method's name- Returns:
- response corresponding to the exception.
-
getFindRequest
-