C# Class Affecto.AuditTrail.ApplicationServices.AuditTrailService

Inheritance: IAuditTrailService
Exibir arquivo Open project: affecto/dotnet-AuditTrail

Public Methods

Method Description
AuditTrailService ( IAuditTrailQueryService queryService, ICommandBus commandBus, IAuthenticatedUserContext userContext ) : System
CreateEntry ( System.Guid subjectId, System.Guid userId, string summary, string subjectName, string userName ) : IAuditTrailEntry
CreateEntry ( System.Guid subjectId, string summary, string subjectName, string userName ) : IAuditTrailEntry
GetEntries ( IAuditTrailFilter filter ) : IAuditTrailResult
GetEntries ( ) : IEnumerable
GetEntriesForSubject ( System.Guid subjectId ) : IEnumerable
GetEntry ( System.Guid auditTrailEntryId ) : IAuditTrailEntry

Private Methods

Method Description
CheckPermission ( string permission ) : void

Method Details

AuditTrailService() public method

public AuditTrailService ( IAuditTrailQueryService queryService, ICommandBus commandBus, IAuthenticatedUserContext userContext ) : System
queryService IAuditTrailQueryService
commandBus ICommandBus
userContext IAuthenticatedUserContext
return System

CreateEntry() public method

public CreateEntry ( System.Guid subjectId, System.Guid userId, string summary, string subjectName, string userName ) : IAuditTrailEntry
subjectId System.Guid
userId System.Guid
summary string
subjectName string
userName string
return IAuditTrailEntry

CreateEntry() public method

public CreateEntry ( System.Guid subjectId, string summary, string subjectName, string userName ) : IAuditTrailEntry
subjectId System.Guid
summary string
subjectName string
userName string
return IAuditTrailEntry

GetEntries() public method

public GetEntries ( IAuditTrailFilter filter ) : IAuditTrailResult
filter IAuditTrailFilter
return IAuditTrailResult

GetEntries() public method

public GetEntries ( ) : IEnumerable
return IEnumerable

GetEntriesForSubject() public method

public GetEntriesForSubject ( System.Guid subjectId ) : IEnumerable
subjectId System.Guid
return IEnumerable

GetEntry() public method

public GetEntry ( System.Guid auditTrailEntryId ) : IAuditTrailEntry
auditTrailEntryId System.Guid
return IAuditTrailEntry