Update API
authorCharles du Jeu <charles.dujeu@gmail.com>
Thu, 23 Jul 2009 16:59:57 +0000 (16:59 +0000)
committerCharles du Jeu <charles.dujeu@gmail.com>
Thu, 23 Jul 2009 16:59:57 +0000 (16:59 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2742 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/SlcApi.js
server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/SlcExecLoggerApplet.js

index d076386b8e370baeb5cc48b6864d0815ad17c80a..48affdb5a85990f3ac5e192fd42748df73b247c1 100644 (file)
@@ -27,7 +27,7 @@ qx.Class.define("org.argeo.slc.ria.SlcApi",
        LIST_AGENTS_SERVICE : "listAgents.service",\r
        LIST_MODULES_SERVICE : "listModulesDescriptors.service",\r
        GET_EXECUTION_DESC_SERVICE : "getExecutionDescriptor.service",\r
-       REALIZED_FLOWS_SERVICE : "getRealizedFlows.service",\r
+       GET_SLC_EXECUTION_SERVICE : "getSlcExecution.service",\r
        RELOAD_BUNDLE_SERVICE : "reloadBundle.service",\r
        AMQ_SERVICE : "amq",\r
        \r
@@ -266,13 +266,13 @@ qx.Class.define("org.argeo.slc.ria.SlcApi",
                return req;\r
        },\r
        \r
-       getRealizedFlowsService :function(executionMessageId, fireReloadEventType, iLoadStatusables){\r
+       getSlcExecutionService :function(executionMessageId, fireReloadEventType, iLoadStatusables){\r
                var request = org.argeo.slc.ria.SlcApi.getServiceRequest(\r
-                       org.argeo.slc.ria.SlcApi.REALIZED_FLOWS_SERVICE,\r
+                       org.argeo.slc.ria.SlcApi.GET_SLC_EXECUTION_SERVICE,\r
                        fireReloadEventType,\r
                        iLoadStatusables\r
                );\r
-               request.setParameter("executionMessageId", executionMessageId);\r
+               request.setParameter("uuid", executionMessageId);\r
                return request;\r
        },\r
        \r
index f79a41bf979191d1575be4d54154f4ac6e6c35ab..be6561ef2cd2daea48990acfbaad2341ad16d501 100644 (file)
@@ -137,7 +137,7 @@ qx.Class.define("org.argeo.slc.ria.SlcExecLoggerApplet",
                }\r
                \r
                // 3. Call service to load execution message\r
-               var req = org.argeo.slc.ria.SlcApi.getRealizedFlowsService(uuid);\r
+               var req = org.argeo.slc.ria.SlcApi.getSlcExecutionService(uuid);\r
                var handler = function(xmlDoc){                 \r
                        var realizedFlows = org.argeo.ria.util.Element.selectNodes(xmlDoc, "slc:slc-execution/realized-flows/slc:realized-flow");\r
                        for(var i=0;i<realizedFlows.length;i++){\r