public class OMRSTopicListenerBase extends Object implements OMRSTopicListener
| Modifier and Type | Field and Description |
|---|---|
protected OMRSAuditLog |
auditLog |
protected String |
serviceName |
| Constructor and Description |
|---|
OMRSTopicListenerBase(String serviceName)
Name of the service that this is listening on behalf of.
|
OMRSTopicListenerBase(String serviceName,
OMRSAuditLog auditLog)
Name of the service that this is listening on behalf of.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getInstanceTypeName(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
InstanceHeader instance,
String actionDescription)
A new entity has been created.
|
void |
processAttributeTypeDefConflictEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
AttributeTypeDef originatorAttributeTypeDef,
String otherMetadataCollectionId,
AttributeTypeDef conflictingAttributeTypeDef,
String errorMessage)
Process a detected conflict in the attribute type definitions (AttributeTypeDefs) used in the cohort.
|
protected void |
processBadConnectionEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorMetadataCollectionName,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String targetMetadataCollectionId,
Connection remoteConnection,
String errorMessage)
A connection to one of the members of the open metadata repository cohort is not usable by one of the members.
|
void |
processClassifiedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
A new classification has been added to an entity.
|
protected void |
processConflictingCollectionIdEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorMetadataCollectionName,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String conflictingMetadataCollectionId,
String errorMessage)
There is more than one member of the open metadata repository cohort that is using the same metadata
collection Id.
|
void |
processConflictingInstancesEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String targetMetadataCollectionId,
TypeDefSummary targetTypeDefSummary,
String targetInstanceGUID,
String otherMetadataCollectionId,
InstanceProvenanceType otherOrigin,
TypeDefSummary otherTypeDefSummary,
String otherInstanceGUID,
String errorMessage)
An open metadata repository has detected two metadata instances with the same identifier (guid).
|
void |
processConflictingTypeEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String targetMetadataCollectionId,
TypeDefSummary targetTypeDefSummary,
String targetInstanceGUID,
TypeDefSummary otherTypeDefSummary,
String errorMessage)
An open metadata repository has detected an inconsistency in the version of the type used in an updated metadata
instance compared to its stored version.
|
void |
processDeclassifiedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
A classification has been removed from an entity.
|
void |
processDeletedAttributeTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String attributeTypeDefGUID,
String attributeTypeDefName)
An existing AttributeTypeDef has been deleted in an open metadata repository.
|
void |
processDeletedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
An existing entity has been deleted.
|
void |
processDeletedRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Relationship relationship)
An existing relationship has been deleted.
|
void |
processDeletedTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String typeDefGUID,
String typeDefName)
An existing TypeDef has been deleted.
|
void |
processDeletePurgedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
An existing entity has been deleted and purged in a single action.
|
void |
processDeletePurgedRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Relationship relationship)
An active relationship has been deleted and purged from the repository.
|
void |
processInstanceBatchEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
InstanceGraph instances)
An open metadata repository is passing information about a collection of entities and relationships
with the other repositories in the cohort.
|
void |
processInstanceEvent(OMRSInstanceEvent instanceEvent)
Method to pass an Instance event received on topic.
|
void |
processNewAttributeTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
AttributeTypeDef attributeTypeDef)
A new AttributeTypeDef has been defined in an open metadata repository.
|
void |
processNewEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
A new entity has been created.
|
void |
processNewRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Relationship relationship)
A new relationship has been created.
|
void |
processNewTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDef typeDef)
A new TypeDef has been defined.
|
void |
processPurgedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String typeDefGUID,
String typeDefName,
String instanceGUID)
A deleted entity has been permanently removed from the repository.
|
void |
processPurgedRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String typeDefGUID,
String typeDefName,
String instanceGUID)
A deleted relationship has been permanently removed from the repository.
|
void |
processReclassifiedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
An existing classification has been changed on an entity.
|
void |
processRefreshEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
A remote repository in the cohort has sent entity details in response to a refresh request.
|
void |
processRefreshEntityRequested(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String typeDefGUID,
String typeDefName,
String instanceGUID,
String homeMetadataCollectionId)
The remote repository is requesting that an entity from this repository's metadata collection is
refreshed so the remote repository can create a reference copy.
|
void |
processRefreshRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Relationship relationship)
The local repository is refreshing the information about a relationship for the other
repositories in the cohort.
|
void |
processRefreshRelationshipRequest(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String typeDefGUID,
String typeDefName,
String instanceGUID,
String homeMetadataCollectionId)
A repository has requested the home repository of a relationship send details of the relationship so
the local repository can create a reference copy of the instance.
|
protected void |
processRegistrationEvent(String sourceName,
String metadataCollectionId,
String metadataCollectionName,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Date registrationTimestamp,
Connection remoteConnection)
Introduces a new server/repository to the metadata repository cohort.
|
protected void |
processRegistrationRefreshRequest(String sourceName,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName)
Requests that the other servers in the cohort send re-registration events.
|
void |
processRegistryEvent(OMRSRegistryEvent registryEvent)
Method to pass a Registry event received on topic.
|
void |
processReHomedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String originalHomeMetadataCollectionId,
EntityDetail entity)
An existing entity has changed home repository.
|
void |
processReHomedRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String originalHomeMetadataCollection,
Relationship relationship)
An existing relationship has changed home repository.
|
void |
processReIdentifiedAttributeTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
AttributeTypeDef originalAttributeTypeDef,
AttributeTypeDef attributeTypeDef)
Process an event that changes either the name or guid of an AttributeTypeDef.
|
void |
processReIdentifiedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String originalEntityGUID,
EntityDetail entity)
The guid of an existing entity has been changed to a new value.
|
void |
processReIdentifiedRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String originalRelationshipGUID,
Relationship relationship)
The guid of an existing relationship has changed.
|
void |
processReIdentifiedTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefSummary originalTypeDefSummary,
TypeDef typeDef)
The guid or name of an existing TypeDef has been changed to a new value.
|
protected void |
processReRegistrationEvent(String sourceName,
String metadataCollectionId,
String metadataCollectionName,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Date registrationTimestamp,
Connection remoteConnection)
Refreshes the other servers in the cohort with the originating server's registration.
|
void |
processRestoredEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
A deleted entity has been restored to the state it was before it was deleted.
|
void |
processRestoredRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Relationship relationship)
A deleted relationship has been restored to the state it was before it was deleted.
|
void |
processReTypedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefSummary originalTypeDefSummary,
EntityDetail entity)
An existing entity has had its type changed.
|
void |
processReTypedRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefSummary originalTypeDefSummary,
Relationship relationship)
An existing relationship has had its type changed.
|
void |
processTypeDefConflictEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefSummary originatorTypeDefSummary,
String otherMetadataCollectionId,
TypeDefSummary conflictingTypeDefSummary,
String errorMessage)
Process a detected conflict in type definitions (TypeDefs) used in the cohort.
|
void |
processTypeDefEvent(OMRSTypeDefEvent typeDefEvent)
Method to pass a TypeDef event received on topic.
|
void |
processTypeDefPatchMismatchEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String targetMetadataCollectionId,
TypeDefSummary targetTypeDefSummary,
TypeDef otherTypeDef,
String errorMessage)
A TypeDef from another member in the cohort is at a different version than the local repository.
|
void |
processUndoneEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
An update to an entity has been undone.
|
void |
processUndoneRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Relationship relationship)
An update to a relationship has been undone.
|
protected void |
processUnRegistrationEvent(String sourceName,
String metadataCollectionId,
String metadataCollectionName,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName)
A server/repository is being removed from the metadata repository cohort.
|
void |
processUpdatedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail oldEntity,
EntityDetail newEntity)
An existing entity has been updated.
|
void |
processUpdatedRelationshipEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
Relationship oldRelationship,
Relationship newRelationship)
An existing relationship has been updated.
|
void |
processUpdatedTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefPatch typeDefPatch)
An existing TypeDef has been updated.
|
protected String serviceName
protected OMRSAuditLog auditLog
public OMRSTopicListenerBase(String serviceName)
serviceName - name of servicepublic OMRSTopicListenerBase(String serviceName, OMRSAuditLog auditLog)
serviceName - name of serviceauditLog - logging destinationprotected String getInstanceTypeName(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, InstanceHeader instance, String actionDescription)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.instance - details of the instance from the eventactionDescription - description of overall processingpublic void processRegistryEvent(OMRSRegistryEvent registryEvent)
processRegistryEvent in interface OMRSTopicListenerregistryEvent - inbound eventpublic void processTypeDefEvent(OMRSTypeDefEvent typeDefEvent)
processTypeDefEvent in interface OMRSTopicListenertypeDefEvent - inbound eventpublic void processInstanceEvent(OMRSInstanceEvent instanceEvent)
processInstanceEvent in interface OMRSTopicListenerinstanceEvent - inbound eventprotected void processRegistrationEvent(String sourceName, String metadataCollectionId, String metadataCollectionName, String originatorServerName, String originatorServerType, String originatorOrganizationName, Date registrationTimestamp, Connection remoteConnection)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.metadataCollectionId - unique identifier of metadata collection of originator.metadataCollectionName - display name of metadata collection of originator.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.registrationTimestamp - the time that the server/repository issued the registration request.remoteConnection - the Connection properties for the connector used to call the registering server.protected void processRegistrationRefreshRequest(String sourceName, String originatorServerName, String originatorServerType, String originatorOrganizationName)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.protected void processReRegistrationEvent(String sourceName, String metadataCollectionId, String metadataCollectionName, String originatorServerName, String originatorServerType, String originatorOrganizationName, Date registrationTimestamp, Connection remoteConnection)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.metadataCollectionId - unique identifier of metadata collection of originator.metadataCollectionName - display name of metadata collection of originator.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.registrationTimestamp - the time that the server/repository first registered with the cohort.remoteConnection - the Connection properties for the connector used to call the registering server.protected void processUnRegistrationEvent(String sourceName, String metadataCollectionId, String metadataCollectionName, String originatorServerName, String originatorServerType, String originatorOrganizationName)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.metadataCollectionId - unique identifier of metadata collection of originator.metadataCollectionName - display name of metadata collection of originator.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.protected void processConflictingCollectionIdEvent(String sourceName, String originatorMetadataCollectionId, String originatorMetadataCollectionName, String originatorServerName, String originatorServerType, String originatorOrganizationName, String conflictingMetadataCollectionId, String errorMessage)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier of metadata collection of originator.originatorMetadataCollectionName - display name of metadata collection of originator.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.conflictingMetadataCollectionId - unique identifier for the metadata collection that is registering with the cohort.errorMessage - details of the conflictprotected void processBadConnectionEvent(String sourceName, String originatorMetadataCollectionId, String originatorMetadataCollectionName, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, Connection remoteConnection, String errorMessage)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier of metadata collection of originator.originatorMetadataCollectionName - display name of metadata collection of originator.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.targetMetadataCollectionId - Id for the repository with the bad remote connection.remoteConnection - the Connection properties for the connector used to call the registering server.errorMessage - details of the error that occurs when the connection is used.public void processNewTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDef typeDef)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.typeDef - details of the new TypeDefpublic void processNewAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef attributeTypeDef)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.attributeTypeDef - details of the new AttributeTypeDef.public void processUpdatedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefPatch typeDefPatch)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.typeDefPatch - details of the new version of the TypeDefpublic void processDeletedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.typeDefGUID - unique identifier of the TypeDeftypeDefName - unique name of the TypeDefpublic void processDeletedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String attributeTypeDefGUID, String attributeTypeDefName)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.attributeTypeDefGUID - unique identifier of the AttributeTypeDefattributeTypeDefName - unique name of the AttributeTypeDefpublic void processReIdentifiedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, TypeDef typeDef)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalTypeDefSummary - the details for the original TypeDef.typeDef - updated TypeDef with new identifierspublic void processReIdentifiedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originalAttributeTypeDef, AttributeTypeDef attributeTypeDef)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalAttributeTypeDef - description of original AttributeTypeDefattributeTypeDef - updated AttributeTypeDef with new identifiers inside.public void processTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originatorTypeDefSummary, String otherMetadataCollectionId, TypeDefSummary conflictingTypeDefSummary, String errorMessage)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originatorTypeDefSummary - details of the TypeDef in the event originatorotherMetadataCollectionId - the metadataCollection using the conflicting TypeDefconflictingTypeDefSummary - the details of the TypeDef in the other metadata collectionerrorMessage - details of the error that occurs when the connection is used.public void processAttributeTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originatorAttributeTypeDef, String otherMetadataCollectionId, AttributeTypeDef conflictingAttributeTypeDef, String errorMessage)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originatorAttributeTypeDef- - description of the AttributeTypeDef in the event originator.otherMetadataCollectionId - the metadataCollection using the conflicting AttributeTypeDef.conflictingAttributeTypeDef - description of the AttributeTypeDef in the other metadata collection.errorMessage - details of the error that occurs when the connection is used.public void processTypeDefPatchMismatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, TypeDef otherTypeDef, String errorMessage)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.targetMetadataCollectionId - identifier of the metadata collection that is reporting a TypeDef at a
different level to the local repository.targetTypeDefSummary - details of the TypeDef being patchedotherTypeDef - details of the TypeDef in the local repository.errorMessage - descriptive messagepublic void processNewEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - details of the new entitypublic void processUpdatedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail oldEntity, EntityDetail newEntity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.oldEntity - original values for the entity.newEntity - details of the new version of the entity.public void processUndoneEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - details of the version of the entity that has been restored.public void processClassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - details of the entity with the new classification added.public void processDeclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - details of the entity after the classification has been removed.public void processReclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - details of the entity after the classification has been changed.public void processDeletedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
All relationships to the entity are also soft-deleted and will no longer be usable. These deleted relationships will be notified through separate events.
Details of the TypeDef are included with the entity's unique id (guid) to ensure the right entity is deleted in the remote repositories.
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - deleted entitypublic void processPurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID)
Details of the TypeDef are included with the entity's unique id (guid) to ensure the right entity is purged in the remote repositories.
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.typeDefGUID - unique identifier for this entity's TypeDeftypeDefName - name of this entity's TypeDefinstanceGUID - unique identifier for the entitypublic void processDeletePurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - deleted entitypublic void processRestoredEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - details of the version of the entity that has been restored.public void processReIdentifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalEntityGUID, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalEntityGUID - the existing identifier for the entity.entity - new values for this entity, including the new guid.public void processReTypedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalTypeDefSummary - original details of this entity's TypeDef.entity - new values for this entity, including the new type information.public void processReHomedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalHomeMetadataCollectionId, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalHomeMetadataCollectionId - unique identifier for the original home repository.entity - new values for this entity, including the new home information.public void processRefreshEntityRequested(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID, String homeMetadataCollectionId)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.typeDefGUID - unique identifier for this entity's TypeDeftypeDefName - name of this entity's TypeDefinstanceGUID - unique identifier for the entityhomeMetadataCollectionId - metadata collection id for the home of this instance.public void processRefreshEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.entity - details of the requested entitypublic void processNewRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.relationship - details of the new relationshippublic void processUpdatedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship oldRelationship, Relationship newRelationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.oldRelationship - original details of the relationship.newRelationship - details of the new version of the relationship.public void processUndoneRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.relationship - details of the version of the relationship that has been restored.public void processDeletedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship)
Details of the TypeDef are included with the relationship's unique id (guid) to ensure the right relationship is deleted in the remote repositories.
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.relationship - deleted relationshippublic void processPurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID)
Details of the TypeDef are included with the relationship's unique id (guid) to ensure the right relationship is purged in the remote repositories.
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.typeDefGUID - unique identifier for this relationship's TypeDef.typeDefName - name of this relationship's TypeDef.instanceGUID - unique identifier for the relationship.public void processDeletePurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.relationship - deleted relationshippublic void processRestoredRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.relationship - details of the version of the relationship that has been restored.public void processReIdentifiedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalRelationshipGUID, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalRelationshipGUID - the existing identifier for the relationship.relationship - new values for this relationship, including the new guid.public void processReTypedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalTypeDefSummary - original details of this relationship's TypeDef.relationship - new values for this relationship, including the new type information.public void processReHomedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalHomeMetadataCollection, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.originalHomeMetadataCollection - unique identifier for the original home repository.relationship - new values for this relationship, including the new home information.public void processRefreshRelationshipRequest(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID, String homeMetadataCollectionId)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.typeDefGUID - unique identifier for this instance's TypeDeftypeDefName - name of this relationship's TypeDefinstanceGUID - unique identifier for the instancehomeMetadataCollectionId - metadata collection id for the home of this instance.public void processRefreshRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.relationship - relationship detailspublic void processInstanceBatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, InstanceGraph instances)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - unique identifier for the metadata collection hosted by the server that
sent the event.originatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.instances - multiple entities and relationships for sharing.public void processConflictingInstancesEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, String targetInstanceGUID, String otherMetadataCollectionId, InstanceProvenanceType otherOrigin, TypeDefSummary otherTypeDefSummary, String otherInstanceGUID, String errorMessage)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - metadata collection id of the repository reporting the conflicting instanceoriginatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.targetMetadataCollectionId - metadata collection id of other repository with the conflicting instancetargetTypeDefSummary - details of the target instance's TypeDeftargetInstanceGUID - unique identifier for the source instanceotherOrigin - origin of the other (older) metadata instanceotherMetadataCollectionId - metadata collection of the other (older) metadata instanceotherTypeDefSummary - details of the other (older) instance's TypeDefotherInstanceGUID - unique identifier for the other (older) instanceerrorMessage - description of the error.public void processConflictingTypeEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, String targetInstanceGUID, TypeDefSummary otherTypeDefSummary, String errorMessage)
sourceName - name of the source of the event. It may be the cohort name for incoming events or the
local repository, or event mapper name.originatorMetadataCollectionId - metadata collection id of the repository reporting the conflicting instanceoriginatorServerName - name of the server that the event came from.originatorServerType - type of server that the event came from.originatorOrganizationName - name of the organization that owns the server that sent the event.targetMetadataCollectionId - metadata collection id of other repository with the conflicting instancetargetTypeDefSummary - details of the target instance's TypeDeftargetInstanceGUID - unique identifier for the source instanceotherTypeDefSummary - details of the local copy of the instance's TypeDeferrorMessage - description of the error.Copyright © 2018–2020 ODPi. All rights reserved.