Метод | Описание | |
---|---|---|
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 | |
Результат | System |
public DeleteActivity ( Nop.Core.Domain.Logging.ActivityLog activityLog ) : void | ||
activityLog | Nop.Core.Domain.Logging.ActivityLog | Activity log type |
Результат | void |
public DeleteActivityType ( |
||
activityLogType | Activity log type | |
Результат | void |
public GetActivityById ( int activityLogId ) : Nop.Core.Domain.Logging.ActivityLog | ||
activityLogId | int | Activity log identifier |
Результат | Nop.Core.Domain.Logging.ActivityLog |
public GetActivityTypeById ( int activityLogTypeId ) : |
||
activityLogTypeId | int | Activity log type identifier |
Результат |
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 |
Результат | IPagedList |
public InsertActivity ( string systemKeyword, string comment ) : Nop.Core.Domain.Logging.ActivityLog | ||
systemKeyword | string | The system keyword |
comment | string | The activity comment |
Результат | Nop.Core.Domain.Logging.ActivityLog |
public InsertActivity ( string systemKeyword, string comment, |
||
systemKeyword | string | The system keyword |
comment | string | The activity comment |
customer | The customer | |
Результат | Nop.Core.Domain.Logging.ActivityLog |
public InsertActivityType ( |
||
activityLogType | Activity log type item | |
Результат | void |
public UpdateActivityType ( |
||
activityLogType | Activity log type item | |
Результат | void |