mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added 'enableAuditPath' and 'disableAuditPath'
- Various tests to see that the recorded data is changed - disabledPaths rely entirely on the property caching for fast retrieval git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16271 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -209,7 +209,6 @@ public abstract class AbstractAuditDAOImpl implements AuditDAO
|
||||
* alf_audit_application
|
||||
*/
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public AuditApplicationInfo getAuditApplication(String application)
|
||||
{
|
||||
AuditApplicationEntity entity = getAuditApplicationByName(application);
|
||||
@@ -223,9 +222,7 @@ public abstract class AbstractAuditDAOImpl implements AuditDAO
|
||||
appInfo.setId(entity.getId());
|
||||
appInfo.setname(application);
|
||||
appInfo.setModelId(entity.getAuditModelId());
|
||||
// Resolve the disabled paths
|
||||
Set<String> disabledPaths = (Set<String>) propertyValueDAO.getPropertyById(entity.getDisabledPathsId());
|
||||
appInfo.setDisabledPaths(disabledPaths);
|
||||
appInfo.setDisabledPathsId(entity.getDisabledPathsId());
|
||||
// Done
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
@@ -252,7 +249,7 @@ public abstract class AbstractAuditDAOImpl implements AuditDAO
|
||||
appInfo.setId(entity.getId());
|
||||
appInfo.setname(application);
|
||||
appInfo.setModelId(modelId);
|
||||
appInfo.setDisabledPaths(disabledPaths);
|
||||
appInfo.setDisabledPathsId(disabledPathsId);
|
||||
// Done
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
|
Reference in New Issue
Block a user