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(PersonalProfile bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendCommunityRemovedFromCollectionEvent(PersonalProfile bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendDeletedPersonalProfileEvent(PersonalProfile bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendDeletedUserIdentityEvent(UserIdentity bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendEvent(CommunityProfileOutboundEvent event)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendKarmaPointPlateauEvent(PersonalProfile bean,
String userId,
int plateau,
int totalPoints)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewAssetInCollectionEvent(PersonalProfile bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewCommunityInCollectionEvent(PersonalProfile bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewExternalPersonalProfileEvent(PersonalProfile bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewExternalUserIdentityEvent(UserIdentity bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewPersonalProfileEvent(PersonalProfile bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewProjectInCollectionEvent(PersonalProfile bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendNewUserIdentityEvent(UserIdentity bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendProjectRemovedFromCollectionEvent(PersonalProfile bean,
String userId,
String memberGUID,
String memberTypeName)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendUpdatedPersonalProfileEvent(PersonalProfile bean)
Send an event to the Community Profile OMAS Out Topic.
|
void |
sendUpdatedUserIdentityEvent(UserIdentity bean)
Send an event to the Community Profile OMAS Out Topic.
|
public CommunityProfileOutTopicPublisher(OpenMetadataTopicConnector connector, InvalidParameterHandler invalidParameterHandler)
connector - initialized OpenMetadataTopicConnector objectinvalidParameterHandler - error handlerpublic void sendEvent(CommunityProfileOutboundEvent event) throws InvalidParameterException, ConnectorCheckedException
event - event to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewExternalUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendUpdatedUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendDeletedUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewExternalPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendUpdatedPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendDeletedPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
bean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendKarmaPointPlateauEvent(PersonalProfile 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(PersonalProfile 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(PersonalProfile 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(PersonalProfile 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(PersonalProfile 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(PersonalProfile 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(PersonalProfile 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–2020 ODPi. All rights reserved.