public abstract class CommunityProfileOutTopicPublisher extends Object
| Constructor and Description |
|---|
CommunityProfileOutTopicPublisher(OpenMetadataTopicConnector connector,
InvalidParameterHandler invalidParameterHandler)
Constructor to use the default JSON messages and the Open Metadata Topic Connector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
sendAssetRemovedFromCollectionEvent(PersonalProfileUniverse bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendCommunityRemovedFromCollectionEvent(PersonalProfileUniverse bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendDeletedPersonalProfileEvent(PersonalProfileUniverse bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendDeletedUserIdentityEvent(UserIdentityElement bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendKarmaPointPlateauEvent(PersonalProfileUniverse bean,
String userId,
int plateau,
int totalPoints)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewAssetInCollectionEvent(PersonalProfileUniverse bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewCommunityInCollectionEvent(PersonalProfileUniverse bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewExternalPersonalProfileEvent(PersonalProfileUniverse bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewExternalUserIdentityEvent(UserIdentityElement bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewPersonalProfileEvent(PersonalProfileUniverse bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewProjectInCollectionEvent(PersonalProfileUniverse bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewUserIdentityEvent(UserIdentityElement bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendProjectRemovedFromCollectionEvent(PersonalProfileUniverse bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendUpdatedPersonalProfileEvent(PersonalProfileUniverse bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendUpdatedUserIdentityEvent(UserIdentityElement bean)
Send an event to the Community Profile OMAS Out Topic.
|
public CommunityProfileOutTopicPublisher(OpenMetadataTopicConnector connector, InvalidParameterHandler invalidParameterHandler)
connector - initialized OpenMetadataTopicConnector objectinvalidParameterHandler - error handlerpublic void sendNewUserIdentityEvent(UserIdentityElement bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewExternalUserIdentityEvent(UserIdentityElement bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendUpdatedUserIdentityEvent(UserIdentityElement bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendDeletedUserIdentityEvent(UserIdentityElement bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewPersonalProfileEvent(PersonalProfileUniverse bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewExternalPersonalProfileEvent(PersonalProfileUniverse bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendUpdatedPersonalProfileEvent(PersonalProfileUniverse bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendDeletedPersonalProfileEvent(PersonalProfileUniverse bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendKarmaPointPlateauEvent(PersonalProfileUniverse bean, String userId, int plateau, int totalPoints) throws InvalidParameterException, ConnectorCheckedException
bean - object to senduserId - qualifying user identifierplateau - new plateau just achievedtotalPoints - total number of karma points for this individualInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewAssetInCollectionEvent(PersonalProfileUniverse bean, String userId, String memberGUID, String memberTypeName) throws InvalidParameterException, ConnectorCheckedException
bean - object to senduserId - calling usermemberGUID - unique identifier of collection membermemberTypeName - type of collection memberInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendAssetRemovedFromCollectionEvent(PersonalProfileUniverse bean, String userId, String memberGUID, String memberTypeName) throws InvalidParameterException, ConnectorCheckedException
bean - object to senduserId - calling usermemberGUID - unique identifier of collection membermemberTypeName - type of collection memberInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewProjectInCollectionEvent(PersonalProfileUniverse bean, String userId, String memberGUID, String memberTypeName) throws InvalidParameterException, ConnectorCheckedException
bean - object to senduserId - calling usermemberGUID - unique identifier of collection membermemberTypeName - type of collection memberInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendProjectRemovedFromCollectionEvent(PersonalProfileUniverse bean, String userId, String memberGUID, String memberTypeName) throws InvalidParameterException, ConnectorCheckedException
bean - object to senduserId - calling usermemberGUID - unique identifier of collection membermemberTypeName - type of collection memberInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewCommunityInCollectionEvent(PersonalProfileUniverse bean, String userId, String memberGUID, String memberTypeName) throws InvalidParameterException, ConnectorCheckedException
bean - object to senduserId - calling usermemberGUID - unique identifier of collection membermemberTypeName - type of collection memberInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendCommunityRemovedFromCollectionEvent(PersonalProfileUniverse bean, String userId, String memberGUID, String memberTypeName) throws InvalidParameterException, ConnectorCheckedException
bean - object to senduserId - calling usermemberGUID - unique identifier of collection membermemberTypeName - type of collection memberInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issueCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.