Class AuditLogsAppService
Inheritance
AuditLogsAppService
Assembly: Volo.Abp.AuditLogging.Application.dll
Syntax
[RequiresFeature(new string[] { "AuditLogging.Enable" })]
[Authorize("AuditLogging.AuditLogs")]
[DisableAuditing]
public class AuditLogsAppService : AuditLogsAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, IAuditLogsAppService, IApplicationService, IRemoteService
Constructors
AuditLogsAppService(IAuditLogRepository, IJsonSerializer, IPermissionChecker, IPermissionDefinitionManager, IAuditLogExcelExportService, IEntityChangeExcelExportService, IBackgroundJobManager, IExcelFileDownloadService)
Declaration
public AuditLogsAppService(IAuditLogRepository auditLogRepository, IJsonSerializer jsonSerializer, IPermissionChecker permissionChecker, IPermissionDefinitionManager permissionDefinitionManager, IAuditLogExcelExportService excelExportService, IEntityChangeExcelExportService entityChangeExcelExportService, IBackgroundJobManager backgroundJobManager, IExcelFileDownloadService excelFileDownloadService)
Parameters
Properties
AuditLogRepository
Declaration
protected IAuditLogRepository AuditLogRepository { get; }
Property Value
BackgroundJobManager
Declaration
protected IBackgroundJobManager BackgroundJobManager { get; }
Property Value
EntityChangeExcelExportService
Declaration
protected IEntityChangeExcelExportService EntityChangeExcelExportService { get; }
Property Value
ExcelExportService
Declaration
protected IAuditLogExcelExportService ExcelExportService { get; }
Property Value
ExcelFileDownloadService
Declaration
protected IExcelFileDownloadService ExcelFileDownloadService { get; }
Property Value
JsonSerializer
Declaration
protected IJsonSerializer JsonSerializer { get; }
Property Value
PermissionChecker
Declaration
protected IPermissionChecker PermissionChecker { get; }
Property Value
PermissionDefinitionManager
Declaration
protected IPermissionDefinitionManager PermissionDefinitionManager { get; }
Property Value
Methods
CheckPermissionForEntity(string)
Declaration
protected virtual Task CheckPermissionForEntity(string entityFullName)
Parameters
| Type |
Name |
Description |
| string |
entityFullName |
|
Returns
DownloadExcelAsync(string)
Declaration
[Authorize("AuditLogging.AuditLogs.Export")]
public Task<IRemoteStreamContent> DownloadExcelAsync(string fileName)
Parameters
| Type |
Name |
Description |
| string |
fileName |
|
Returns
Declaration
[Authorize("AuditLogging.AuditLogs.Export")]
public virtual Task<ExportEntityChangesOutput> ExportEntityChangesToExcelAsync(ExportEntityChangesInput input)
Parameters
Returns
Declaration
[Authorize("AuditLogging.AuditLogs.Export")]
public virtual Task<ExportAuditLogsOutput> ExportToExcelAsync(ExportAuditLogsInput input)
Parameters
Returns
GetAsync(Guid)
Declaration
public virtual Task<AuditLogDto> GetAsync(Guid id)
Parameters
| Type |
Name |
Description |
| Guid |
id |
|
Returns
Declaration
public virtual Task<GetAverageExecutionDurationPerDayOutput> GetAverageExecutionDurationPerDayAsync(GetAverageExecutionDurationPerDayInput filter)
Parameters
Returns
GetEntityChangeAsync(Guid)
Declaration
public virtual Task<EntityChangeDto> GetEntityChangeAsync(Guid entityChangeId)
Parameters
| Type |
Name |
Description |
| Guid |
entityChangeId |
|
Returns
GetEntityChangeWithUsernameAsync(Guid)
Declaration
public virtual Task<EntityChangeWithUsernameDto> GetEntityChangeWithUsernameAsync(Guid entityChangeId)
Parameters
| Type |
Name |
Description |
| Guid |
entityChangeId |
|
Returns
GetEntityChangesAsync(GetEntityChangesDto)
Declaration
public virtual Task<PagedResultDto<EntityChangeDto>> GetEntityChangesAsync(GetEntityChangesDto input)
Parameters
Returns
GetEntityChangesWithUsernameAsync(EntityChangeFilter)
Declaration
[AllowAnonymous]
public virtual Task<List<EntityChangeWithUsernameDto>> GetEntityChangesWithUsernameAsync(EntityChangeFilter input)
Parameters
Returns
GetErrorRateAsync(GetErrorRateFilter)
Declaration
public virtual Task<GetErrorRateOutput> GetErrorRateAsync(GetErrorRateFilter filter)
Parameters
Returns
GetListAsync(GetAuditLogListDto)
Declaration
public virtual Task<PagedResultDto<AuditLogDto>> GetListAsync(GetAuditLogListDto input)
Parameters
Returns
Implements
Extension Methods