public class CommunityProfileOutTopicProcessor extends CommunityProfileOutTopicPublisher
| Constructor and Description |
|---|
CommunityProfileOutTopicProcessor(OpenMetadataTopicConnector connector,
InvalidParameterHandler invalidParameterHandler,
AuditLog auditLog)
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 |
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 |
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 CommunityProfileOutTopicProcessor(OpenMetadataTopicConnector connector, InvalidParameterHandler invalidParameterHandler, AuditLog auditLog)
connector - initialized OpenMetadataTopicConnector objectinvalidParameterHandler - error handlerauditLog - logging destinationpublic void sendNewUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
sendNewUserIdentityEvent in class CommunityProfileOutTopicPublisherbean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewExternalUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
sendNewExternalUserIdentityEvent in class CommunityProfileOutTopicPublisherbean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendUpdatedUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
sendUpdatedUserIdentityEvent in class CommunityProfileOutTopicPublisherbean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendDeletedUserIdentityEvent(UserIdentity bean) throws InvalidParameterException, ConnectorCheckedException
sendDeletedUserIdentityEvent in class CommunityProfileOutTopicPublisherbean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
sendNewPersonalProfileEvent in class CommunityProfileOutTopicPublisherbean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendNewExternalPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
sendNewExternalPersonalProfileEvent in class CommunityProfileOutTopicPublisherbean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendUpdatedPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
sendUpdatedPersonalProfileEvent in class CommunityProfileOutTopicPublisherbean - object to sendInvalidParameterException - no event providedConnectorCheckedException - unable to send the event due to connectivity issuepublic void sendDeletedPersonalProfileEvent(PersonalProfile bean) throws InvalidParameterException, ConnectorCheckedException
sendDeletedPersonalProfileEvent in class CommunityProfileOutTopicPublisherbean - 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
sendKarmaPointPlateauEvent in class CommunityProfileOutTopicPublisherbean - 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
sendNewAssetInCollectionEvent in class CommunityProfileOutTopicPublisherbean - 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
sendAssetRemovedFromCollectionEvent in class CommunityProfileOutTopicPublisherbean - 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
sendNewProjectInCollectionEvent in class CommunityProfileOutTopicPublisherbean - 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
sendProjectRemovedFromCollectionEvent in class CommunityProfileOutTopicPublisherbean - 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
sendNewCommunityInCollectionEvent in class CommunityProfileOutTopicPublisherbean - 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
sendCommunityRemovedFromCollectionEvent in class CommunityProfileOutTopicPublisherbean - 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.