mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
[ACS-9736] Update audit model documentation and implement inheritance in AuditModelRegistry
This commit is contained in:
@@ -59,7 +59,7 @@ public interface AuditModelRegistry
|
|||||||
public boolean isAuditEnabled();
|
public boolean isAuditEnabled();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines whether audit values should be stored in database.
|
* Determines whether audit values should be stored in database. <code>True</code> by default if not changed by property.
|
||||||
*
|
*
|
||||||
* @return <code>true</code> if audit is enabled.
|
* @return <code>true</code> if audit is enabled.
|
||||||
*/
|
*/
|
||||||
|
@@ -252,6 +252,9 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
|||||||
return value != null && value.equalsIgnoreCase("true");
|
return value != null && value.equalsIgnoreCase("true");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isAuditingToDatabaseEnabled()
|
public boolean isAuditingToDatabaseEnabled()
|
||||||
{
|
{
|
||||||
@@ -259,6 +262,9 @@ public class AuditModelRegistryImpl extends AbstractPropertyBackedBean implement
|
|||||||
return value == null || value.equalsIgnoreCase("true");
|
return value == null || value.equalsIgnoreCase("true");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritDoc}
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public boolean isAuditingToAuditStorageEnabled()
|
public boolean isAuditingToAuditStorageEnabled()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user