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:
@@ -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();
|
||||
}
|
Reference in New Issue
Block a user