GET_RESULT_SERVICE : "getResult.service",\r
LIST_SLCEXEC_SERVICE : "listSlcExecutions.service",\r
\r
- LIST_AGENTS_SERVICE : "listAgents.service", \r
+ LIST_AGENTS_SERVICE : "listAgents.service",\r
+ LIST_MODULES_SERVICE : "listModulesDescriptors.service",\r
+ GET_EXECUTION_DESC_SERVICE : "getExecutionDescriptor.service",\r
AMQ_SERVICE : "amq",\r
\r
/**\r
iLoadStatusables\r
);\r
},\r
+\r
+ /**\r
+ * Load the module descriptors\r
+ * @param fireReloadEventType {String} Event type to trigger (optionnal)\r
+ * @param iLoadStatusables {org.argeo.ria.components.ILoadStatusables[]} Gui parts to update \r
+ * @return {qx.io.remote.Request}\r
+ */\r
+ getListModulesService : function(fireReloadEventType, iLoadStatusables){\r
+ return org.argeo.slc.ria.SlcApi.getServiceRequest(\r
+ org.argeo.slc.ria.SlcApi.LIST_MODULES_SERVICE,\r
+ fireReloadEventType,\r
+ iLoadStatusables\r
+ );\r
+ },\r
+ \r
+ /**\r
+ * Get an execution module descriptor by its name and version\r
+ * @param moduleName {String} The name of the module to get\r
+ * @param moduleVersion {String} Its version, passed directly as a string\r
+ * @param fireReloadEventType {String} Event type to trigger (optionnal)\r
+ * @param iLoadStatusables {org.argeo.ria.components.ILoadStatusables[]} Gui parts to update \r
+ * @return {qx.io.remote.Request}\r
+ */\r
+ getLoadExecutionDescriptorService : function(moduleName, moduleVersion, fireReloadEventType, iLoadStatusables){\r
+ var req = org.argeo.slc.ria.SlcApi.getServiceRequest(\r
+ org.argeo.slc.ria.SlcApi.GET_EXECUTION_DESC_SERVICE,\r
+ fireReloadEventType,\r
+ iLoadStatusables\r
+ ); \r
+ req.setParameter("moduleName", moduleName);\r
+ req.setParameter("version", moduleVersion);\r
+ return req;\r
+ },\r
\r
/**\r
* Send a JMS message to the AMQ_CONTEXT\r