C# 클래스 Nop.Services.Customers.CustomerTagService

Customer tag service
상속: ICustomerTagService
파일 보기 프로젝트 열기: grandnode/grandnode

공개 메소드들

메소드 설명
CustomerTagService ( IRepository customerTagRepository, IRepository customerRepository, CommonSettings commonSettings, IEventPublisher eventPublisher ) : System

Ctor

DeleteCustomerTag ( CustomerTag customerTag ) : void

Delete a customer tag

DeleteTagFromCustomer ( int customerTagId, int customerId ) : void

Delete tag from a customer

GetAllCustomerTags ( ) : IList

Gets all customer tags

GetCustomerCount ( int customerTagId ) : int

Get number of customers

GetCustomerTagById ( int customerTagId ) : CustomerTag

Gets customer tag

GetCustomerTagByName ( string name ) : CustomerTag

Gets customer tag by name

GetCustomerTagsByName ( string name ) : IList

Gets customer tags search by name

GetCustomersByTag ( int customerTagId, int pageIndex, int pageSize = 2147483647 ) : IPagedList

Gets all customer for tag id

InsertCustomerTag ( CustomerTag customerTag ) : void

Inserts a customer tag

InsertTagToCustomer ( int customerTagId, int customerId ) : void

Insert tag to a customer

UpdateCustomerTag ( CustomerTag customerTag ) : void

Updates the customer tag

메소드 상세

CustomerTagService() 공개 메소드

Ctor
public CustomerTagService ( IRepository customerTagRepository, IRepository customerRepository, CommonSettings commonSettings, IEventPublisher eventPublisher ) : System
customerTagRepository IRepository Customer tag repository
customerRepository IRepository
commonSettings Nop.Core.Domain.Common.CommonSettings Common settings
eventPublisher IEventPublisher Event published
리턴 System

DeleteCustomerTag() 공개 메소드

Delete a customer tag
public DeleteCustomerTag ( CustomerTag customerTag ) : void
customerTag Nop.Core.Domain.Customers.CustomerTag Customer tag
리턴 void

DeleteTagFromCustomer() 공개 메소드

Delete tag from a customer
public DeleteTagFromCustomer ( int customerTagId, int customerId ) : void
customerTagId int
customerId int
리턴 void

GetAllCustomerTags() 공개 메소드

Gets all customer tags
public GetAllCustomerTags ( ) : IList
리턴 IList

GetCustomerCount() 공개 메소드

Get number of customers
public GetCustomerCount ( int customerTagId ) : int
customerTagId int Customer tag identifier
리턴 int

GetCustomerTagById() 공개 메소드

Gets customer tag
public GetCustomerTagById ( int customerTagId ) : CustomerTag
customerTagId int Customer tag identifier
리턴 Nop.Core.Domain.Customers.CustomerTag

GetCustomerTagByName() 공개 메소드

Gets customer tag by name
public GetCustomerTagByName ( string name ) : CustomerTag
name string Customer tag name
리턴 Nop.Core.Domain.Customers.CustomerTag

GetCustomerTagsByName() 공개 메소드

Gets customer tags search by name
public GetCustomerTagsByName ( string name ) : IList
name string Customer tags name
리턴 IList

GetCustomersByTag() 공개 메소드

Gets all customer for tag id
public GetCustomersByTag ( int customerTagId, int pageIndex, int pageSize = 2147483647 ) : IPagedList
customerTagId int
pageIndex int
pageSize int
리턴 IPagedList

InsertCustomerTag() 공개 메소드

Inserts a customer tag
public InsertCustomerTag ( CustomerTag customerTag ) : void
customerTag Nop.Core.Domain.Customers.CustomerTag Customer tag
리턴 void

InsertTagToCustomer() 공개 메소드

Insert tag to a customer
public InsertTagToCustomer ( int customerTagId, int customerId ) : void
customerTagId int
customerId int
리턴 void

UpdateCustomerTag() 공개 메소드

Updates the customer tag
public UpdateCustomerTag ( CustomerTag customerTag ) : void
customerTag Nop.Core.Domain.Customers.CustomerTag Customer tag
리턴 void