mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALF-4106 AuditService REST API: Added 'dataTrigger' to 'RecordValue'
- Prevents RecordValue elements from activating unnecessarily - Without any entries, everything behaves as before i.e. 'RecordValue' triggers on data entries at the current path git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -37,7 +37,7 @@ public abstract class AbstractAuditWebScript extends DeclarativeWebScript
|
||||
{
|
||||
public static final String PARAM_APPLICATION = "application";
|
||||
public static final String PARAM_PATH="path";
|
||||
public static final String PARAM_ENABLED = "enabled";
|
||||
public static final String PARAM_ENABLE = "enable";
|
||||
public static final String PARAM_VALUE = "value";
|
||||
public static final String PARAM_VALUE_TYPE = "valueType";
|
||||
public static final String PARAM_FROM_TIME = "fromTime";
|
||||
@@ -138,7 +138,7 @@ public abstract class AbstractAuditWebScript extends DeclarativeWebScript
|
||||
|
||||
protected boolean getParamEnableDisable(WebScriptRequest req)
|
||||
{
|
||||
String enableStr = req.getParameter(PARAM_ENABLED);
|
||||
String enableStr = req.getParameter(PARAM_ENABLE);
|
||||
return Boolean.parseBoolean(enableStr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user