Package com.hybris.yprofile.services
Interface ProfileTransactionService
-
- All Known Implementing Classes:
DefaultProfileTransactionService
public interface ProfileTransactionServiceProfileTransactionService Interface. Communication service to send transactions to Profile
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsendAddressDeletedEvent(UserModel userModel, java.lang.String baseSiteId, java.lang.String consentReferenceId)Sends address deleted event to Profile.voidsendAddressSavedEvent(UserModel userModel, java.lang.String baseSiteId, java.lang.String consentReferenceId)Sends address saved event to Profile.voidsendConsignmentEvent(ConsignmentModel consignmentModel)Sends consignment to Profile.voidsendLoginEvent(UserModel userModel, java.lang.String consentReferenceId, java.lang.String sessionId, java.lang.String storeName)Sends user login event to Profile.voidsendPersonalDetailsChangedEvent(UserModel userModel, java.lang.String baseSiteId, java.lang.String consentReferenceId)Sends personal details updated event to Profile.voidsendReturnOrderEvent(ReturnRequestModel returnRequestModel)Sends return order to Profile.voidsendSubmitOrderEvent(OrderModel orderModel)Sends order to Profile.voidsendUidChangedEvent(ChangeUIDEvent event, java.lang.String consentReferenceId)Sends newUid updated event to Profile.voidsendUserRegistrationEvent(UserModel userModel, java.lang.String consentReferenceId, java.lang.String sessionId, java.lang.String storeName)Sends user registration event to Profile.
-
-
-
Method Detail
-
sendSubmitOrderEvent
void sendSubmitOrderEvent(OrderModel orderModel)
Sends order to Profile.- Parameters:
orderModel- the order model
-
sendConsignmentEvent
void sendConsignmentEvent(ConsignmentModel consignmentModel)
Sends consignment to Profile.- Parameters:
consignmentModel- the consignment model
-
sendReturnOrderEvent
void sendReturnOrderEvent(ReturnRequestModel returnRequestModel)
Sends return order to Profile.- Parameters:
returnRequestModel- the return model
-
sendUserRegistrationEvent
void sendUserRegistrationEvent(UserModel userModel, java.lang.String consentReferenceId, java.lang.String sessionId, java.lang.String storeName)
Sends user registration event to Profile.- Parameters:
userModel- the user modelconsentReferenceId- consent refrencesessionId- ec session idstoreName- storefront name like 'electronics'
-
sendUidChangedEvent
void sendUidChangedEvent(ChangeUIDEvent event, java.lang.String consentReferenceId)
Sends newUid updated event to Profile.- Parameters:
event- the ChangeUIDEventconsentReferenceId- the consent reference
-
sendAddressDeletedEvent
void sendAddressDeletedEvent(UserModel userModel, java.lang.String baseSiteId, java.lang.String consentReferenceId)
Sends address deleted event to Profile.- Parameters:
userModel- the user modelconsentReferenceId- the consent referencebaseSiteId- site id from the event
-
sendAddressSavedEvent
void sendAddressSavedEvent(UserModel userModel, java.lang.String baseSiteId, java.lang.String consentReferenceId)
Sends address saved event to Profile.- Parameters:
userModel- the user modelconsentReferenceId- the consent referencebaseSiteId- site id from the event
-
sendPersonalDetailsChangedEvent
void sendPersonalDetailsChangedEvent(UserModel userModel, java.lang.String baseSiteId, java.lang.String consentReferenceId)
Sends personal details updated event to Profile.- Parameters:
userModel- the user modelconsentReferenceId- the consent referencebaseSiteId- site id from the event
-
sendLoginEvent
void sendLoginEvent(UserModel userModel, java.lang.String consentReferenceId, java.lang.String sessionId, java.lang.String storeName)
Sends user login event to Profile.- Parameters:
userModel- the user modelconsentReferenceId- the consent referencesessionId- ec session idstoreName- storefront name like 'electronics'
-
-