mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge remote-tracking branch 'origin/feature/APPS-37_DeclareAndFileAsRecordUI' into feature/APPS-37_DeclareAndFileAsRecordUI
This commit is contained in:
@@ -41,7 +41,7 @@ public class RuleDefinition
|
|||||||
private boolean runInBackground = false;
|
private boolean runInBackground = false;
|
||||||
private String ruleType = ConditionsOnRule.ADDED.getWhenConditionValue();
|
private String ruleType = ConditionsOnRule.ADDED.getWhenConditionValue();
|
||||||
private String path;
|
private String path;
|
||||||
private boolean createRecordPath = false;
|
private Boolean createRecordPath;
|
||||||
private String contentTitle;
|
private String contentTitle;
|
||||||
private String contentDescription;
|
private String contentDescription;
|
||||||
private String rejectReason;
|
private String rejectReason;
|
||||||
@@ -145,7 +145,7 @@ public class RuleDefinition
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isCreateRecordPath()
|
public Boolean getCreateRecordPath()
|
||||||
{
|
{
|
||||||
return createRecordPath;
|
return createRecordPath;
|
||||||
}
|
}
|
||||||
|
@@ -257,7 +257,10 @@ public class RulesAPI extends BaseAPI
|
|||||||
JSONObject parameters = new JSONObject();
|
JSONObject parameters = new JSONObject();
|
||||||
if (ruleProperties.getPath() != null)
|
if (ruleProperties.getPath() != null)
|
||||||
{
|
{
|
||||||
parameters.put("createRecordPath", ruleProperties.isCreateRecordPath());
|
if(ruleProperties.getCreateRecordPath() != null)
|
||||||
|
{
|
||||||
|
parameters.put("createRecordPath", ruleProperties.getCreateRecordPath());
|
||||||
|
}
|
||||||
parameters.put("path", ruleProperties.getPath());
|
parameters.put("path", ruleProperties.getPath());
|
||||||
}
|
}
|
||||||
if (ruleProperties.getContentTitle() != null)
|
if (ruleProperties.getContentTitle() != null)
|
||||||
|
Reference in New Issue
Block a user