C# Class Nop.Services.Messages.MessageTemplateService

Inheritance: IMessageTemplateService
Exibir arquivo Open project: emilianionascu/NopCommerce

Public Methods

Method 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 method

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

GetAllMessageTemplates() public method

Gets all message templates
public GetAllMessageTemplates ( ) : IList
return IList

GetMessageTemplateById() public method

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

GetMessageTemplateByName() public method

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

InsertMessageTemplate() public method

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

MessageTemplateService() public method

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

UpdateMessageTemplate() public method

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