public class RestValidator extends Object
| Constructor and Description |
|---|
RestValidator() |
| Modifier and Type | Method and Description |
|---|---|
static SubjectAreaOMASAPIResponse |
validateCategorySummaryDuringCreation(String methodName,
CategorySummary suppliedCategory,
SubjectAreaCategoryRESTServices categoryRESTServices,
String userId)
This method validated for creation.
|
static SubjectAreaOMASAPIResponse |
validateGlossarySummaryDuringCreation(String methodName,
GlossarySummary suppliedGlossary,
SubjectAreaGlossaryRESTServices glossaryRESTServices,
String userId)
This method validated for creation.
|
static void |
validateOMASServerURLNotNull(String className,
String methodName,
String omasServerURL)
Throw an exception if a org.odpi.openmetadata.accessservices.subjectarea.server URL has not been supplied on the constructor.
|
public static void validateOMASServerURLNotNull(String className, String methodName, String omasServerURL) throws MetadataServerUncontactableException
className - - name of the class making the call.methodName - - name of the method making the call.omasServerURL - - omas server url.MetadataServerUncontactableExceptionpublic static SubjectAreaOMASAPIResponse validateGlossarySummaryDuringCreation(String methodName, GlossarySummary suppliedGlossary, SubjectAreaGlossaryRESTServices glossaryRESTServices, String userId)
methodName - suppliedGlossary - glossaryRESTServices - userId - public static SubjectAreaOMASAPIResponse validateCategorySummaryDuringCreation(String methodName, CategorySummary suppliedCategory, SubjectAreaCategoryRESTServices categoryRESTServices, String userId)
methodName - suppliedCategory - categoryRESTServices - userId - Copyright © 2018 ODPi. All rights reserved.