Interface IAuditService
- Namespace
- Dynamicweb.Auditing
- Assembly
- Dynamicweb.dll
The IAuditService interface defines operations for working with the Audit Aggregate
[Obsolete("Use AuditService instead.")]
public interface IAuditService
Properties
Disabled
Gets or sets possibility to add audit event.
bool Disabled { get; set; }
Property Value
Methods
CountByQuery(AuditQuery)
Get audit events list by query
int CountByQuery(AuditQuery query)
Parameters
query
AuditQuery
Returns
Delete(int)
Delete audit event by identifier
bool Delete(int autoId)
Parameters
autoId
int
Returns
DeleteByQuery(AuditQuery)
Delete audit events by query
int DeleteByQuery(AuditQuery query)
Parameters
query
AuditQuery
Returns
GetById(int)
Gets audit event by identifier
Audit GetById(int autoId)
Parameters
autoId
int
Returns
GetByIds(IEnumerable<int>)
Gets audits events by identifiers
IEnumerable<Audit> GetByIds(IEnumerable<int> autoIds)
Parameters
autoIds
IEnumerable<int>
Returns
GetByIds(IEnumerable<int>, AuditQuery)
Gets audits events by identifiers
IEnumerable<Audit> GetByIds(IEnumerable<int> autoIds, AuditQuery additionalQuery)
Parameters
autoIds
IEnumerable<int>additionalQuery
AuditQuery
Returns
GetByQuery(AuditQuery)
Get audit events list by query
IEnumerable<Audit> GetByQuery(AuditQuery query)
Parameters
query
AuditQuery
Returns
GetDetails(Audit)
Get all audit details by audit identifier
IEnumerable<AuditDetail> GetDetails(Audit auditEvent)
Parameters
auditEvent
Audit
Returns
GetDetails(IEnumerable<Audit>)
Get audits details by audits identifiers
IEnumerable<AuditDetail> GetDetails(IEnumerable<Audit> auditEvents)
Parameters
auditEvents
IEnumerable<Audit>
Returns
GetUniqueActions(AuditQuery)
IEnumerable<string> GetUniqueActions(AuditQuery auditQuery)
Parameters
auditQuery
AuditQuery
Returns
GetUniqueTypes(AuditQuery)
IEnumerable<string> GetUniqueTypes(AuditQuery auditQuery)
Parameters
auditQuery
AuditQuery
Returns
MoveAudits(List<AuditMoveSetting>)
void MoveAudits(List<AuditMoveSetting> auditsMoveSettings)
Parameters
auditsMoveSettings
List<AuditMoveSetting>
Save(Audit)
Add new audit event
void Save(Audit audit)
Parameters
audit
Audit- The audit event
Save(Audit, IEnumerable<AuditDetail>)
Add new audit event if it is new and create audit details for it.
void Save(Audit audit, IEnumerable<AuditDetail> details)
Parameters
audit
Audit- The audit
details
IEnumerable<AuditDetail>- List of the audit details
Save(Audit, string)
Add new audit event
void Save(Audit audit, string deletedObjectInfo)