Package org.alfresco.rest.v0.service
Class RMAuditService
java.lang.Object
org.alfresco.rest.v0.service.RMAuditService
Produces processed results from RM Audit REST API calls
- Since:
- 3.3
- Author:
- Claudia Agache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAuditLogForEvent(org.alfresco.utility.model.UserModel user, AuditEvents auditEvent, org.alfresco.utility.model.UserModel auditUser, String nodeName, String nodePath, List<Object> changedValues) Checks the rm audit log contains the entry for the given event.voidcheckAuditLogForEvent(org.alfresco.utility.model.UserModel user, AuditEvents auditEvent, org.alfresco.utility.model.UserModel auditUser, String nodeName, List<Object> changedValues) Checks the rm audit log contains the entry for the given event.voidClear the list of audit entries as admin user.getAuditEntriesFilteredByEvent(org.alfresco.utility.model.UserModel user, AuditEvents auditEvent) Returns a list of rm audit entries filtered by given event
-
Constructor Details
-
RMAuditService
public RMAuditService()
-
-
Method Details
-
clearAuditLog
public void clearAuditLog()Clear the list of audit entries as admin user. -
getAuditEntriesFilteredByEvent
public List<AuditEntry> getAuditEntriesFilteredByEvent(org.alfresco.utility.model.UserModel user, AuditEvents auditEvent) Returns a list of rm audit entries filtered by given event- Parameters:
user- the user who requests the list of rm audit entriesauditEvent- the event- Returns:
- the list of audit entries matching the event
-
checkAuditLogForEvent
public void checkAuditLogForEvent(org.alfresco.utility.model.UserModel user, AuditEvents auditEvent, org.alfresco.utility.model.UserModel auditUser, String nodeName, List<Object> changedValues) Checks the rm audit log contains the entry for the given event.- Parameters:
user- the user who checks the audit logauditEvent- the audited eventauditUser- the user who did the audited eventnodeName- the audited node name if exists or empty stringchangedValues- the values changed by event if exist or empty list
-
checkAuditLogForEvent
public void checkAuditLogForEvent(org.alfresco.utility.model.UserModel user, AuditEvents auditEvent, org.alfresco.utility.model.UserModel auditUser, String nodeName, String nodePath, List<Object> changedValues) Checks the rm audit log contains the entry for the given event.- Parameters:
user- the user who checks the audit logauditEvent- the audited eventauditUser- the user who did the audited eventnodeName- the audited node name if exists or empty stringnodePath- the path of the audited node if exists or empty stringchangedValues- the values changed by event if exist or empty list
-