public class SubjectAreaHandler<B> extends OpenMetadataAPIGenericHandler<B>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
SubjectAreaHandler(OpenMetadataAPIGenericConverter<B> converter,
Class<B> beanClass,
String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper,
String localServerUserId,
OpenMetadataServerSecurityVerifier securityVerifier,
List<String> supportedZones,
List<String> defaultZones,
List<String> publishZones,
AuditLog auditLog)
Construct the subject area handler with information needed to work with B objects.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createSubjectArea(String userId,
String externalSourceGUID,
String externalSourceName,
String qualifiedName,
String displayName,
String description,
String usage,
String scope,
int domainIdentifier,
Map<String,String> additionalProperties,
String suppliedTypeName,
Map<String,Object> extendedProperties,
String methodName)
Create a definition of a subject area.
|
B |
getSubjectArea(String userId,
String qualifiedName,
String qualifiedNameParameter,
String methodName)
Return information about a specific subject area.
|
List<String> |
getSubjectAreaChildrenGUIDs(String userId,
String subjectAreaGUID,
String subjectAreaGUIDParameter,
String methodName)
Return information about a specific subject area's child (nested) subjectAreas.
|
String |
getSubjectAreaParentGUID(String userId,
String subjectAreaGUID,
String subjectAreaGUIDParameter,
String methodName)
Return information about a specific subject area's parent.
|
List<B> |
getSubjectAreas(String userId,
int startFrom,
int pageSize,
String methodName)
Return information about the defined subject areas.
|
List<B> |
getSubjectAreasByDomain(String userId,
int domainIdentifier,
int startFrom,
int pageSize,
String methodName)
Return information about the defined subject areas for a specific domain.
|
void |
updateSubjectArea(String userId,
String externalSourceGUID,
String externalSourceName,
String subjectAreaGUID,
String subjectAreaGUIDParameterName,
String qualifiedName,
String displayName,
String description,
String criteria,
String scope,
int domainIdentifier,
Map<String,String> additionalProperties,
String suppliedTypeName,
Map<String,Object> extendedProperties,
boolean isMergeUpdate,
String methodName)
Create a definition of a subject area.
|
archiveBeanInRepository, archiveBeanInRepository, countAttachments, createBeanFromTemplate, createBeanInRepository, deleteBeanInRepository, deleteBeanInRepository, findAttachmentLinks, findBeanGUIDs, findBeans, findBeans, findBeans, findBeans, findEntities, getAllAttachmentLinks, getAnchorsForAttachedElements, getAttachedElement, getAttachedElement, getAttachedElementGUID, getAttachedElementGUID, getAttachedElementGUIDs, getAttachedElementGUIDs, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedElements, getAttachedEntities, getAttachedEntities, getAttachedEntities, getAttachedEntity, getAttachedEntity, getAttachmentLinks, getAttachmentLinks, getAttachmentLinks, getBeanByUniqueName, getBeanByUniqueName, getBeanByValue, getBeanFromEntity, getBeanFromRepository, getBeanFromRepository, getBeanGUIDByUniqueName, getBeanGUIDByUniqueName, getBeanGUIDsByClassification, getBeanGUIDsByType, getBeanGUIDsByType, getBeanGUIDsByValue, getBeansByClassification, getBeansByCreator, getBeansByIntValue, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByIntValue, getEntitiesByType, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntitiesByValue, getEntityByValue, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityFromRepository, getEntityGUIDByValue, getEntityGUIDsByValue, getRepositoryHelper, getServiceName, getUniqueAttachmentLink, getUniqueAttachmentLink, linkElementToElement, linkElementToElement, maintainSupplementaryProperties, relinkElementToNewElement, relinkElementToNewElement, removeClassificationFromRepository, setClassificationInRepository, setClassificationInRepository, setSecurityVerifier, unlinkAllElements, unlinkAllElements, unlinkConnectedElement, unlinkConnectedElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, unlinkElementFromElement, updateBeanEffectivityDates, updateBeanInRepository, updateBeanInRepository, updateBeanPropertyInRepository, updateBeanStatusInRepository, updateBeanStatusInRepository, updateClassificationEffectivityDates, updateElementToElementLink, updateElementToElementLink, updateRelationshipEffectivityDates, updateRelationshipProperties, validateAnchorEntity, validateAnchorEntity, verifyExternalSourceIdentitypublic SubjectAreaHandler(OpenMetadataAPIGenericConverter<B> converter, Class<B> beanClass, String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper, String localServerUserId, OpenMetadataServerSecurityVerifier securityVerifier, List<String> supportedZones, List<String> defaultZones, List<String> publishZones, AuditLog auditLog)
converter - specific converter for this bean classbeanClass - name of bean class that is represented by the generic class BserviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectslocalServerUserId - userId for this serversecurityVerifier - open metadata security services verifiersupportedZones - list of subjectAreas that the access service is allowed to serve B instances from.defaultZones - list of subjectAreas that the access service should set in all new B instances.publishZones - list of subjectAreas that the access service sets up in published B instances.auditLog - destination for audit log events.public String createSubjectArea(String userId, String externalSourceGUID, String externalSourceName, String qualifiedName, String displayName, String description, String usage, String scope, int domainIdentifier, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcequalifiedName - unique name for the subjectArea - used in other configurationdisplayName - short display name for the subjectAreadescription - description of the subject areausage - the usage for inclusion in a subject areascope - scope of the organization that this some applies todomainIdentifier - the identifier of the governance domain where the subjectArea is managedadditionalProperties - additional properties for a subject areasuppliedTypeName - name of sub type - or null for SubjectAreaDefinitionextendedProperties - properties for a subject area subtypemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic void updateSubjectArea(String userId, String externalSourceGUID, String externalSourceName, String subjectAreaGUID, String subjectAreaGUIDParameterName, String qualifiedName, String displayName, String description, String criteria, String scope, int domainIdentifier, Map<String,String> additionalProperties, String suppliedTypeName, Map<String,Object> extendedProperties, boolean isMergeUpdate, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userexternalSourceGUID - guid of the software server capability entity that represented the external source - null for localexternalSourceName - name of the software server capability entity that represented the external sourcesubjectAreaGUID - unique identifier of subject areasubjectAreaGUIDParameterName - parameter name for subjectAreaGUIDqualifiedName - unique name for the subjectArea - used in other configurationdisplayName - short display name for the subjectAreadescription - description of the subject areacriteria - the criteria for inclusion in a subject areascope - scope of the organization that this some applies todomainIdentifier - the identifier of the governance domain where the subjectArea is managedadditionalProperties - additional properties for a subject areasuppliedTypeName - subtype nameextendedProperties - properties for a subject area subtypeisMergeUpdate - should the supplied properties be merged with the existing one or replace themmethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic B getSubjectArea(String userId, String qualifiedName, String qualifiedNameParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userqualifiedName - unique name for the subjectAreaqualifiedNameParameter - name of parameter supplying the qualifiedNamemethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic String getSubjectAreaParentGUID(String userId, String subjectAreaGUID, String subjectAreaGUIDParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersubjectAreaGUID - unique identifier for the subjectAreasubjectAreaGUIDParameter - name of parameter supplying the subjectAreaGUIDmethodName - calling methodInvalidParameterException - subjectAreaGUID or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<String> getSubjectAreaChildrenGUIDs(String userId, String subjectAreaGUID, String subjectAreaGUIDParameter, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling usersubjectAreaGUID - unique identifier for the subjectAreasubjectAreaGUIDParameter - name of parameter supplying the subjectAreaGUIDmethodName - calling methodInvalidParameterException - subjectAreaGUID or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<B> getSubjectAreas(String userId, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userstartFrom - position in the list (used when there are so many reports that paging is neededpageSize - maximum number of elements to return an this callmethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problempublic List<B> getSubjectAreasByDomain(String userId, int domainIdentifier, int startFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userdomainIdentifier - identifier of domain - 0 is for all domainsstartFrom - position in the list (used when there are so many reports that paging is neededpageSize - maximum number of elements to return an this callmethodName - calling methodInvalidParameterException - qualifiedName or userId is nullPropertyServerException - problem accessing property serverUserNotAuthorizedException - security access problemCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.