Method | Description | |
---|---|---|
ClearAllActivities ( ) : void |
Clears activity log
|
|
CustomerActivityService ( ICacheManager cacheManager, IRepository |
Ctor
|
|
DeleteActivity ( Nop.Core.Domain.Logging.ActivityLog activityLog ) : void |
Deletes an activity log item
|
|
DeleteActivityType ( |
Deletes an activity log type item
|
|
GetActivityById ( int activityLogId ) : Nop.Core.Domain.Logging.ActivityLog |
Gets an activity log item
|
|
GetActivityTypeById ( int activityLogTypeId ) : |
Gets an activity log type item
|
|
GetAllActivities ( System.DateTime createdOnFrom, System.DateTime createdOnTo, int customerId, int activityLogTypeId, int pageIndex, int pageSize ) : IPagedList |
Gets all activity log items
|
|
GetAllActivityTypes ( ) : IList |
Gets all activity log type items
|
|
InsertActivity ( string systemKeyword, string comment ) : Nop.Core.Domain.Logging.ActivityLog |
Inserts an activity log item
|
|
InsertActivity ( string systemKeyword, string comment, |
Inserts an activity log item
|
|
InsertActivityType ( |
Inserts an activity log type item
|
|
UpdateActivityType ( |
Updates an activity log type item
|
public CustomerActivityService ( ICacheManager cacheManager, IRepository |
||
cacheManager | ICacheManager | Cache manager |
activityLogRepository | IRepository |
Activity log repository |
activityLogTypeRepository | IRepository |
Activity log type repository |
workContext | IWorkContext | Work context |
dbContext | IDbContext | DB context |
dataProvider | IDataProvider | WeData provider |
commonSettings | Common settings | |
return | System |
public DeleteActivity ( Nop.Core.Domain.Logging.ActivityLog activityLog ) : void | ||
activityLog | Nop.Core.Domain.Logging.ActivityLog | Activity log type |
return | void |
public DeleteActivityType ( |
||
activityLogType | Activity log type | |
return | void |
public GetActivityById ( int activityLogId ) : Nop.Core.Domain.Logging.ActivityLog | ||
activityLogId | int | Activity log identifier |
return | Nop.Core.Domain.Logging.ActivityLog |
public GetActivityTypeById ( int activityLogTypeId ) : |
||
activityLogTypeId | int | Activity log type identifier |
return |
public GetAllActivities ( System.DateTime createdOnFrom, System.DateTime createdOnTo, int customerId, int activityLogTypeId, int pageIndex, int pageSize ) : IPagedList |
||
createdOnFrom | System.DateTime | Log item creation from; null to load all customers |
createdOnTo | System.DateTime | Log item creation to; null to load all customers |
customerId | int | Customer identifier; null to load all customers |
activityLogTypeId | int | Activity log type identifier |
pageIndex | int | Page index |
pageSize | int | Page size |
return | IPagedList |
public InsertActivity ( string systemKeyword, string comment ) : Nop.Core.Domain.Logging.ActivityLog | ||
systemKeyword | string | The system keyword |
comment | string | The activity comment |
return | Nop.Core.Domain.Logging.ActivityLog |
public InsertActivity ( string systemKeyword, string comment, |
||
systemKeyword | string | The system keyword |
comment | string | The activity comment |
customer | The customer | |
return | Nop.Core.Domain.Logging.ActivityLog |
public InsertActivityType ( |
||
activityLogType | Activity log type item | |
return | void |
public UpdateActivityType ( |
||
activityLogType | Activity log type item | |
return | void |