C# Class Nop.Admin.Controllers.CustomerController

Inheritance: Nop.Admin.Controllers.BaseAdminController
Mostrar archivo Open project: grandnode/grandnode

Public Methods

Method Description
AddressCreate ( int customerId ) : System.Web.Mvc.ActionResult
AddressEdit ( int addressId, int customerId ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
CustomerController ( ICustomerService customerService, INewsLetterSubscriptionService newsLetterSubscriptionService, IGenericAttributeService genericAttributeService, ICustomerRegistrationService customerRegistrationService, ICustomerReportService customerReportService, IDateTimeHelper dateTimeHelper, ILocalizationService localizationService, IRewardPointsService rewardPointsService, Nop.Services.Helpers.DateTimeSettings dateTimeSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, Nop.Core.Domain.Customers.RewardPointsSettings rewardPointsSettings, ICountryService countryService, IStateProvinceService stateProvinceService, IAddressService addressService, CustomerSettings customerSettings, ITaxService taxService, IWorkContext workContext, IVendorService vendorService, IStoreContext storeContext, IPriceFormatter priceFormatter, IOrderService orderService, IExportManager exportManager, ICustomerActivityService customerActivityService, IPriceCalculationService priceCalculationService, IProductAttributeFormatter productAttributeFormatter, IPermissionService permissionService, IQueuedEmailService queuedEmailService, Nop.Core.Domain.Messages.EmailAccountSettings emailAccountSettings, IEmailAccountService emailAccountService, Nop.Core.Domain.Forums.ForumSettings forumSettings, IForumService forumService, IOpenAuthenticationService openAuthenticationService, Nop.Core.Domain.Common.AddressSettings addressSettings, CommonSettings commonSettings, IStoreService storeService, ICustomerAttributeParser customerAttributeParser, ICustomerAttributeService customerAttributeService, IAddressAttributeParser addressAttributeParser, IAddressAttributeService addressAttributeService, IAddressAttributeFormatter addressAttributeFormatter, IAffiliateService affiliateService, IWorkflowMessageService workflowMessageService, IBackInStockSubscriptionService backInStockSubscriptionService, IContactUsService contactUsService, ICustomerTagService customerTagService ) : System
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
List ( ) : System.Web.Mvc.ActionResult
Reports ( ) : System.Web.Mvc.ActionResult
SendEmail ( CustomerModel model ) : System.Web.Mvc.ActionResult
SendPm ( CustomerModel model ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddressCreate ( Nop.Admin.Models.Customers.CustomerAddressModel model, System.Web.Mvc.FormCollection form ) : System.Web.Mvc.ActionResult
AddressDelete ( int id, int customerId ) : System.Web.Mvc.ActionResult
AddressEdit ( Nop.Admin.Models.Customers.CustomerAddressModel model, System.Web.Mvc.FormCollection form ) : System.Web.Mvc.ActionResult
AddressesSelect ( int customerId, Nop.Web.Framework.Kendoui.DataSourceRequest command ) : System.Web.Mvc.ActionResult
BackInStockSubscriptionList ( Nop.Web.Framework.Kendoui.DataSourceRequest command, int customerId ) : System.Web.Mvc.ActionResult
ChangePassword ( CustomerModel model ) : System.Web.Mvc.ActionResult
ContactFormList ( Nop.Web.Framework.Kendoui.DataSourceRequest command, int customerId ) : System.Web.Mvc.ActionResult
Create ( CustomerModel model, bool continueEditing, System.Web.Mvc.FormCollection form ) : System.Web.Mvc.ActionResult
CustomerList ( Nop.Web.Framework.Kendoui.DataSourceRequest command, Nop.Admin.Models.Customers.CustomerListModel model, [ searchCustomerRoleIds ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( CustomerModel model, bool continueEditing, System.Web.Mvc.FormCollection form ) : System.Web.Mvc.ActionResult
ExportExcelAll ( Nop.Admin.Models.Customers.CustomerListModel model ) : System.Web.Mvc.ActionResult
ExportExcelSelected ( string selectedIds ) : System.Web.Mvc.ActionResult
ExportXmlAll ( Nop.Admin.Models.Customers.CustomerListModel model ) : System.Web.Mvc.ActionResult
ExportXmlSelected ( string selectedIds ) : System.Web.Mvc.ActionResult
GetAssociatedExternalAuthRecords ( Customer customer ) : IList
GetCartList ( int customerId, int cartTypeId ) : System.Web.Mvc.ActionResult
GetCustomerRolesNames ( IList customerRoles, string separator = "," ) : string
GetReportRegisteredCustomersModel ( ) : IList
Impersonate ( int id ) : System.Web.Mvc.ActionResult
ListActivityLog ( Nop.Web.Framework.Kendoui.DataSourceRequest command, int customerId ) : System.Web.Mvc.ActionResult
MarkVatNumberAsInvalid ( CustomerModel model ) : System.Web.Mvc.ActionResult
MarkVatNumberAsValid ( CustomerModel model ) : System.Web.Mvc.ActionResult
OrderList ( int customerId, Nop.Web.Framework.Kendoui.DataSourceRequest command ) : System.Web.Mvc.ActionResult
ParseCustomCustomerAttributes ( Customer customer, System.Web.Mvc.FormCollection form ) : string
ParseCustomerTags ( string customerTags ) : string[]
PrepareAddressModel ( Nop.Admin.Models.Customers.CustomerAddressModel model, Nop.Core.Domain.Common.Address address, Customer customer, bool excludeProperties ) : void
PrepareCustomerAttributeModel ( CustomerModel model, Customer customer ) : void
PrepareCustomerModel ( CustomerModel model, Customer customer, bool excludeProperties ) : void
PrepareCustomerModelForList ( Customer customer ) : CustomerModel
PrepareVendorsModel ( CustomerModel model ) : void
ReSendActivationMessage ( CustomerModel model ) : System.Web.Mvc.ActionResult
RemoveAffiliate ( CustomerModel model ) : System.Web.Mvc.ActionResult
ReportBestCustomersByNumberOfOrdersList ( Nop.Web.Framework.Kendoui.DataSourceRequest command, Nop.Admin.Models.Customers.BestCustomersReportModel model ) : System.Web.Mvc.ActionResult
ReportBestCustomersByOrderTotalList ( Nop.Web.Framework.Kendoui.DataSourceRequest command, Nop.Admin.Models.Customers.BestCustomersReportModel model ) : System.Web.Mvc.ActionResult
ReportRegisteredCustomers ( ) : System.Web.Mvc.ActionResult
ReportRegisteredCustomersList ( Nop.Web.Framework.Kendoui.DataSourceRequest command ) : System.Web.Mvc.ActionResult
RewardPointsHistoryAdd ( int customerId, int storeId, int addRewardPointsValue, string addRewardPointsMessage ) : System.Web.Mvc.ActionResult
RewardPointsHistorySelect ( int customerId ) : System.Web.Mvc.ActionResult
SaveCustomerTags ( Customer customer, string customerTags ) : void
SendWelcomeMessage ( CustomerModel model ) : System.Web.Mvc.ActionResult
ValidateCustomerRoles ( IList customerRoles ) : string

Method Details

AddressCreate() public method

public AddressCreate ( int customerId ) : System.Web.Mvc.ActionResult
customerId int
return System.Web.Mvc.ActionResult

AddressEdit() public method

public AddressEdit ( int addressId, int customerId ) : System.Web.Mvc.ActionResult
addressId int
customerId int
return System.Web.Mvc.ActionResult

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

CustomerController() public method

public CustomerController ( ICustomerService customerService, INewsLetterSubscriptionService newsLetterSubscriptionService, IGenericAttributeService genericAttributeService, ICustomerRegistrationService customerRegistrationService, ICustomerReportService customerReportService, IDateTimeHelper dateTimeHelper, ILocalizationService localizationService, IRewardPointsService rewardPointsService, Nop.Services.Helpers.DateTimeSettings dateTimeSettings, Nop.Core.Domain.Tax.TaxSettings taxSettings, Nop.Core.Domain.Customers.RewardPointsSettings rewardPointsSettings, ICountryService countryService, IStateProvinceService stateProvinceService, IAddressService addressService, CustomerSettings customerSettings, ITaxService taxService, IWorkContext workContext, IVendorService vendorService, IStoreContext storeContext, IPriceFormatter priceFormatter, IOrderService orderService, IExportManager exportManager, ICustomerActivityService customerActivityService, IPriceCalculationService priceCalculationService, IProductAttributeFormatter productAttributeFormatter, IPermissionService permissionService, IQueuedEmailService queuedEmailService, Nop.Core.Domain.Messages.EmailAccountSettings emailAccountSettings, IEmailAccountService emailAccountService, Nop.Core.Domain.Forums.ForumSettings forumSettings, IForumService forumService, IOpenAuthenticationService openAuthenticationService, Nop.Core.Domain.Common.AddressSettings addressSettings, CommonSettings commonSettings, IStoreService storeService, ICustomerAttributeParser customerAttributeParser, ICustomerAttributeService customerAttributeService, IAddressAttributeParser addressAttributeParser, IAddressAttributeService addressAttributeService, IAddressAttributeFormatter addressAttributeFormatter, IAffiliateService affiliateService, IWorkflowMessageService workflowMessageService, IBackInStockSubscriptionService backInStockSubscriptionService, IContactUsService contactUsService, ICustomerTagService customerTagService ) : System
customerService ICustomerService
newsLetterSubscriptionService INewsLetterSubscriptionService
genericAttributeService IGenericAttributeService
customerRegistrationService ICustomerRegistrationService
customerReportService ICustomerReportService
dateTimeHelper IDateTimeHelper
localizationService ILocalizationService
rewardPointsService IRewardPointsService
dateTimeSettings Nop.Services.Helpers.DateTimeSettings
taxSettings Nop.Core.Domain.Tax.TaxSettings
rewardPointsSettings Nop.Core.Domain.Customers.RewardPointsSettings
countryService ICountryService
stateProvinceService IStateProvinceService
addressService IAddressService
customerSettings Nop.Core.Domain.Customers.CustomerSettings
taxService ITaxService
workContext IWorkContext
vendorService IVendorService
storeContext IStoreContext
priceFormatter IPriceFormatter
orderService IOrderService
exportManager IExportManager
customerActivityService ICustomerActivityService
priceCalculationService IPriceCalculationService
productAttributeFormatter IProductAttributeFormatter
permissionService IPermissionService
queuedEmailService IQueuedEmailService
emailAccountSettings Nop.Core.Domain.Messages.EmailAccountSettings
emailAccountService IEmailAccountService
forumSettings Nop.Core.Domain.Forums.ForumSettings
forumService IForumService
openAuthenticationService IOpenAuthenticationService
addressSettings Nop.Core.Domain.Common.AddressSettings
commonSettings Nop.Core.Domain.Common.CommonSettings
storeService IStoreService
customerAttributeParser ICustomerAttributeParser
customerAttributeService ICustomerAttributeService
addressAttributeParser IAddressAttributeParser
addressAttributeService IAddressAttributeService
addressAttributeFormatter IAddressAttributeFormatter
affiliateService IAffiliateService
workflowMessageService IWorkflowMessageService
backInStockSubscriptionService IBackInStockSubscriptionService
contactUsService IContactUsService
customerTagService ICustomerTagService
return System

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

List() public method

public List ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Reports() public method

public Reports ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

SendEmail() public method

public SendEmail ( CustomerModel model ) : System.Web.Mvc.ActionResult
model Nop.Admin.Models.Customers.CustomerModel
return System.Web.Mvc.ActionResult

SendPm() public method

public SendPm ( CustomerModel model ) : System.Web.Mvc.ActionResult
model Nop.Admin.Models.Customers.CustomerModel
return System.Web.Mvc.ActionResult