C# 클래스 mobSocial.Services.Notifications.MobSocialMessageService

Product service
상속: IMobSocialMessageService
파일 보기 프로젝트 열기: mobsoftware/mobsocial

공개 메소드들

메소드 설명
MobSocialMessageService ( IMessageTemplateService messageTemplateService, IStoreService storeService, IMessageTokenProvider messageTokenProvider, ILanguageService languageService, IStoreContext storeContext, IEventPublisher eventPublisher, ITokenizer tokenizer, IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService, EmailAccountSettings emailAccountSettings, ILocalizationService localizationService, MessageTemplatesSettings messageTemplateSettings, CatalogSettings catalogSettings, IProductAttributeParser productAttributeParser, IWorkContext workContext ) : System
SendBirthdayNotification ( User customer, int languageId, int storeId ) : int
SendEventInvitationNotification ( User customer, int languageId, int storeId ) : int
SendFriendRequestNotification ( User customer, int friendRequestCount, int languageId, int storeId ) : int
SendPendingFriendRequestNotification ( User customer, int friendRequestCount, int languageId, int storeId ) : int
SendProductReviewNotification ( User customer, List unreviewedProducts, int languageId, int storeId ) : int
SendSomeoneChallengedYouForABattleNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
SendSomeoneChallengedYouForABattleNotification ( User challenger, string challengeeEmail, string challengeeName, VideoBattle videoBattle, int languageId, int storeId ) : int
SendSomeoneSentYouASongNotification ( User customer, int languageId, int storeId ) : int
SendSponsorAppliedNotificationToBattleOwner ( User owner, User sponsor, VideoBattle videoBattle, int languageId, int storeId ) : int
SendSponsorshipStatusChangeNotification ( User receiver, SponsorshipStatus sponsorshipStatus, VideoBattle videoBattle, int languageId, int storeId ) : int
SendVideoBattleCompleteNotification ( User customer, VideoBattle videoBattle, NotificationRecipientType recipientType, int languageId, int storeId ) : int
SendVideoBattleDisqualifiedNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
SendVideoBattleJoinNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
SendVideoBattleOpenNotification ( User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int
SendVideoBattleSignupAcceptedNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
SendVideoBattleSignupNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
SendVotingReminderNotification ( User sender, User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int
SendVotingReminderNotification ( User sender, string receiverEmail, string receiverName, VideoBattle videoBattle, int languageId, int storeId ) : int
SendXDaysToBattleEndNotificationToFollower ( User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int
SendXDaysToBattleStartNotificationToParticipant ( User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int

보호된 메소드들

메소드 설명
ProductListToHtmlTable ( List orderItems, int languageId ) : string

Convert a collection to a HTML table

ProductListToHtmlTable ( List products, int languageId, int storeId ) : string

Convert a collection to a HTML table

비공개 메소드들

메소드 설명
EnsureLanguageIsActive ( int languageId, int storeId ) : int
GetEmailAccountOfMessageTemplate ( MessageTemplate messageTemplate, int languageId ) : EmailAccount
GetLocalizedActiveMessageTemplate ( string messageTemplateName, int storeId ) : MessageTemplate
GetStoreUrl ( int storeId, bool useSsl = false ) : string

Get store URL

SendNotification ( MessageTemplate messageTemplate, EmailAccount emailAccount, int languageId, IEnumerable tokens, string toEmailAddress, string toName ) : int

메소드 상세

MobSocialMessageService() 공개 메소드

public MobSocialMessageService ( IMessageTemplateService messageTemplateService, IStoreService storeService, IMessageTokenProvider messageTokenProvider, ILanguageService languageService, IStoreContext storeContext, IEventPublisher eventPublisher, ITokenizer tokenizer, IQueuedEmailService queuedEmailService, IEmailAccountService emailAccountService, EmailAccountSettings emailAccountSettings, ILocalizationService localizationService, MessageTemplatesSettings messageTemplateSettings, CatalogSettings catalogSettings, IProductAttributeParser productAttributeParser, IWorkContext workContext ) : System
messageTemplateService IMessageTemplateService
storeService IStoreService
messageTokenProvider IMessageTokenProvider
languageService ILanguageService
storeContext IStoreContext
eventPublisher IEventPublisher
tokenizer ITokenizer
queuedEmailService IQueuedEmailService
emailAccountService IEmailAccountService
emailAccountSettings EmailAccountSettings
localizationService ILocalizationService
messageTemplateSettings MessageTemplatesSettings
catalogSettings CatalogSettings
productAttributeParser IProductAttributeParser
workContext IWorkContext
리턴 System

ProductListToHtmlTable() 보호된 메소드

Convert a collection to a HTML table
protected ProductListToHtmlTable ( List orderItems, int languageId ) : string
orderItems List
languageId int Language identifier
리턴 string

ProductListToHtmlTable() 보호된 메소드

Convert a collection to a HTML table
protected ProductListToHtmlTable ( List products, int languageId, int storeId ) : string
products List
languageId int Language identifier
storeId int
리턴 string

SendBirthdayNotification() 공개 메소드

public SendBirthdayNotification ( User customer, int languageId, int storeId ) : int
customer User
languageId int
storeId int
리턴 int

SendEventInvitationNotification() 공개 메소드

public SendEventInvitationNotification ( User customer, int languageId, int storeId ) : int
customer User
languageId int
storeId int
리턴 int

SendFriendRequestNotification() 공개 메소드

public SendFriendRequestNotification ( User customer, int friendRequestCount, int languageId, int storeId ) : int
customer User
friendRequestCount int
languageId int
storeId int
리턴 int

SendPendingFriendRequestNotification() 공개 메소드

public SendPendingFriendRequestNotification ( User customer, int friendRequestCount, int languageId, int storeId ) : int
customer User
friendRequestCount int
languageId int
storeId int
리턴 int

SendProductReviewNotification() 공개 메소드

public SendProductReviewNotification ( User customer, List unreviewedProducts, int languageId, int storeId ) : int
customer User
unreviewedProducts List
languageId int
storeId int
리턴 int

SendSomeoneChallengedYouForABattleNotification() 공개 메소드

public SendSomeoneChallengedYouForABattleNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
challenger User
challengee User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendSomeoneChallengedYouForABattleNotification() 공개 메소드

public SendSomeoneChallengedYouForABattleNotification ( User challenger, string challengeeEmail, string challengeeName, VideoBattle videoBattle, int languageId, int storeId ) : int
challenger User
challengeeEmail string
challengeeName string
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendSomeoneSentYouASongNotification() 공개 메소드

public SendSomeoneSentYouASongNotification ( User customer, int languageId, int storeId ) : int
customer User
languageId int
storeId int
리턴 int

SendSponsorAppliedNotificationToBattleOwner() 공개 메소드

public SendSponsorAppliedNotificationToBattleOwner ( User owner, User sponsor, VideoBattle videoBattle, int languageId, int storeId ) : int
owner User
sponsor User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendSponsorshipStatusChangeNotification() 공개 메소드

public SendSponsorshipStatusChangeNotification ( User receiver, SponsorshipStatus sponsorshipStatus, VideoBattle videoBattle, int languageId, int storeId ) : int
receiver User
sponsorshipStatus SponsorshipStatus
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendVideoBattleCompleteNotification() 공개 메소드

public SendVideoBattleCompleteNotification ( User customer, VideoBattle videoBattle, NotificationRecipientType recipientType, int languageId, int storeId ) : int
customer User
videoBattle VideoBattle
recipientType NotificationRecipientType
languageId int
storeId int
리턴 int

SendVideoBattleDisqualifiedNotification() 공개 메소드

public SendVideoBattleDisqualifiedNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
challenger User
challengee User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendVideoBattleJoinNotification() 공개 메소드

public SendVideoBattleJoinNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
challenger User
challengee User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendVideoBattleOpenNotification() 공개 메소드

public SendVideoBattleOpenNotification ( User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int
receiver User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendVideoBattleSignupAcceptedNotification() 공개 메소드

public SendVideoBattleSignupAcceptedNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
challenger User
challengee User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendVideoBattleSignupNotification() 공개 메소드

public SendVideoBattleSignupNotification ( User challenger, User challengee, VideoBattle videoBattle, int languageId, int storeId ) : int
challenger User
challengee User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendVotingReminderNotification() 공개 메소드

public SendVotingReminderNotification ( User sender, User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int
sender User
receiver User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendVotingReminderNotification() 공개 메소드

public SendVotingReminderNotification ( User sender, string receiverEmail, string receiverName, VideoBattle videoBattle, int languageId, int storeId ) : int
sender User
receiverEmail string
receiverName string
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendXDaysToBattleEndNotificationToFollower() 공개 메소드

public SendXDaysToBattleEndNotificationToFollower ( User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int
receiver User
videoBattle VideoBattle
languageId int
storeId int
리턴 int

SendXDaysToBattleStartNotificationToParticipant() 공개 메소드

public SendXDaysToBattleStartNotificationToParticipant ( User receiver, VideoBattle videoBattle, int languageId, int storeId ) : int
receiver User
videoBattle VideoBattle
languageId int
storeId int
리턴 int