mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-4106 (ALF-4103): AuditService enhancements
- Additional methods to get all available applications - Web Script retrieval of applications and enabled/disabled states - Tests git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21485 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -157,6 +157,16 @@ public class AuditComponentImpl implements AuditComponent
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @since 3.4
|
||||
*/
|
||||
public Set<String> getAuditApplications()
|
||||
{
|
||||
Map<String, AuditApplication> auditApps = auditModelRegistry.getAuditApplications();
|
||||
return auditApps.keySet();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @since 3.2
|
||||
@@ -199,7 +209,7 @@ public class AuditComponentImpl implements AuditComponent
|
||||
|
||||
Set<String> disabledPaths = getDisabledPaths(application);
|
||||
|
||||
// Check if there are any entries that match or superced the given path
|
||||
// Check if there are any entries that match or supercede the given path
|
||||
String disablingPath = null;;
|
||||
for (String disabledPath : disabledPaths)
|
||||
{
|
||||
|
Reference in New Issue
Block a user