C# Class Nop.Services.Messages.MessageTemplateService

Inheritance: IMessageTemplateService
Afficher le fichier Open project: emilianionascu/NopCommerce

Méthodes publiques

Méthode Description
DeleteMessageTemplate ( Nop.Core.Domain.Messages.MessageTemplate messageTemplate ) : void

Delete a message template

GetAllMessageTemplates ( ) : IList

Gets all message templates

GetMessageTemplateById ( int messageTemplateId ) : Nop.Core.Domain.Messages.MessageTemplate

Gets a message template

GetMessageTemplateByName ( string messageTemplateName ) : Nop.Core.Domain.Messages.MessageTemplate

Gets a message template

InsertMessageTemplate ( Nop.Core.Domain.Messages.MessageTemplate messageTemplate ) : void

Inserts a message template

MessageTemplateService ( ICacheManager cacheManager, IRepository messageTemplateRepository, IEventPublisher eventPublisher ) : System

Ctor

UpdateMessageTemplate ( Nop.Core.Domain.Messages.MessageTemplate messageTemplate ) : void

Updates a message template

Method Details

DeleteMessageTemplate() public méthode

Delete a message template
public DeleteMessageTemplate ( Nop.Core.Domain.Messages.MessageTemplate messageTemplate ) : void
messageTemplate Nop.Core.Domain.Messages.MessageTemplate Message template
Résultat void

GetAllMessageTemplates() public méthode

Gets all message templates
public GetAllMessageTemplates ( ) : IList
Résultat IList

GetMessageTemplateById() public méthode

Gets a message template
public GetMessageTemplateById ( int messageTemplateId ) : Nop.Core.Domain.Messages.MessageTemplate
messageTemplateId int Message template identifier
Résultat Nop.Core.Domain.Messages.MessageTemplate

GetMessageTemplateByName() public méthode

Gets a message template
public GetMessageTemplateByName ( string messageTemplateName ) : Nop.Core.Domain.Messages.MessageTemplate
messageTemplateName string Message template name
Résultat Nop.Core.Domain.Messages.MessageTemplate

InsertMessageTemplate() public méthode

Inserts a message template
public InsertMessageTemplate ( Nop.Core.Domain.Messages.MessageTemplate messageTemplate ) : void
messageTemplate Nop.Core.Domain.Messages.MessageTemplate Message template
Résultat void

MessageTemplateService() public méthode

Ctor
public MessageTemplateService ( ICacheManager cacheManager, IRepository messageTemplateRepository, IEventPublisher eventPublisher ) : System
cacheManager ICacheManager Cache manager
messageTemplateRepository IRepository Message template repository
eventPublisher IEventPublisher Event published
Résultat System

UpdateMessageTemplate() public méthode

Updates a message template
public UpdateMessageTemplate ( Nop.Core.Domain.Messages.MessageTemplate messageTemplate ) : void
messageTemplate Nop.Core.Domain.Messages.MessageTemplate Message template
Résultat void