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:
Derek Hulley
2010-07-29 12:15:27 +00:00
parent 77967ef61b
commit 73bdab1db9
7 changed files with 154 additions and 97 deletions

View File

@@ -18,6 +18,8 @@
*/
package org.alfresco.repo.audit.model;
import java.util.Map;
import org.alfresco.util.PathMapper;
/**
@@ -43,9 +45,18 @@ public interface AuditModelRegistry
/**
* Determines whether audit is globally enabled or disabled.
*
* @return <code>true</code>, if audit is enabled
* @return <code>true</code> if audit is enabled
*/
public boolean isAuditEnabled();
/**
* Get a map of all audit applications key by name
*
* @return the audit applications
*
* @since 3.4
*/
public Map<String, AuditApplication> getAuditApplications();
/**
* Get the application model for the given root key (as defined on the application)
@@ -65,7 +76,7 @@ public interface AuditModelRegistry
/**
* Get the path mapper.
* @return the path mapper
* @return the path mapper
*/
public PathMapper getAuditPathMapper();
}