public class CommunityProfileOMRSTopicProcessor extends OMRSTopicListenerBase
auditLog, serviceName| Constructor and Description |
|---|
CommunityProfileOMRSTopicProcessor(OpenMetadataTopicConnector communityProfileOutTopic,
int karmaPointIncrement,
String serviceName,
String serverUserId,
AuditLog auditLog,
OMRSRepositoryHelper repositoryHelper,
CommunityProfileServicesInstance instance)
The constructor is given the connection to the out topic for Community Profile OMAS
along with classes for testing and manipulating instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processClassifiedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
A new classification has been added to an entity.
|
void |
processDeclassifiedEntityEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
EntityDetail entity)
A classification has been removed from an entity.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
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.
|
getInstanceTypeName, processAttributeTypeDefConflictEvent, processBadConnectionEvent, processConflictingCollectionIdEvent, processConflictingInstancesEvent, processConflictingTypeEvent, processDeletedAttributeTypeDefEvent, processDeletedTypeDefEvent, processInstanceEvent, processNewAttributeTypeDefEvent, processNewTypeDefEvent, processRefreshEntityEvent, processRefreshEntityRequested, processRefreshRelationshipEvent, processRefreshRelationshipRequest, processRegistrationEvent, processRegistrationRefreshRequest, processRegistryEvent, processReIdentifiedAttributeTypeDefEvent, processReIdentifiedTypeDefEvent, processReRegistrationEvent, processTypeDefConflictEvent, processTypeDefEvent, processTypeDefPatchMismatchEvent, processUnRegistrationEvent, processUpdatedTypeDefEventpublic CommunityProfileOMRSTopicProcessor(OpenMetadataTopicConnector communityProfileOutTopic, int karmaPointIncrement, String serviceName, String serverUserId, AuditLog auditLog, OMRSRepositoryHelper repositoryHelper, CommunityProfileServicesInstance instance)
communityProfileOutTopic - connector to the out topickarmaPointIncrement - increment for each personal contributionserviceName - name of this componentserverUserId - userId for requests originated by this serverauditLog - logging destinationrepositoryHelper - repository helperinstance - server instancepublic void processNewEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity)
processNewEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processUpdatedEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processUndoneEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processClassifiedEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processDeclassifiedEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processReclassifiedEntityEvent in class OMRSTopicListenerBasesourceName - 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.
processDeletedEntityEvent in class OMRSTopicListenerBasesourceName - 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.
processPurgedEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processDeletePurgedEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processRestoredEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processReIdentifiedEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processReTypedEntityEvent in class OMRSTopicListenerBasesourceName - 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)
processReHomedEntityEvent in class OMRSTopicListenerBasesourceName - 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 processNewRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship)
processNewRelationshipEvent in class OMRSTopicListenerBasesourceName - 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)
processUpdatedRelationshipEvent in class OMRSTopicListenerBasesourceName - 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)
processUndoneRelationshipEvent in class OMRSTopicListenerBasesourceName - 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.
processDeletedRelationshipEvent in class OMRSTopicListenerBasesourceName - 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.
processPurgedRelationshipEvent in class OMRSTopicListenerBasesourceName - 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)
processDeletePurgedRelationshipEvent in class OMRSTopicListenerBasesourceName - 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)
processRestoredRelationshipEvent in class OMRSTopicListenerBasesourceName - 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)
processReIdentifiedRelationshipEvent in class OMRSTopicListenerBasesourceName - 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)
processReTypedRelationshipEvent in class OMRSTopicListenerBasesourceName - 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)
processReHomedRelationshipEvent in class OMRSTopicListenerBasesourceName - 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 processInstanceBatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, InstanceGraph instances)
processInstanceBatchEvent in class OMRSTopicListenerBasesourceName - 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.Copyright © 2018–2020 ODPi. All rights reserved.