public class CommunityProfilePublisher extends Object
| Constructor and Description |
|---|
CommunityProfilePublisher(Connection communityProfileOutTopic,
OMRSRepositoryConnector repositoryConnector,
OMRSRepositoryHelper repositoryHelper,
OMRSRepositoryValidator repositoryValidator,
String serviceName)
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 |
processDeletedEntity(EntityDetail entity)
Determine whether a deleted entity is an PersonalProfile.
|
void |
processDeletedRelationship(Relationship relationship)
Determine whether a deleted relationship is related to an PersonalProfile.
|
void |
processNewEntity(EntityDetail entity)
Determine whether a new entity is an PersonalProfile.
|
void |
processNewRelationship(Relationship relationship)
Determine whether a new relationship is related to an PersonalProfile.
|
void |
processRestoredEntity(EntityDetail entity)
Determine whether a restored entity is an PersonalProfile.
|
void |
processRestoredRelationship(Relationship relationship)
Determine whether a restored relationship is related to an PersonalProfile.
|
void |
processUpdatedEntity(EntityDetail entity)
Determine whether an updated entity is an PersonalProfile.
|
void |
processUpdatedEntity(EntityDetail originalEntity,
EntityDetail newEntity)
Determine whether an updated entity is an PersonalProfile.
|
void |
processUpdatedRelationship(Relationship relationship)
Determine whether an updated relationship is related to an PersonalProfile.
|
void |
processUpdatedRelationship(Relationship originalRelationship,
Relationship newRelationship)
Determine whether an updated relationship is related to an PersonalProfile.
|
public CommunityProfilePublisher(Connection communityProfileOutTopic, OMRSRepositoryConnector repositoryConnector, OMRSRepositoryHelper repositoryHelper, OMRSRepositoryValidator repositoryValidator, String serviceName)
communityProfileOutTopic - connection to the out topicrepositoryConnector - provides methods for retrieving metadata instancesrepositoryHelper - provides methods for working with metadata instancesrepositoryValidator - provides validation of metadata instanceserviceName - name of this service.public void processNewEntity(EntityDetail entity)
entity - - entity object that has just been created.public void processUpdatedEntity(EntityDetail entity)
entity - - entity object that has just been updated.public void processUpdatedEntity(EntityDetail originalEntity, EntityDetail newEntity)
originalEntity - - original values for entity object - available when basic property updates have
occurred on the entity.newEntity - - entity object that has just been updated.public void processDeletedEntity(EntityDetail entity)
entity - - entity object that has just been deleted.public void processRestoredEntity(EntityDetail entity)
entity - - entity object that has just been restored.public void processNewRelationship(Relationship relationship)
relationship - - relationship object that has just been created.public void processUpdatedRelationship(Relationship relationship)
relationship - - relationship object that has just been updated.public void processUpdatedRelationship(Relationship originalRelationship, Relationship newRelationship)
originalRelationship - - original values of relationship.newRelationship - - relationship object that has just been updated.public void processDeletedRelationship(Relationship relationship)
relationship - - relationship object that has just been deleted.public void processRestoredRelationship(Relationship relationship)
relationship - - relationship object that has just been restored.Copyright © 2018–2019 ODPi. All rights reserved.