EXTERNAL_ID - bean that returns an external identifierOPEN_METADATA_ELEMENT_HEADER - bean that returns the elements tied to this external identifierpublic class ExternalIdentifierHandler<EXTERNAL_ID,OPEN_METADATA_ELEMENT_HEADER> extends ReferenceableHandler<EXTERNAL_ID>
auditLog, beanClass, converter, defaultZones, errorHandler, invalidParameterHandler, localServerUserId, publishZones, repositoryHandler, repositoryHelper, securityVerifier, serverName, serviceName, supportedZones| Constructor and Description |
|---|
ExternalIdentifierHandler(OpenMetadataAPIGenericConverter<EXTERNAL_ID> converter,
Class<EXTERNAL_ID> beanClass,
OpenMetadataAPIGenericConverter<OPEN_METADATA_ELEMENT_HEADER> elementConverter,
Class<OPEN_METADATA_ELEMENT_HEADER> elementBeanClass,
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 handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
EntityDetail |
confirmSynchronization(String userId,
String elementGUID,
String elementGUIDParameterName,
String elementTypeName,
String identifier,
String identifierParameterName,
String scopeGUID,
String scopeGUIDParameterName,
String scopeQualifiedName,
String scopeTypeName,
String methodName)
Confirm that the values of a particular metadata element have been synchronized.
|
int |
countExternalIdentifiers(String userId,
String elementGUID,
String methodName)
Count the number of external identifiers attached to an anchor entity.
|
List<EntityDetail> |
getElementEntitiesForScope(String userId,
String scopeGUID,
String scopeParameterName,
String scopeTypeName,
String requestedTypeName,
int startingFrom,
int pageSize,
String methodName)
Return the list of entities for open metadata elements of an open metadata type that are associated with an
external identifier in a particular scope.
|
List<OPEN_METADATA_ELEMENT_HEADER> |
getElementsForExternalIdentifier(String userId,
String scopeGUID,
String scopeParameterName,
String scopeTypeName,
String scopeQualifiedName,
String externalIdentifier,
int startingFrom,
int pageSize,
String methodName)
Return the list of headers for open metadata elements that are associated with a particular
external identifier.
|
List<EXTERNAL_ID> |
getExternalIdentifiersForElement(String userId,
String elementGUID,
String elementGUIDParameterName,
String elementTypeName,
List<String> serviceSupportedZones,
int startingFrom,
int pageSize,
String methodName)
Return the external identifiers attached to a referenceable by the ExternalIdLink.
|
List<EXTERNAL_ID> |
getExternalIdentifiersForScope(String userId,
String elementGUID,
String elementGUIDParameterName,
String elementTypeName,
List<String> serviceSupportedZones,
String scopeGUID,
String scopeTypeName,
String scopeQualifiedName,
int startingFrom,
int pageSize,
String methodName)
Return the external identifiers attached to a referenceable by the ExternalIdLink.
|
List<EXTERNAL_ID> |
getExternalIdentifiersForScope(String userId,
String elementGUID,
String elementGUIDParameterName,
String elementTypeName,
String scopeGUID,
String scopeTypeName,
String scopeQualifiedName,
int startingFrom,
int pageSize,
String methodName)
Return the external identifiers attached to a referenceable by the ExternalIdLink.
|
void |
logRelationshipCreation(String scopeGUID,
String scopeQualifiedName,
String relationshipType,
String end1GUID,
String end1TypeName,
String end2GUID,
String end2TypeName,
String methodName)
Create an audit log record to document that an external metadata source has created a relationship.
|
void |
logRelationshipRemoval(String scopeGUID,
String scopeQualifiedName,
String relationshipType,
String end1GUID,
String end1TypeName,
String end2GUID,
String end2TypeName,
String methodName)
Create an audit log record to document that an external metadata source has created a relationship.
|
void |
removeExternalIdentifier(String userId,
String elementGUID,
String elementGUIDParameterName,
String elementTypeName,
String identifier,
String identifierParameterName,
int identifierKeyPattern,
String identifierDescription,
String identifierUsage,
String identifierSource,
Map<String,String> identifierMappingProperties,
String scopeGUID,
String scopeGUIDParameterName,
String scopeQualifiedName,
String scopeTypeName,
int permittedSynchronization,
String synchronizationDescription,
String methodName)
Remove the ExternalIdentifier for the supplied element.
|
void |
setUpExternalIdentifier(String userId,
String elementGUID,
String elementGUIDParameterName,
String elementTypeName,
String identifier,
String identifierParameterName,
int identifierKeyPattern,
String identifierDescription,
String identifierUsage,
String identifierSource,
Map<String,String> identifierMappingProperties,
String scopeGUID,
String scopeGUIDParameterName,
String scopeQualifiedName,
String scopeTypeName,
int permittedSynchronization,
String synchronizationDescription,
String methodName)
Set up the ExternalIdentifier for the supplied element.
|
addSecurityTags, addTemplateClassification, findBeanGUIDsByQualifiedName, findBeanGUIDsByQualifiedName, findBeansByQualifiedName, findBeansByQualifiedName, getBeanByQualifiedName, getBeanByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDByQualifiedName, getBeanGUIDsByQualifiedName, getBeanGUIDsByQualifiedName, getBeansByQualifiedName, getBeansByQualifiedName, getMoreInformation, getMoreInformation, getVendorProperties, linkElementsAsDuplicates, removeSecurityTags, removeSemanticAssignment, removeTemplateClassification, saveSemanticAssignment, saveSemanticAssignment, unlinkElementsAsDuplicatesarchiveBeanInRepository, 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, getBeansByType, getBeansByType, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getBeansByValue, getEntitiesByType, 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 ExternalIdentifierHandler(OpenMetadataAPIGenericConverter<EXTERNAL_ID> converter, Class<EXTERNAL_ID> beanClass, OpenMetadataAPIGenericConverter<OPEN_METADATA_ELEMENT_HEADER> elementConverter, Class<OPEN_METADATA_ELEMENT_HEADER> elementBeanClass, 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 the EXTERNAL_ID bean classbeanClass - name of bean class that is represented by the generic class EXTERNAL_IDelementConverter - specific converter for the OPEN_METADATA_ELEMENT_HEADER bean classelementBeanClass - name of bean class that is represented by the generic class OPEN_METADATA_ELEMENT_HEADERserviceName - 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 zones that the access service is allowed to serve Asset instances from.defaultZones - list of zones that the access service should set in all new Asset instances.publishZones - list of zones that the access service sets up in published Asset instances.auditLog - destination for audit log events.public void setUpExternalIdentifier(String userId, String elementGUID, String elementGUIDParameterName, String elementTypeName, String identifier, String identifierParameterName, int identifierKeyPattern, String identifierDescription, String identifierUsage, String identifierSource, Map<String,String> identifierMappingProperties, String scopeGUID, String scopeGUIDParameterName, String scopeQualifiedName, String scopeTypeName, int permittedSynchronization, String synchronizationDescription, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdelementGUID - unique identifier of the open metadata element to link to the external identifierelementGUIDParameterName - parameter supplying elementGUIDelementTypeName - type of the elementidentifier - identifier from the third party technology (scope)identifierParameterName - name of parameter supplying identifieridentifierKeyPattern - type of key pattern used in the third party technology (typically local key)identifierDescription - name of the identifier in the third party technologyidentifierUsage - usage information from the connector/client supplying the identifieridentifierSource - name of the connector/client supplying the identifieridentifierMappingProperties - additional properties to help with the synchronizationscopeGUID - unique identifier of the software server capability that represents the third metadata sourcescopeGUIDParameterName - parameter supplying scopeGUIDscopeQualifiedName - qualified name from the entity thatscopeTypeName - specific type name of the software server capability that represents the third party metadata sourcepermittedSynchronization - direction of synchronizationsynchronizationDescription - optional description of the synchronization in progress (augments the description in the
permitted synchronization enum)methodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void logRelationshipCreation(String scopeGUID, String scopeQualifiedName, String relationshipType, String end1GUID, String end1TypeName, String end2GUID, String end2TypeName, String methodName)
scopeGUID - unique identifier of the element representing the scopescopeQualifiedName - unique name of the element representing the scoperelationshipType - type of relationshipend1GUID - unique identifier for the entity at end 1 of the relationshipend1TypeName - type of the entity at end 1 of the relationshipend2GUID - unique identifier for the entity at end 2 of the relationshipend2TypeName - type of the entity at end 2 of the relationshipmethodName - calling methodpublic void logRelationshipRemoval(String scopeGUID, String scopeQualifiedName, String relationshipType, String end1GUID, String end1TypeName, String end2GUID, String end2TypeName, String methodName)
scopeGUID - unique identifier of the element representing the scopescopeQualifiedName - unique name of the element representing the scoperelationshipType - type of relationshipend1GUID - unique identifier for the entity at end 1 of the relationshipend1TypeName - type of the entity at end 1 of the relationshipend2GUID - unique identifier for the entity at end 2 of the relationshipend2TypeName - type of the entity at end 2 of the relationshipmethodName - calling methodpublic void removeExternalIdentifier(String userId, String elementGUID, String elementGUIDParameterName, String elementTypeName, String identifier, String identifierParameterName, int identifierKeyPattern, String identifierDescription, String identifierUsage, String identifierSource, Map<String,String> identifierMappingProperties, String scopeGUID, String scopeGUIDParameterName, String scopeQualifiedName, String scopeTypeName, int permittedSynchronization, String synchronizationDescription, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userIdelementGUID - unique identifier of the open metadata element to link to the external identifierelementGUIDParameterName - parameter supplying elementGUIDelementTypeName - type of the elementidentifier - identifier from the third party technology (scope)identifierParameterName - name of parameter supplying identifieridentifierKeyPattern - type of key pattern used in the third party technology (typically local key)identifierDescription - name of the identifier in the third party technologyidentifierUsage - usage information from the connector/client supplying the identifieridentifierSource - name of the connector/client supplying the identifieridentifierMappingProperties - additional properties to help with the synchronizationscopeGUID - unique identifier of the software server capability that represents the third metadata sourcescopeGUIDParameterName - parameter supplying scopeGUIDscopeQualifiedName - qualified name from the entity thatscopeTypeName - specific type name of the software server capability that represents the third party metadata sourcepermittedSynchronization - direction of synchronizationsynchronizationDescription - optional description of the synchronization in progress (augments the description in the
permitted synchronization enum)methodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public EntityDetail confirmSynchronization(String userId, String elementGUID, String elementGUIDParameterName, String elementTypeName, String identifier, String identifierParameterName, String scopeGUID, String scopeGUIDParameterName, String scopeQualifiedName, String scopeTypeName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userelementGUID - unique identifier (GUID) of this element in open metadataelementGUIDParameterName - parameter supplying elementGUIDelementTypeName - type of element being mappedidentifier - unique identifier of this element in the external asset manageridentifierParameterName - parameter supplying identifierscopeGUID - unique identifier of software server capability representing the callerscopeGUIDParameterName - parameter name supplying scopeGUIDscopeQualifiedName - unique name of the scopescopeTypeName - specific type name of the software server capability that represents the third party metadata sourcemethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic int countExternalIdentifiers(String userId, String elementGUID, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userelementGUID - identifier for the entity that the object is attached tomethodName - calling methodInvalidParameterException - the parameters are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem detected in the repository servicespublic List<EXTERNAL_ID> getExternalIdentifiersForElement(String userId, String elementGUID, String elementGUIDParameterName, String elementTypeName, List<String> serviceSupportedZones, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userelementGUID - identifier for the entity that the identifier is attached toelementGUIDParameterName - name of parameter supplying the GUIDelementTypeName - name of the type of object being attached toserviceSupportedZones - supported zones for calling servicestartingFrom - where to start from in the listpageSize - maximum number of results that can be returnedmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic List<EXTERNAL_ID> getExternalIdentifiersForScope(String userId, String elementGUID, String elementGUIDParameterName, String elementTypeName, String scopeGUID, String scopeTypeName, String scopeQualifiedName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userelementGUID - identifier for the entity that the identifier is attached toelementGUIDParameterName - name of parameter supplying the GUIDelementTypeName - name of the type of object being attached toscopeGUID - unique identifier of the software server capability that represents the third metadata sourcescopeTypeName - specific type name of the software server capability that represents the third party metadata sourcescopeQualifiedName - unique name of the software server capability that represents the third metadata sourcestartingFrom - where to start from in the listpageSize - maximum number of results that can be returnedmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic List<EXTERNAL_ID> getExternalIdentifiersForScope(String userId, String elementGUID, String elementGUIDParameterName, String elementTypeName, List<String> serviceSupportedZones, String scopeGUID, String scopeTypeName, String scopeQualifiedName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - calling userelementGUID - identifier for the entity that the identifier is attached toelementGUIDParameterName - name of parameter supplying the GUIDelementTypeName - name of the type of object being attached toserviceSupportedZones - supported zones for calling servicescopeGUID - unique identifier of the software server capability that represents the third metadata sourcescopeTypeName - specific type name of the software server capability that represents the third party metadata sourcescopeQualifiedName - unique name name of the software server capability that represents the third party metadata sourcestartingFrom - where to start from in the listpageSize - maximum number of results that can be returnedmethodName - calling methodInvalidParameterException - the input properties are invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic List<EntityDetail> getElementEntitiesForScope(String userId, String scopeGUID, String scopeParameterName, String scopeTypeName, String requestedTypeName, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userscopeGUID - unique identifier of software server capability representing the callerscopeParameterName - unique name of software server capability representing the callerscopeTypeName - specific type name of the software server capability that represents the third party metadata sourcerequestedTypeName - unique type name of the elements in the external asset managerstartingFrom - where to start from in the listpageSize - maximum number of results that can be returnedmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverpublic List<OPEN_METADATA_ELEMENT_HEADER> getElementsForExternalIdentifier(String userId, String scopeGUID, String scopeParameterName, String scopeTypeName, String scopeQualifiedName, String externalIdentifier, int startingFrom, int pageSize, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userscopeGUID - unique identifier of software server capability representing the callerscopeParameterName - unique name of software server capability representing the callerscopeTypeName - specific type name of the software server capability that represents the third party metadata sourcescopeQualifiedName - unique name name of the software server capability that represents the third party metadata sourceexternalIdentifier - unique identifier of this element in the external asset managerstartingFrom - where to start from in the listpageSize - maximum number of results that can be returnedmethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - problem accessing the property serverCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.