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
genericHandler, invalidParameterHandler, mappersFactory, maxPageSize
-
-
Constructor Summary
Constructors Constructor Description SubjectAreaConfigHandler(OpenMetadataAPIGenericHandler genericHandler, 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
convertOmrsToOmas, findNodes, getAllRelationshipForEntity, getAllRelationshipsForEntity, getMaxPageSize, getNodesFromEntityDetails, getRelationshipsForEntityByType, getRelationshipsFromRelationships, sanitiseFindRequest, sanitiseFindRequest, setNodeEffectivity, setRelationshipEffectivity, setUniqueQualifiedNameIfBlank, validateGlossarySummaryDuringCreation
-
-
-
-
Constructor Detail
-
SubjectAreaConfigHandler
public SubjectAreaConfigHandler(OpenMetadataAPIGenericHandler genericHandler, int maxPageSize)
Construct the Subject Area Config Handler needed to operate within a single server instance.- Parameters:
genericHandler- generic handlermaxPageSize- 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
-
-