mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge pull request #1154 from Alfresco/feature/APPS-37_DeclareAndFileAsRecordUI
APPS-37: Declare And File record UI
This commit is contained in:
@@ -41,7 +41,7 @@ public class RuleDefinition
|
||||
private boolean runInBackground = false;
|
||||
private String ruleType = ConditionsOnRule.ADDED.getWhenConditionValue();
|
||||
private String path;
|
||||
private boolean createRecordPath = false;
|
||||
private Boolean createRecordPath;
|
||||
private String contentTitle;
|
||||
private String contentDescription;
|
||||
private String rejectReason;
|
||||
@@ -145,7 +145,7 @@ public class RuleDefinition
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isCreateRecordPath()
|
||||
public Boolean getCreateRecordPath()
|
||||
{
|
||||
return createRecordPath;
|
||||
}
|
||||
|
@@ -257,7 +257,10 @@ public class RulesAPI extends BaseAPI
|
||||
JSONObject parameters = new JSONObject();
|
||||
if (ruleProperties.getPath() != null)
|
||||
{
|
||||
parameters.put("createRecordPath", ruleProperties.isCreateRecordPath());
|
||||
if(ruleProperties.getCreateRecordPath() != null)
|
||||
{
|
||||
parameters.put("createRecordPath", ruleProperties.getCreateRecordPath());
|
||||
}
|
||||
parameters.put("path", ruleProperties.getPath());
|
||||
}
|
||||
if (ruleProperties.getContentTitle() != null)
|
||||
|
@@ -46,12 +46,13 @@ isRecordType.description=Records have a specified record type
|
||||
#
|
||||
# i18n for Records Management Actions
|
||||
#
|
||||
# Declare As Record
|
||||
create-record.title=Declare as Record
|
||||
# File As Record
|
||||
create-record.title=File as Record
|
||||
create-record.description=Declares file as a record and optionally files it
|
||||
create-record.file-plan.display-label=File Plan
|
||||
create-record.hide-record.display-label=Hide Record
|
||||
create-record.path.display-label=Record Folder Location
|
||||
|
||||
# Declare As Version Record
|
||||
declare-as-version-record.title=Declare Version as Record
|
||||
declare-as-version-record.description=Declares this version of the file as a record and optionally files it
|
||||
|
Reference in New Issue
Block a user