mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-489 (Import Data Set Site Dashlet)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@43116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<description>WebScript to get the list of available RM test data</description>
|
<description>WebScript to get the list of available RM test data</description>
|
||||||
<url>/api/rma/datasets?site={site?}&unloadedonly={unloadedonly?}</url>
|
<url>/api/rma/datasets?site={site?}&unloadedonly={unloadedonly?}</url>
|
||||||
<format default="json">argument</format>
|
<format default="json">argument</format>
|
||||||
<authentication>admin</authentication>
|
<authentication>user</authentication>
|
||||||
<transaction>required</transaction>
|
<transaction>required</transaction>
|
||||||
<lifecycle>internal</lifecycle>
|
<lifecycle>internal</lifecycle>
|
||||||
</webscript>
|
</webscript>
|
@@ -86,11 +86,11 @@ public class DataSetsGet extends DeclarativeWebScript
|
|||||||
|
|
||||||
// Data set details
|
// Data set details
|
||||||
String dataSetId = value.getId();
|
String dataSetId = value.getId();
|
||||||
Boolean isLoaded = new Boolean(dataSetService.isLoadedDataSet(filePlan, dataSetId));
|
String isLoaded = String.valueOf(dataSetService.isLoadedDataSet(filePlan, dataSetId));
|
||||||
|
|
||||||
dataSet.put("label", value.getLabel());
|
dataSet.put("label", value.getLabel());
|
||||||
dataSet.put("id", dataSetId);
|
dataSet.put("id", dataSetId);
|
||||||
dataSet.put("isLoaded", isLoaded.toString());
|
dataSet.put("isLoaded", isLoaded);
|
||||||
|
|
||||||
// Add data set to the list
|
// Add data set to the list
|
||||||
dataSetList.add(dataSet);
|
dataSetList.add(dataSet);
|
||||||
|
Reference in New Issue
Block a user