Class BaseGlossaryAuthorView
- java.lang.Object
-
- org.odpi.openmetadata.viewservices.glossaryauthor.services.BaseGlossaryAuthorView
-
- Direct Known Subclasses:
GlossaryAuthorViewCategoryRESTServices,GlossaryAuthorViewConfigRESTServices,GlossaryAuthorViewGlossaryRESTServices,GlossaryAuthorViewGraphRESTServices,GlossaryAuthorViewProjectRESTServices,GlossaryAuthorViewRelationshipRESTServices,GlossaryAuthorViewTermRESTServices
public abstract class BaseGlossaryAuthorView extends Object
An abstract base class providing common methods for glossary authoring services.
-
-
Field Summary
Fields Modifier and Type Field Description protected static GlossaryAuthorViewInstanceHandlerinstanceHandlerprotected static InvalidParameterHandlerinvalidParameterHandlerprotected static RESTCallLoggerrestCallLogger
-
Constructor Summary
Constructors Constructor Description BaseGlossaryAuthorView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FindRequestgetFindRequest(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 Detail
-
invalidParameterHandler
protected static final InvalidParameterHandler invalidParameterHandler
-
instanceHandler
protected static GlossaryAuthorViewInstanceHandler instanceHandler
-
restCallLogger
protected static RESTCallLogger restCallLogger
-
-
Method Detail
-
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.
-
-