Class SubjectAreaConfigHandler
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.handlers.SubjectAreaHandler
-
- org.odpi.openmetadata.accessservices.subjectarea.handlers.SubjectAreaConfigHandler
-
public class SubjectAreaConfigHandler extends SubjectAreaHandler
SubjectAreaTermHandler manages config objects from the property server. It runs server-side in the subject Area OMAS and retrieves configuration information.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.handlers.SubjectAreaHandler
CATEGORY_ANCHOR_RELATIONSHIP_NAME, CATEGORY_HIERARCHY_LINK_RELATIONSHIP_NAME, CATEGORY_TYPE_NAME, GLOSSARY_TYPE_NAME, invalidParameterHandler, mappersFactory, maxPageSize, oMRSAPIHelper, PROJECT_SCOPE_RELATIONSHIP_NAME, PROJECT_TYPE_NAME, TERM_ANCHOR_RELATIONSHIP_NAME, TERM_CATEGORIZATION_RELATIONSHIP_NAME, TERM_TYPE_NAME
-
-
Constructor Summary
Constructors Constructor Description SubjectAreaConfigHandler(OMRSAPIHelper oMRSAPIHelper, int maxPageSize)Construct the Subject Area Config Handler needed to operate within a single server instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubjectAreaOMASAPIResponse<Config>getConfig(String userId)Get the subject area configuration.-
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.handlers.SubjectAreaHandler
categoryMatchSearchCriteria, checkReadOnly, checkRelationshipReadOnly, convertOmrsToOmas, findNodes, getAllRelationshipForEntity, getAllRelationshipsForEntity, getMaxPageSize, getNodesFromEntityDetails, getRelatedNodesForEnd1, getRelatedNodesForEnd2, getRelationshipsFromRelationships, sanitiseFindRequest, sanitiseFindRequest, setUniqueQualifiedNameIfBlank, termMatchSearchCriteria, validateGlossarySummaryDuringCreation
-
-
-
-
Constructor Detail
-
SubjectAreaConfigHandler
public SubjectAreaConfigHandler(OMRSAPIHelper oMRSAPIHelper, int maxPageSize)
Construct the Subject Area Config Handler needed to operate within a single server instance.- Parameters:
oMRSAPIHelper- omrs API helpermaxPageSize- maximum page size
-
-
Method Detail
-
getConfig
public SubjectAreaOMASAPIResponse<Config> getConfig(String userId)
Get the subject area configuration.- Parameters:
userId- user id of the caller- Returns:
- config response
-
-